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 02:50:06PM -0800, Ross Simpson wrote:
> Hello,
> 
> I posted here a couple of weeks ago with problems trying to specify and use
> multiple gateways.
> 
> Got lots of good advise, but I had a little OS trouble.
> So I've finally upgraded to 2.4.9, and made sure that the correct options
> are compiled in (adv. router, policy routing, etc.)

Can you draw a picture of your situation, and where exactly you entered
the commands you show?

> IP to forward to).  I would like incoming requests to be serviced, and then
> returned on the gateway it came in on.  10.4.44.1 is currently the default
> gw, and all packets coming in are leaving via it.  10.4.44.2 is the other
> router.
> 10.4.44.11 and .12 are the two IPs (one virtual) for the linux box.
> 
> I added the rule:
> 	ip rule add to 10.4.44.11/24 dev eth0 table speed

I think you should change 'to' to 'from'.

If that doesn't help, check the mac address of packets! A packet that is
routed is only sent to a mac address, the destination IP address isn't
changed!

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