DragonFly kernel List (threaded) for 2007-03
DragonFly BSD
DragonFly kernel List (threaded) for 2007-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

First Patch to get CARP on Dfly

From: "Jonathan Buschmann" <jonthn+dfly@xxxxxxxxxx>
Date: Wed, 14 Mar 2007 10:25:48 +0100


After a few weeks of work and a delay of about 2 weeks we've got a
first patch that you can try.

The work was done by :
 * Nicolas Riss <nicolas.riss@dakot.net>
 * Baptiste Ritter <baptiste.ritter@ulp.u-strasbg.fr>
 * and myself

Currently CARP with IPv4 is working on our side (many thanks to
VKERNEL for simplifying our tests and devs) but on IPv6 there are some
trouble even if the "election" of the MASTER is done, you can't ping the
virtual IP shared between the CARP group because the carp interface
doesn't reply to Neighbor Sollicitation.

There are some cleanups left to do. And we will add in a next patch
the modifications for the man pages.
And probably all the Macro *LOCK() in the file ip_carp.c could be improved.

To try the patch

# cd /usr/
# patch -p1 < carp.patch

add the two lines :
 pseudo-device   carp
 options CARP

in your kernel config
And rebuild a kernel

After the reboot configure each host see :

For the configuration see the man page of FreeBSD located at :

If you've got any comments on how to improve this patch don't hesitate
to tell us.


Jonathan 'JonTHn' Buschmann

Attachment: carp.patch
Description: Binary data

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]