Marco,

Thank you very much for you quick answer.
I indeed had the feeling it was not really useful anymore (as the
group demotion system is taking care of it) and probably deprecated. I
guess I should have checked the latest man page :)

Regards,
William

2010/4/13 Marco Pfatschbacher <m...@mailq.de>:
> On Tue, Apr 13, 2010 at 04:32:12PM +0900, william dunand wrote:
>> Dear list,
>>
>> I am currently setting up two 4.6 boxed to act as carp'ed firewalls.
>
> [...]
>
>> Even though I got to quite satisfying results, I am confused about the
>> net.inet.carp.preempt definition given in the carp(4) man page:
>>
>> a) Allow virtual hosts to preempt each other.
>>
>> b) It is also used to failover carp interfaces
>> as a group.  When the option is enabled and
>> one of the carp enabled physical interfaces
>> goes down, advskew is changed to 240 on all
>> carp interfaces.  See also the first example.
>> Disabled by default.
>>
>> I have no problem to observe [a], but I really can't manage to make [b]
happens.
>>
>> So when one of my interfaces goes down, all carp interfaces are
>> failing over to the other node but it seems to be thanks to the
>> demotion of "carp" group. A you can see below, advskew on the other
>> hand does not change at all:
>
> [...]
>
>> Would anyone be so kind as to explain me what I am misunderstanding here ?
>
> Hi,
>
> the advskew bump to 240 is done internally and not visible with
> ifconfig. Run tcpdump(8) and you'll see it on the wire.
>
> However, the 240 bump has been deprecated with 4.7 and the current manpage
> doesn't mention it either :)
>
>    Marco

Reply via email to