Re: [LARTC] adv. routing features not working?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux