My little route only manage the range 172.16.16.0/24 and my public route only manages the range 213.250.143.240/28. I cannot add new rules because these routers are administer by other company and this company cannot colaborate me. Please can you help me, please? 聲gel -----Mensaje original----- De: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]En nombre de Stef Coene Enviado el: jueves, 24 de octubre de 2002 21:58 Para: 聲gel Carrasco; lartc@mailman.ds9a.nl Asunto: Re: NETWORK ROUTES On Thursday 24 October 2002 14:29, 聲gel Carrasco wrote: > Ok: > > My office network is: 172.16.16.0/24 and his IP is: 172.16.16.1. > My web network is: 172.16.8.0/24 and his IP is: 172.16.8.1 > My service network is: 172.16.4.0/24 and his IP is: 172.16.4.1 > My public network is:213.250.143.240/28 and his IP is: 213.250.143.242. > > The public router is 213.250.143.241 (and only works with the range > 213.250.143.240/28) > The office router is 172.16.16.254 (and only works with the range > 172.16.16.0/24) > > The static default route is 172.16.16.254 > > This is my route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 213.250.143.240 0.0.0.0 255.255.255.240 U 0 0 0 > eth0 172.16.4.0 0.0.0.0 255.255.255.0 U 0 0 > 0 eth1 172.16.16.0 0.0.0.0 255.255.255.0 U 0 0 > 0 eth3 172.16.8.0 0.0.0.0 255.255.255.0 U 0 0 > 0 eth2 0.0.0.0 172.16.16.254 0.0.0.0 UG 0 0 > 0 eth3 > > And my dinamic route to using the public network is: > ip rule add from 213.250.143.242 table publica > ip route add from default via 213.250.143.241 dev eth0 table publica > ip route flush cache > > > And the problem is when I try to use 213.250.143.242 in my internals > networks doesnt run because the information goes by 213.250.143.241 and not > in the normal routes. I suppose you pinged from on of your internal hosts to 213.250.143.242 ?? 213.250.143.242 is local, so no routing rule will route the packets to somewhere else. > > Can you help me, please? I'm not a rouing specialist, but shouldn't your default gateway be 213.250.143.24 ?? And I suppose you already enabled ip-forwarding? Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/