carpX: incorrect hash with IP aliases

Max Laier max at love2party.net
Wed Mar 4 05:20:27 PST 2009


On Wednesday 04 March 2009 13:50:09 Eirik Øverby wrote:
> On Mar 3, 2009, at 19:23, Scott Ullrich wrote:
> > On Tue, Mar 3, 2009 at 12:52 PM, Max Laier <max at love2party.net> wrote:
> > [snip]
> >
> >> Make sure that you are configuring the same aliases with the same
> >> netmasks on
> >> all members of the carp group - preferably before bringing the
> >> interface up
> >> for the first time (though it should properly recalculate the
> >> hashes as you
> >> add aliases).  As you seem to be using pfsense you might want to
> >> check with
> >> them to make sure they have the fix in their build - though I
> >> recall it was a
> >> joined effort back then.
> >
> > 1.2.3 is based on 7.1 so this patch should be in the base system now.
>
> Just tested, and this seems to work.
> Now I just need to figure out how to make sure both carp nodes have
> the IPs added/removed at ~exactly the same time..

Just ifconfig down the BACKUP, change the config on both and bring the BACKUP 
back up ;)

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News


More information about the freebsd-stable mailing list