Solved

DSN - Not resloving all computers on the network

Posted on 2004-09-16
3
204 Views
Last Modified: 2010-03-18
We just got 2 Dell servers with Redhat Enterprise Edition 3 on them, and they will be used as database servers when we switch to a new Oracle Database.  We have started doing some preliminary setup (Internet, Samba (for moving files to it), etc).  We set the DNS to point to our DNS server and it seemed to be working right until we tried to add a network printer.  

For some reason the linux box can "see" the other computers on the same subnet as itself, but can not find the computers on our other subnets.  I am a linux newbie and really need some assistance, but for the sake of my untrained mind, please try to explain things to me in simple terms.

by the way all of our other servers, and machines are Windows based.  We also have a WINS server for some of our older boxes to use.
0
Comment
Question by:Intern
3 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 12079705
Does the DNS have A records for those printers?

Are they in the same subdomain?

Is the default route set correctly?

What happens if you do 'host printername'?
0
 

Expert Comment

by:GRV_Consulting
ID: 12080688
The network printer ... is it just a printer that you have shared from one of the PCs or does it have its own print server? One of the most common causes of strange problems that I see is that on most print servers there is a built in DHCP server which is turned on by default.
0
 
LVL 5

Accepted Solution

by:
Anonymouslemming earned 500 total points
ID: 12082342
Couple of questions. You say the the Linux servers can 'see' machines in the same subnet. Do you mean you can resolve hostnames for these machines, or you can actually reach them with ping, traceroute, etc.

Can you resolve the host names of the printers? To test this, do the following from the prompt:
/usr/bin/host <printername>
where <printername> is the FQDN of your printer (host.domain)

If that doesn't work, you should check that you can resolve other hosts in your domain that the Linux machines can 'see'.

The next thing to check is your default route. You will need a route for traffic to get from one subnet to another. To check this, run the following at a prompt :
/bin/netstat -rn | grep "^0.0.0.0"

You should get something like the following back:
0.0.0.0     10.xxx.xxx.xxx    0.0.0.0    UG   0 0     0 ethx

Where I have put 10.xxx.xxx.xxx, you should see the value for your default gateway.

HTH
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question