Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 15:05:06 -0800
From:      Michael Jeung <mjeung@cisdata.net>
To:        freebsd-pf@freebsd.org
Subject:   CARP Partners
Message-ID:  <BCAE2CB5-2789-4F57-888F-EF3BC3CCFC85@cisdata.net>

next in thread | raw e-mail | index | archive | help
Hello all,

I'm trying to set up a CARP situation wherein two of my servers will  
back each other up via CARP.

Server1 has static IP address 10.0.0.1
Server2 has static IP address 10.0.0.2

I would like
Server1 to have a CARP address of 10.0.0.10
Server2 to have a CARP address of 10.0.0.20
In the event that Server1 dies, I want 10.0.0.10 to hop over to Server2
In the event that Server2 dies, I want 10.0.0.20 to hop over to Server1.

My /etc/rc.conf on Server1 looks like this:
cloned_interfaces="carp0 carp1"
ifconfig_carp0="vhid 10 pass carp10 10.0.0.10"
ifconfig_carp1="vhid 20 advskew 100 pass carp20 10.0.0.20"

My /etc/rc.conf on Server2 looks like this:
cloned_interfaces="carp0 carp1"
ifconfig_carp0="vhid 10  advskew 100 pass carp10 10.0.0.10"
ifconfig_carp1="vhid 20 pass carp20 10.0.0.20"

On both machines, net.inet.carp.preempt is set to 0.

Now, everything seems to be working exactly as it should --- except  
that my /var/log/messages is filling up with messages like this:

Nov 10 15:03:00 server2 kernel: carp_input: received len 20 < sizeof 
(struct carp_header)
Nov 10 15:03:31 server2 last message repeated 121 times
Nov 10 15:03:37 server2 last message repeated 278 times

Any suggestions?  Thanks!

Regards,
Michael Jeung




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BCAE2CB5-2789-4F57-888F-EF3BC3CCFC85>