LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 12-17-2008, 03:49 PM   #1
iostreamproductions
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Rep: Reputation: 0
Cant ping red hat by computer name


So I setup a mini network at work. it involves 3 windows machines and 1 red hat enterprise 4 edition of linux.

All of them are virtualized on the SAME system using VMware. All of the windows systems are networked together and can talk with one another, but then again, they are in a private network of their own.

the Red Hat system has full access to the internet and can get on the internet just fine. the RH system can ping other systems on the network at work. including the laptop that i work from.

little side note: all the computers at work currently reside on the same domain.

the thing is. i can ping the red hat system from my laptop but only by IP. everyone else i can ping by name, the red hat system can ping everyone by name, but nothing can ping the red hat system by name. only by IP.

the system's name is rhws4-x64-vm and its IP is 192.68.181.37

here is some results

(from windows machine that is on the domain dlogics.com)
ping 192.68.181.37 - works just fine
ping rhws4-x64-vm - times out no response
ping rhws4-x64-vm.dlogics.com - automatically says it cant be found

(from the red hat system which is on dlogics.com)
ping dev-backup-lap - works fine
ping by IP - works fine

and once again the red hat system CAN get on the internet without a problem.

any help would be appreciated.
 
Old 12-17-2008, 03:51 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,105

Rep: Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720Reputation: 2720
Quote:
Originally Posted by iostreamproductions View Post
So I setup a mini network at work. it involves 3 windows machines and 1 red hat enterprise 4 edition of linux.

All of them are virtualized on the SAME system using VMware. All of the windows systems are networked together and can talk with one another, but then again, they are in a private network of their own.

the Red Hat system has full access to the internet and can get on the internet just fine. the RH system can ping other systems on the network at work. including the laptop that i work from.

little side note: all the computers at work currently reside on the same domain.

the thing is. i can ping the red hat system from my laptop but only by IP. everyone else i can ping by name, the red hat system can ping everyone by name, but nothing can ping the red hat system by name. only by IP.

the system's name is rhws4-x64-vm and its IP is 192.68.181.37

here is some results

(from windows machine that is on the domain dlogics.com)
ping 192.68.181.37 - works just fine
ping rhws4-x64-vm - times out no response
ping rhws4-x64-vm.dlogics.com - automatically says it cant be found

(from the red hat system which is on dlogics.com)
ping dev-backup-lap - works fine
ping by IP - works fine

and once again the red hat system CAN get on the internet without a problem.

any help would be appreciated.
Either your systems aren't set up in DNS, or you have a problem in your /etc/resolv.conf, telling Linux where to get DNS info from. Check that file, and see if your DNS stuff is correct.

A quick-fix solution would be to add your Windows boxes names/addresses to the /etc/hosts file.
 
Old 12-17-2008, 04:36 PM   #3
iostreamproductions
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
i checked the resolv.conf file earlier and the info in it was the same DNS info that is found on the windows systems. i cant put computer names into the red hat system because this is a company and the red hat system needs to be talked to by multiple computers. not just mine.

i would like to do it that way but it wont work in this situation

what kind of data should i gather and post here?
 
Old 12-17-2008, 04:45 PM   #4
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 302
Blog Entries: 1

Rep: Reputation: 34
in windows,the hosts file is located in
c:\windows\system32\drivers\etc\
where c: is your main where window resides.
 
Old 12-17-2008, 04:53 PM   #5
iostreamproductions
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
lets assume its a DNS problem. what files/info should i post to figure out where the problem lies?
 
Old 12-17-2008, 06:11 PM   #6
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
From the Red Hat box:

$ dig rhws4-x64-vm.dlogics.com

From one of the Windows boxes:

> nslookup rhws4-x64-vm.dlogics.com

Last edited by anomie; 12-17-2008 at 06:15 PM. Reason: removed my confusing example.
 
Old 12-18-2008, 09:19 AM   #7
iostreamproductions
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
i entered the info for the red hat host name in a different panel of the netwrok configuration and i restarted the NIC. it worked so my question is now closed. thanks to all who helped
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My Computer in Red Hat-9 GEJOE DANIEL Linux - Software 7 01-27-2006 02:09 AM
Red Hat - Browser does not fetch website but ping works learningkid Red Hat 3 09-13-2004 12:34 AM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 05:57 AM
red hat for an old computer SMB3Master Red Hat 9 10-18-2003 10:07 PM
Red Hat for old computer jrpretz Linux - Distributions 3 07-26-2003 12:49 AM


All times are GMT -5. The time now is 11:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration