[4166] in linux-net channel archive
2 NIC's in linux
daemon@ATHENA.MIT.EDU (Andrew J. Saunders)
Fri Aug 23 19:19:40 1996
From: "Andrew J. Saunders" <ajsaunders@[172.16.100.2]>
To: Linux-net@vger.rutgers.edu
Date: Fri, 23 Aug 1996 17:43:35 +5
Hello All:
I have picked up a lot of good information from this list, and now
find myself needing some advice.
I started out with a single NIC in the Linux that was connected to a
Cisco 4500 router that was pointed to our ISP via frame relay.
Things have worked fine. Our class C address was 206.110.16.X
numbers changed to protect the innocent ;-)
I have now installed a second card, and assigned it a reserved
address of 172.16.120.3 for our internal network.
I typed the commands:
ifconfig eth0 whq-if1 (defined in /etc/hosts)
ifconfig eth1 whq-if2 (defined in /etc/hosts
route add inter-net (defined in /etc/networks)
route add intra-net (defined in /etc/networks)
route add default gw 206.110.16.17 (Cisco 4500 router E0 port)
Now, from the Linux terminal, I can go anywhere I want, cruise the
internet, send mail, etc. However, from my PC on network
172.XX.XX.XX, I can ping the 172.XX.XX.XX card, and the 206.110.XX.XX
card, but I can't ping the router on 206.110.16.17, and therefore I
can't get to the internet. My routing table is as follows:
WHQ:/# netstat -nr
Kernel routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
206.110.16.0 0.0.0.0 255.255.255.0 U 0 0 56 eth0
172.16.0.0 0.0.0.0 255.255.0.0 U 0 0 737 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 12 lo
0.0.0.0 206.110.16.17 0.0.0.0 U 0 0 4220 eth0
WHQ:/#
I thought it was a configuration problem on my Cisco router, and my
router vendor says it's a problem with the Linux box because it is
not as intelligent as his Cisco router, and he would like to sell me
another one. But if it is a problem with the linux box routing, then
I should not be able to ping the 206 network because it is on another
card. But I can. Hmm
Any help would be greatly appreciated.
You can e-mail me direct if you like: ajsaunders@duriron.com
Thanks in advance,
Andy