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

and my tracepath:
Tracing route to 10.32.16.160 over a maximum of 30 hops
  1    <1 ms    <1 ms    <1 ms  10.32.3.51
  2     4 ms     3 ms     3 ms  10.32.101.4
  3     5 ms     3 ms     3 ms  10.32.16.160

What must i do to change this?

TIA
Patrick
-- 
gentoo-user@gentoo.org mailing list

Reply via email to