CARP broken on -CURRENT?
Xin LI
delphij at delphij.net
Thu Jul 16 18:46:45 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ian FREISLICH wrote:
[...]
> I have noticed that if there are multiple IP addresses on the carp
> interface and these are configured in a different order on each
> host, the you can expect messages like the following:
>
> Jun 9 23:56:29 firewall2 kernel: carp15: incorrect hash
> Jun 9 23:56:30 firewall2 kernel: carp15: incorrect hash
> Jun 9 23:56:31 firewall2 kernel: carp15: incorrect hash
> Jun 9 23:56:32 firewall2 kernel: carp15: incorrect hash
>
> And both hosts will claim MASTER status.
This reminded me... I've set net.inet.carp.log=2 now but except some
bad CARP packets on the outside (12.xxx.xxx.112/28) network due to VRRP
router, I didn't saw any complain about incorrect hash. Are you using
"pass" parameter when setting up CARP?
On server 1:
carp0: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 12.xxx.xxx.116 netmask 0xfffffff0
inet 12.xxx.xxx.120 netmask 0xfffffff0
inet 12.xxx.xxx.122 netmask 0xfffffff0
inet 12.xxx.xxx.124 netmask 0xfffffff0
inet 12.xxx.xxx.126 netmask 0xfffffff0
carp: MASTER vhid 10 advbase 1 advskew 0
carp1: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 12.xxx.xxx.119 netmask 0xfffffff0
inet 12.xxx.xxx.121 netmask 0xfffffff0
inet 12.xxx.xxx.123 netmask 0xfffffff0
inet 12.xxx.xxx.125 netmask 0xfffffff0
carp: MASTER vhid 20 advbase 20 advskew 20
carp2: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 10.255.0.4 netmask 0xfffffe00
carp: MASTER vhid 30 advbase 1 advskew 0
carp3: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 10.255.0.3 netmask 0xfffffe00
carp: MASTER vhid 40 advbase 20 advskew 20
On server 2:
carp0: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 12.xxx.xxx.116 netmask 0xfffffff0
inet 12.xxx.xxx.120 netmask 0xfffffff0
inet 12.xxx.xxx.122 netmask 0xfffffff0
inet 12.xxx.xxx.124 netmask 0xfffffff0
inet 12.xxx.xxx.126 netmask 0xfffffff0
carp: MASTER vhid 10 advbase 20 advskew 20
carp1: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 12.xxx.xxx.119 netmask 0xfffffff0
inet 12.xxx.xxx.121 netmask 0xfffffff0
inet 12.xxx.xxx.123 netmask 0xfffffff0
inet 12.xxx.xxx.125 netmask 0xfffffff0
carp: MASTER vhid 20 advbase 1 advskew 0
carp2: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 10.255.0.4 netmask 0xfffffe00
carp: MASTER vhid 30 advbase 20 advskew 20
carp3: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 10.255.0.3 netmask 0xfffffe00
carp: MASTER vhid 40 advbase 1 advskew 0
Cheers,
- --
Xin LI <delphij at delphij.net> http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)
iEYEARECAAYFAkpfdT8ACgkQi+vbBBjt66Cp2gCfVv/3J10SY0XmbwZYLW76sg4I
9XEAnRiMe4kQYOq68nOhZWvVhOTK2rtc
=VTWT
-----END PGP SIGNATURE-----
More information about the freebsd-current
mailing list