Allowing CARP to use arbitrary OUI prefix and allocating block from FreeBSD's OUI space assignment for that
Eygene Ryabinkin
rea at freebsd.org
Wed May 21 14:58:55 UTC 2014
Mon, May 12, 2014 at 12:39:49AM +0400, Eygene Ryabinkin wrote:
> Sun, May 11, 2014 at 04:30:32PM -0400, George Neville-Neil wrote:
> > On May 8, 2014, at 16:04 , Gleb Smirnoff <glebius at FreeBSD.org> wrote:
> > > On Thu, May 08, 2014 at 12:10:48PM +0400, Eygene Ryabinkin wrote:
> > > E> - I'll do a patch for carp(4) that will allow it to use configurable
> > > E> OUI from a sysctl knob (first 5 bytes of OUI);
> > >
> > > Please no sysctl knobs. This should be configurable via ifconfig(8)
> > > per vhid.
> >
> > Agree, please do this via ifconfig.
>
> http://codelabs.ru/fbsd/carp-ouibase.diff
Updated the patch, URL remains the same:
http://codelabs.ru/fbsd/carp-ouibase.diff
Changes:
- full MAC is settable via ether/lladdr/link keyword, no
ouibase keyword now exists;
- these keywords accept "carp" and "vrrp" keywords making
them to set new and old bases with the last octet set to
the VHID;
- network.subr was updated not to mess with any keywords that
go after 'vhid' and just pass it down to ifconfig as is.
I did two days of testing and hadn't yet found any problems.
--
Eygene Ryabinkin ,,,^..^,,,
[ Life's unfair - but root password helps! | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]
Please, CC me, I am not subscribed to this list.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 358 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20140521/21dfe58b/attachment.sig>
More information about the freebsd-net
mailing list