LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: The gateway IP

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: The gateway IP
From: Dominik Klein <dk@xxxxxxxxxxxxxxxx>
Date: Thu, 19 Jan 2006 09:29:24 +0100
        virtual_routes {
                src 172.16.50.70 to 0.0.0.0/0 via 172.16.50.1 dev eth0
        }

This line is passed to "ip route add|del" when becoming master|backup.
Assuming from your mail that you already have a default route in your
system, this will not work.
ip route will exit saying "RTNETLINK answers: File exists"

So you will have to "ip route del default dev eth0" before. I think this
could be done with the "notify_master" script.

Dominik

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