Subject: Re: question about CARP
To: George Chen <georgechen2101@msn.com>
From: Liam J. Foy <liamfoy@sepulcrum.org>
List: tech-kern
Date: 05/11/2006 09:59:08
On 11 May 2006, at 05:07, George Chen wrote:

>
> Sorry, there are so many lines.:)
> When I bring down carp0 on fw2 by 'ifconfig carp0 down', carp0 on fw1
> becomes MASTER, but carp1 on both sides remains unchanged.
>
> Sorry I didn't sync to head version, didn't use your patch neither.  
> Instead
> I checked your patch. My opinion is that this is a design bug. The  
> reason is
> that there is no mechanism to transfer the message of one carp  
> going from
> backup to master to all other carps on the same firewall. Without the
> message, how can other carp react to it?
>
> What is my modification? There are bugs in arp balance, which also  
> exists in
> your patch. Additionally I'm making carp support for layer 2 HA and  
> bridge
> balance.

Just curious, what happens when you down the physically interface.  
EG, if the
carpdev for carp0 is 'rtk0' and carp1 is 'rtk1', what happens if you:

ifconfig rtk0 down ?

Cheers,
		---
		Liam J. Foy
		<liamjfoy@netbsd.org>
		<liamfoy@sepulcrum.org>
		BSDPortal.org