Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-11-2005, 10:29 AM   #1
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
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=0 ttl=246 time=32.2 ms
64 bytes from icmp_seq=1 ttl=246 time=31.3 ms

--- 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
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=0 ttl=63 time=29.1 ms
64 bytes from icmp_seq=1 ttl=63 time=1.49 ms
64 bytes from icmp_seq=2 ttl=63 time=1.44 ms

# nslookup lab12

** server can't find lab12: NXDOMAIN

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface * U 0 0 0 eth0 * U 0 0 0 eth0
default UG 0 0 0 eth0
Old 10-11-2005, 10:50 AM   #2
LQ 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.


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 10:20 AM
FC4 won't ping or the internet, but will ping local computers jalsk Linux - Networking 4 11-22-2005 05:59 PM
Burnt discs, 1 machine says pass other fail 80g Fedora 5 06-24-2004 02:06 AM
Ping continues to fail after remote host recovers cahenesy Linux - Networking 7 04-19-2004 03: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 09:18 AM

All times are GMT -5. The time now is 08:53 AM.

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