LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 10-11-2005, 11:29 AM   #1
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
ping lab machine fail but internet ok


My FC3 machine cannot ping nor nslookup the lab machine lab12 (Red Hat Linux 3.3.3-7) fail but the FC3 machine can ping lab12's numerical IP addresses and can access internet successfully.
How to fix this problem?

# ping www.google.com
PING www.l.google.com (64.233.167.147) 56(84) bytes of data.
64 bytes from 64.233.167.147: icmp_seq=0 ttl=246 time=32.2 ms
64 bytes from 64.233.167.147: icmp_seq=1 ttl=246 time=31.3 ms

--- www.l.google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 31.303/31.769/32.235/0.466 ms, pipe 2

# ping lab12
ping: unknown host lab12

# ping 172.29.1.101
PING 172.29.1.101 (172.29.1.101) 56(84) bytes of data.
64 bytes from 172.29.1.101: icmp_seq=0 ttl=63 time=29.1 ms
64 bytes from 172.29.1.101: icmp_seq=1 ttl=63 time=1.49 ms
64 bytes from 172.29.1.101: icmp_seq=2 ttl=63 time=1.44 ms

# nslookup lab12
Server: 172.28.0.5
Address: 172.28.0.5#53

** server can't find lab12: NXDOMAIN

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.28.0.0 * 255.255.0.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 172.28.0.2 0.0.0.0 UG 0 0 0 eth0
 
Old 10-11-2005, 11:50 AM   #2
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Add lab12 to the fc3's /etc/hosts, or add lab12 to the dns server.
 
  


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
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 11:20 AM
FC4 won't ping 127.0.0.1 or the internet, but will ping local computers jalsk Linux - Networking 4 11-22-2005 06:59 PM
Burnt discs, 1 machine says pass other fail 80g Fedora 5 06-24-2004 03:06 AM
Ping continues to fail after remote host recovers cahenesy Linux - Networking 7 04-19-2004 04:16 PM
Can ping network but can't ping any internet ip when I hard set the ip Streme Linux - Wireless Networking 4 04-13-2004 10:18 AM


All times are GMT -5. The time now is 10:36 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