First Patch to get CARP on Dfly

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


Hello,

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 dakot.net>
 * Baptiste Ritter <baptiste.ritter at 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 :
http://www.freebsd.org/cgi/man.cgi?query=carp&sektion=4&apropos=0&manpath=FreeBSD+6.2-RELEASE
If you've got any comments on how to improve this patch don't hesitate
to tell us.
Regards,

Jonathan 'JonTHn' Buschmann
Attachment:
carp.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00000.bin
Type: application/octet-stream
Size: 97993 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20070314/2c2d7240/attachment-0019.bin>


More information about the Kernel mailing list