[ILUG] IP Routing using RedHat 6.1

From: Robert Sweetnam (sweetr at domain indigo.ie)
Date: Wed 20 Oct 1999 - 11:19:46 IST


Hi All,

Im having problems with IP routing between Token Ring and Ethernet on a
RedHat 6.1 machine.
My routing table is at the end of this mail if anyone could see anything
wrong with it (apart from there being to much stuff there) could you point
it it out for me? There are two NICs in the PC. One Token Ring and One
Ethernet.
The ethernet has an IP of 170.197.24.50 on device eth0
The TokenRing has an IP of 10.110.50.1 on device tr0
I also have a workstation on the Token Ring lan that can ping both IP
address of the multihomed RedHat machine (both Token Ring and Ethernet) but
it cannot ping further than the ethernet of the Linux Router.
If I manually add the following route to my laptop (NT 4.0) :

route add 10.110.50.0 MASK 255.255.255.0 170.197.24.50

it will happily ping any address that is on the Token Ring LAN. this
approach doesnt work for the workstation
on the token ring LAN to ping, say for example my laptop. using the
command:

route add 170.197.24.0 MASK 255.255.254.0 10.110.50.1

Im missing something but does anyone know what it could be????

<RedHat Machines Route Table>

Output of command: /sbin/route -n
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric Ref Use Iface
 10.110.50.1 0.0.0.0 255.255.255.255 UH 0 0 0 tr0
 10.110.50.1 170.197.24.50 255.255.255.255 UGH 0 0 0 eth0
 170.197.24.50 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
 10.110.50.0 10.110.50.1 255.255.255.0 UG 0 0 0 tr0
 10.110.50.0 170.197.24.50 255.255.255.0 UG 0 0 0 eth0
 10.110.50.0 10.110.50.1 255.255.255.0 UG 0 0 0 eth0
 10.110.50.0 0.0.0.0 255.255.255.0 U 0 0 0 tr0
 170.197.0.0 170.197.24.50 255.255.254.0 UG 0 0 0 eth0
 170.197.24.0 170.197.24.50 255.255.254.0 UG 0 0 0 eth0
 170.197.24.0 0.0.0.0 255.255.254.0 U 0 0 0 eth0
 170.197.0.0 170.197.24.50 255.255.0.0 UG 0 0 0 eth0
 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
 0.0.0.0 170.197.24.1 0.0.0.0 UG 0 0 0 eth0

</RedHat Machines Route Table>
Thanks for any help.
Regards
Robert



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:45 GMT