LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] keepalived removing all IPs

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] keepalived removing all IPs
From: Bgs <bgs@xxxxxx>
Date: Fri, 21 Mar 2008 12:24:27 +0100

  Greetings,

  I playing with keepalived to replace our current custom system, but 
have some problems. The main one is that whenever I stop keepalived, it 
removes all IPs from the outside interface and consequently it's default 
route as well. Adding additional non-keepalived handled IPs to the 
interface doesn't change a thing.
  Any ideas? Bug or config error?

The setup is a very simple one. Here are the main things (the auth part 
is not used yet as it's the only node atm):

vrrp_instance LB02_1 {
     state MASTER
     interface bond0
     virtual_router_id 51
     priority 100
     advert_int 1
     authentication {
         auth_type PASS
         auth_pass 1111
     }
     virtual_ipaddress {
        6 IPs are here
     }
}

The bond0 interface has an additional IP not on the above list. When I 
fire up keepalived, it adds the 6 VIPs. When I shut it down, it removes 
all 7 IPs on the interface and default gw is lost...


Regards
Bgs


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