Hi,
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 202.136.14.1 tell 202.136.14.21 (...... eth0 > arp who-has 202.136.14.1 tell 202.136.14.21 (...... eth0 > arp who-has 202.136.14.1 tell 202.136.14.21 (...... lo > 202.136.14.21 > 202.136.14.21: icmp: host 202.136.14.1 unreachable [tos 0xc0] lo > 202.136.14.21 > 202.136.14.21: icmp: host 202.136.14.1 unreachable [tos 0xc0] lo > 202.136.14.21 > 202.136.14.21: icmp: host 202.136.14.1 unreachable [tos 0xc0] lo > 202.136.14.21 > 202.136.14.21: icmp: host 202.136.14.1 unreachable [tos 0xc0] lo > 202.136.14.21 > 202.136.14.21: icmp: host 202.136.14.1 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. Thanks T H Tan |
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. i.e # route add default gw 202.136.14.1 eth0 /Raz |
Hi,
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. Regards, T H Tan |
All times are GMT -5. The time now is 10:19 PM. |