On Tue, May 25, 2004 at 10:37:49AM -0400, Joseph Mack wrote:
> Horms wrote:
> >
>
> > Actually you can get around needing a local interface
> > if you play some games with routing rules to deliver traffic locally.
>
> can you give an example (with iptables?)
I was thinking of something like what Matt wrote:
http://marc.theaimsgroup.com/?l=linux-virtual-server&m=104265930914084&w=2
ip rule add prio 100 fwmark 1 table 100
ip route add local 0/0 dev lo table 100
or perhaps
VIP=10.0.0.1/32
ip rule add prio 100 to $VIP table 100
ip route add local 0/0 dev lo table 100
But I haven't tested either much.
There is an oblique reference to this on
http://www.linuxvirtualserver.org/docs/arp.html
--
Horms
|