Christian Lox wrote:
> My problem is that all machines are in the same public adress-range
> (192.168.10.0/24).
> If I run rc.lvs_nat on the director everything seems fine,but if I
> run it an the realservers I get the following output:
> error: the path to the director's default gw does not go through the
> director.
the default gw for the real-servers needs to be the director. (I presume
you have this already).
The next problem is that because you have only one network, icmp
redirects changed the default gw for the real-servers to be the director's gw
giving you the above error.
The HOWTO says you can't set up a VS-NAT on one network. This
is not true now.
On the director do this before you run your rc.lvs_nat script.
echo 0 > /proc/sys/net/ipv4/conf/all/send_redirects
echo 0 > /proc/sys/net/ipv4/conf/default/send_redirects
echo 0 > /proc/sys/net/ipv4/conf/eth0/send_redirects
(this will be in the next version of the configure script).
when you've run rc.lvs_nat, cat those files to make sure that the
values are still correct.
If you have a setup that has already sent a round of icmp redirects,
you're going to have to expire or flush the effects of the redirects
before it will work with the new setup. I don't know how to force this.
Just try it and hope they've expired. If the redirects have expired,
you won't get the error message.
Just for my info, please let me know if this works (or not).
thanks
Joe
--
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center,
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA
|