I'm using CARP on FreeBSD 7.1-PRERELEASE.
And I have some common IP addresses on different vlan's.
I cant use carpdev option on FreeBSD, so, first, i have to appoint ip addresses to my vlan-interfaces.
Finally I have working version of CARP
HOST 1
HOST 2
But, dmesg of Host 1 is
similar, dmesg of host 2.
Is that normal? or i did something wrong?
Code:
sysctl net.inet.carp
net.inet.carp.allow: 1
net.inet.carp.preempt: 1
net.inet.carp.log: 1
net.inet.carp.arpbalance: 1
net.inet.carp.suppress_preempt: 0
I cant use carpdev option on FreeBSD, so, first, i have to appoint ip addresses to my vlan-interfaces.
Finally I have working version of CARP
HOST 1
Code:
ifconfig carp0
carp0: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 172.17.5.1 netmask 0xffffff00
carp: MASTER vhid 1 advbase 1 advskew 0
ifconfig carp1
carp1: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 172.17.5.1 netmask 0xffffff00
carp: BACKUP vhid 2 advbase 1 advskew 100
HOST 2
Code:
carp0: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 172.17.5.1 netmask 0xffffff00
carp: BACKUP vhid 1 advbase 1 advskew 100
carp1: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 172.17.5.1 netmask 0xffffff00
carp: MASTER vhid 2 advbase 1 advskew 0
But, dmesg of Host 1 is
Code:
arp: --------- is using my IP address 172.17.5.1 on vlan2!
Is that normal? or i did something wrong?