Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2014 18:58:47 +0400
From:      Eygene Ryabinkin <rea@freebsd.org>
To:        George Neville-Neil <gnn@neville-neil.com>
Cc:        Marcelo Araujo <araujobsdport@gmail.com>, net@freebsd.org
Subject:   Re: Allowing CARP to use arbitrary OUI prefix and allocating block from FreeBSD's OUI space assignment for that
Message-ID:  <m6n8XMy%2BOPAwXmxPcjDY/LDEM/0@dHhGgwofm7uNfL6/X5%2BbGIkDUYs>
In-Reply-To: <z1EJt6btuZOiE3dN4jcj9CzW0rE@kMSFIaW2kZGIra2nfrZm/OZJ8tE>
References:  <Nlrr646yWAdJ7EfNj9z5ymwq5ZQ@dHhGgwofm7uNfL6/X5%2BbGIkDUYs> <20140508200404.GA50446@glebius.int.ru> <D5E11D41-EA0D-40D0-9E97-2E91EF50ED93@neville-neil.com> <z1EJt6btuZOiE3dN4jcj9CzW0rE@kMSFIaW2kZGIra2nfrZm/OZJ8tE>

next in thread | previous in thread | raw e-mail | index | archive | help

--87MiR7gHvrw39A9h
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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@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 configura=
ble
> > > E>    OUI from a sysctl knob (first 5 bytes of OUI);
> > >=20
> > > Please no sysctl knobs. This should be configurable via ifconfig(8)
> > > per vhid.
> >=20
> > Agree, please do this via ifconfig.
>=20
> 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.
--=20
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.

--87MiR7gHvrw39A9h
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iL4EABEKAGYFAlN8vydfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldDgyRkUwNkJDRDQ5N0MwREU0OUVDNEZGMDE2
QUY5RUFFODE1MkVDRkIACgkQFq+eroFS7Ps+awEAiLw9dotBH8WuSgWEguiMl98X
GQRBSj+RPhIb2X9/pR8A/Rmbbni0z3kmzFyFf8R70+PzoFFVjlu+mmP6lcU2sqRu
=lx8D
-----END PGP SIGNATURE-----

--87MiR7gHvrw39A9h--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m6n8XMy%2BOPAwXmxPcjDY/LDEM/0>