vmac problem on centos 6.5
Dmitry Melekhov <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello!
Yesterday I tried to switch my two linux routers to use vmac.
Both of them runs centos 6.5 , master is x86-64 and backup is x86.
I compiled and installed keepalived 1.2.13, did some preparations like
#for vrrp mac_vlan
net.ipv4.conf.all.arp_ignore = 1
net.ipv4.conf.all.arp_announce = 1
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.eth1.arp_filter = 1
Here is config from one master:
global_defs {
router_id u304-vpn
}
vrrp_instance VI_1 {
state MASTER
interface eth1
virtual_router_id 1
use_vmac
priority 240
advert_int 1
authentication {
auth_type PASS
auth_pass pass
}
virtual_ipaddress {
192.168.26.1/24
}
notify_master "/usr/local/bin/vmac_tweak.sh"
}
and of slave
global_defs {
router_id u304-vpn
}
vrrp_instance VI_1 {
state MASTER
interface eth1
virtual_router_id 1
use_vmac
priority 240
advert_int 1
authentication {
auth_type PASS
auth_pass pass
}
virtual_ipaddress {
192.168.26.1/24
}
notify_master "/usr/local/bin/vmac_tweak.sh"
}
vrrp address is 192.168.26.1
master is 192.168.26.3
backup is 192.168.26.2
And I successefully use this config without vmac.
So, after keepalived restart I got vrrp.1 interface on both servers,
and mac address of 192.168.26.1 on clients ( tested another linux server
and cisco catalyst) is address of this vrrp.1.
But not for long, after several minutes it becomes mac address of backup
server physical interface, I tried this 3 times and always get the same
result.
Could you tell me what can be wrong?
Thank you!
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft