Visit Jeremy's Blog.
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 05-04-2001, 03:03 AM   #1
LQ Newbie
Registered: May 2001
Posts: 2

Rep: Reputation: 0


l just setup a linux machine running RH 7.0 and l assigned a fix IP to it. Some how it is unable to reach the default gateway. When l do a tcpdump when pinging to the default gateway, l got the following result

eth0 > arp who-has tell (......
eth0 > arp who-has tell (......
eth0 > arp who-has tell (......
lo > > icmp: host unreachable [tos 0xc0]
lo > > icmp: host unreachable [tos 0xc0]
lo > > icmp: host unreachable [tos 0xc0]
lo > > icmp: host unreachable [tos 0xc0]
lo > > icmp: host unreachable [tos 0xc0]

After getting this result, l remove the loopback address from the routing table and do a ping again. l still get the same result. Any idea what is the step that l miss out?

l have remove all the rules in ipchains so should not be a problem with the firewall.

T H Tan

Old 05-04-2001, 05:05 AM   #2
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
supply this info and I can tell you what's wrong:
as root:

(1)# ifconfig -a
(2)# route
(3)# cat /etc/hosts
(4)# cat /proc/sys/net/ipv4/ip_forward

Don't remove loopback from the router table it's needed.
have you added the default route to the FIB table.

# route add default gw eth0

Old 05-04-2001, 12:18 PM   #3
LQ Newbie
Registered: May 2001
Posts: 2

Original Poster
Rep: Reputation: 0


Found out that the PC has a another NIC card which l fail to notice and all the while l was connected to the wrong NIC card..... :-( This is the reason for no network connectivity. l actually add in the default route and did everything l suppose to do except checking the physical connection, l did change a UTP cable, network port etc but did not check for dual NIC cards.......

Thanks a lot for spending time reading and giving the suggestion.

T H Tan


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
network connection Ammad Linux - General 1 09-11-2005 02:07 PM
Network connection on Suse 9.1 elliott6 Linux - Newbie 3 02-16-2005 12:18 PM
Network Connection InsaneBob Linux - Software 2 08-30-2003 07:26 PM
permissions for a network connection? Pcghost Linux - General 3 04-14-2003 12:41 PM
Network Connection Lucsi Linux - Newbie 1 07-15-2002 07:16 AM > Forums > Linux Forums > Linux - Networking

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