First Patch to get CARP on Dfly

Jonathan Buschmann jonthn+dfly at
Wed Mar 14 02:32:51 PDT 2007


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 at>
 * Baptiste Ritter <baptiste.ritter at>
 * 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00000.bin
Type: application/octet-stream
Size: 97993 bytes
Desc: "Description: Binary data"
URL: <>

More information about the Kernel mailing list