On Friday 10 June 2005 09:19, Patrick Marquetecken wrote: > Hi, > > I'm having a bit trouble to get one computer force to use another route. > > this are the commands i'm using to create routes > route add -net 10.32.16.0 netmask 255.255.255.0 gateway 10.32.101.4 dev > tun1 route add -host 10.32.16.160 gateway 10.32.101.2 dev tun0 > > The routes on my gentoo router are: > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface 10.32.101.4 0.0.0.0 255.255.255.255 UH 0 0 > 0 tun1 10.32.101.2 0.0.0.0 255.255.255.255 UH 0 0 > 0 tun0 10.32.16.160 10.32.101.2 255.255.255.255 UGH 0 0 > 0 tun0 10.32.100.0 0.0.0.0 255.255.255.240 U 0 0 > 0 eth1 10.32.26.0 10.32.100.2 255.255.255.0 UG 0 0 > 0 eth1 10.32.16.0 10.32.101.4 255.255.255.0 UG 0 0 > 0 tun1 10.32.16.0 10.32.100.2 255.255.255.0 UG 0 0 > 0 eth1 10.32.0.0 0.0.0.0 255.255.252.0 U 0 0 > 0 eth0 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 > 0 0 lo > Wow, that's an interesting route table. Off the bat, I'd say that the duplicate entries for the 10.32.16.0/32 are causing you grief here. It also looks like you have a typo in your second entry (if your above statement was correct) in the third quad of your gateway in this entry: 10.32.16.0/32 --> 10.32.100.2. Also that entry is set for eth1 and if that's a tunnel it should be set for tun{x} iirc. I'm not going to comment on the rest of the table as I don't know the whole story ;)
--James -- --This Message Powered by Linux-- --Registered Linux User #227032-- -- gentoo-user@gentoo.org mailing list