LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: doing both NAT and DR, I need help.

To: Julian Anastasov <ja@xxxxxx>
Subject: Re: doing both NAT and DR, I need help.
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: tc lewis <tcl@xxxxxxxxx>
Date: Sun, 12 Nov 2000 08:21:06 -0500 (EST)
>       Additional settings for your setup:
> 
>       Settings for the real server(s):
> 
> ip rule add prio 100 from 10.100.50.0/24 table 100
> ip route add table 100 0/0 via 10.100.50.249 dev eth0

sorry to bring this up again.

this stuff works like a champ.  thanks for turning me on to it.  is there
a special place that policy routing settings should go typically?
/etc/iproute2/rt_tables seems to be a special file of sorts, but i don't
seem to have one and can't locate documentation on its format.  or is
stuffing commands in rc.local just going to have to do?

also, the ip rule addition i can see in ip rule show afterwards, but i
don't see any differences in ip route show after the route addition.
anything i might be missing there?  no biggie--it appears to work anyway.

thanks a ton for your suggestions.  now my incoming and outgoing mail will
work harmoniously!

-tcl.



<Prev in Thread] Current Thread [Next in Thread>