LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-04-2001, 02:03 AM   #1
tohhwee
LQ Newbie
 
Registered: May 2001
Posts: 2

Rep: Reputation: 0
Question


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



 
Old 05-04-2001, 04:05 AM   #2
raz
Member
 
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.

i.e
# route add default gw 202.136.14.1 eth0

/Raz
 
Old 05-04-2001, 11:18 AM   #3
tohhwee
LQ Newbie
 
Registered: May 2001
Posts: 2

Original Poster
Rep: Reputation: 0
Smile

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
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:37 AM.

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
Open Source Consulting | Domain Registration