Solved

DSN - Not resloving all computers on the network

Posted on 2004-09-16
3
192 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now