Error when both tracked interfaces go down & then up
Alex Simenduev <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <CANBV5-srG2uy76E_V4uFRbDFwN7ZU3YBkm83iSApUkEPN9bMYA@mail.gmail.com> |
If monitored interface(s) on both servers goes down and then up, keepalived
is not bringing up the Virtual IP and just stuck with the error:
Keepalived_vrrp[18056]: cant do IP_DROP_MEMBERSHIP errno=Cannot assign
requested address (99)
In order to make it work again, only restarting the service is helping.
What can be the issue?
- I'm using unicast_peer.
- I'm using version 1.2.10 on CentOS 6.5 64-bit
- I also use net.ipv4.ip_nonlocal_bind = 1 in my sysctl.conf
Here is the config I'm using
! secondary
vrrp_instance LB_1 {
interface eth0
virtual_router_id 122
priority 101
track_interface {
! this is private lan interface
bond0
}
virtual_ipaddress {
x.x.x.10/27 dev eth0
}
unicast_peer {
10.0.0.122
10.0.0.123
}
}
! primary
vrrp_instance LB_2 {
interface eth0
virtual_router_id 123
priority 100
track_interface {
! this is private lan interface
bond0
}
virtual_ipaddress {
x.x.x.20/27 dev eth0
}
unicast_peer {
10.0.0.122
10.0.0.123
}
}
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel