From mboxrd@z Thu Jan 1 00:00:00 1970 From: bert hubert Date: Fri, 21 Dec 2001 10:30:58 +0000 Subject: Re: [LARTC] adv. routing features not working? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Thu, Dec 20, 2001 at 04:23:54PM -0800, Ross Simpson wrote: > Your suggestions work great (with one minor change).. thank you! > But... I don't understand why. > > > ip rule add from 10.4.44.11 table speed > > ip rule add from 10.4.44.12 table lucent > > What context is the 'from' in? It seems to me that the linux box would > never see packets from either of those two addresses (.11 and .12). Maybe > to them, but not from them. This is *outgoing* routing! So in this case, 'from' looks at the source address. > > ip route add default via 10.4.44.1 dev eth0 table speed > > ip route add default via 10.4.44.1 dev eth0 table lucent > > I changed the gw on the speed entry to 10.4.44.2, which is correct for that > router. I was just testing to see if you were paying attention :-) > Thanks again for all the help.. Np. Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/