Xin LI wrote: > It looks like that the following setup won't work properly: > > Box 1: > em0 = carp0/carp1 > em1 = carp2/carp3 > Where: > carp0 vhid 10 advbase 1 advskew 0, configured with 5 IPs with same > netmask with em0's address; > carp1 vhid 20 advbase 20 advskew 20, configured with 4 IPs with same > netmask with em0's address different from carp0; > > carp2 vhid 30 advbase 1 advskew 0, conigured with 1 IP with same > netmask of em1's address; > carp3 vhid 40 advbase 20 advskew 20, configured with 1 IP with same > netmask of em1's address, different from carp2; > > Box2: all same, execept carp 0 and carp 2 have advbase 20+advskew 20; > carp 1 and carp3 have advbase 1 + advskew 0. > > Problem: after a short while both box1 and box2 thinks they are "MASTER" > on all carp interfaces. > > Both boxes worked just fine with 7.2 kernel. > > Anybody have the same/similar problem? Preliminary tcpdump indicates > that the server does send/receive correct CARP multicasts. I'm not experiencing this problem. I have 2 servers: FreeBSD 8.0-CURRENT #14: Wed May 20 14:54:00 SAST 2009 FreeBSD 8.0-BETA1 #9: Tue Jul 14 09:32:43 SAST 2009 Each with 18 carp interfaces. I however don't set advbase. Here's a sample from my rc.conf: Host1: ifconfig_vlan27="vlandev lagg0 vlan 27" ifconfig_vlan27_alias0="x.x.x.34/28" ifconfig_carp27="vhid 20 advskew 100 pass e0ed5b9b7d48dbe3fc97c7a42f07ed73" ifconfig_carp27_alias0="x.x.x.33/28" Host2: ifconfig_vlan27="vlandev lagg0 vlan 27" ifconfig_vlan27_alias0="x.x.x.35/28" ifconfig_carp27="vhid 20 advskew 250 pass e0ed5b9b7d48dbe3fc97c7a42f07ed73" ifconfig_carp27_alias0="x.x.x.33/28" 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. Ian -- Ian FreislichReceived on Thu Jul 16 2009 - 08:30:08 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:52 UTC