Subject: Re: PR misc/23431 (CARP)
To: None <tech-net@NetBSD.org>
From: Michael Hertrick <m.hertrick@neovera.com>
List: tech-net
Date: 11/14/2003 07:52:25
From the ftp url I provided earlier, download and apply
carp-111303.diff first, then apply carp-111403.diff.
carp-111403.diff contains a fix to the "IP Address already in use" problem.
NetBSD's arp_ifinit doesn't allow the ethernet address to be
specified, so I added a function called carp_notify to if_arp.c. It
does exactly the same thing as arp_ifinit, but allows carp to pass the
carp multicast ethernet address for the gratuitous arp. There's got to
be a better way to do it. Anyone have any suggestions? Or would you
just leave it like that?
-- I get "incorrect hash" messages now, but not all the time. I'm not
sure what the problem is.. I should start calling my mods CRAP instead
of CARP. The hash is one part of the code I haven't spent much time on
as of yet.
Michael Hertrick wrote:
> I posted PR misc/23431 (should have been kernel?) for experimental
> CARP support for -current. (only tested on i386 -current)
>
> The OpenBSD man page for CARP just about sucks right now, so I put my
> own documentation in the PR. Here's a link to the man page anyway:
> http://www.openbsd.org/cgi-bin/man.cgi?query=carp&apropos=0&sektion=4&manpath=OpenBSD+Current&arch=i386&format=html
>
>
> The impatient can download the patches from
> ftp://63.251.83.132/pub/NetBSD/patches/carp-111303.diff
> You'll have to add the following to your kernel config file:
>
> pseudo-device carp 2
> options CARP
>
> You may or may not also want to change vrrp to carp in
> /etc/protocols... OpenBSD pretty much replaced all references to VRRP
> with CARP. My patches, like OpenBSD's implementation, use 224.0.0.18
> and protocol id 112 for advertisements (same as VRRP). The vhid is in
> the same location as VRRP's vrid in the advertisement. Since there
> are 256 id's to choose from, you should'nt have any problem using CARP
> and VRRP on the same LAN.
>
>
>
> There's still a lot to do, this is just enough to get started. The
> rest of the details are in the PR.
>
> ~Mike.
>
>