From owner-freebsd-net@FreeBSD.ORG Wed May 21 14:58:55 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1292AD2B; Wed, 21 May 2014 14:58:55 +0000 (UTC) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.233.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A1D6B2EE0; Wed, 21 May 2014 14:58:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codelabs.ru; s=three; h=Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=OtwL0EfNWC2OWUZrcNM25ZJVmGQ5rVx/eMsHN1xMrkc=; b=Nb4Ny3UzfG/jl6dY2SfRl2FGuHt0AFa/Shmy8oEmq2K67CcWvVdd05SwjSW0b86Ox7S81SLSwtRiU/+l13rdSfkK9YFoFlK2OhzeoEX0vb7dy2+2yMXXHebTzmOK9E7yhmnGFu8SXVa6Rx29nstQzN5UE9/8+xej/Qk4KzL216ZV6WqJdSZv/ZOSGE04Dmp/LKEQvbRxF3tAz8nk7+bc0zRLf3mr2kyopIfCUlH9tw8XE862BLlZSAAYp/IuRe/MYTXu3knK1z9yHk3GWyjWr90ybnSRRJtUoIsAK+tqf2G6d+lBK4lFRJYcfrgS3ZNuQYxzCQOdo/OLjo/E8BLIEdMsxymIc8YXW3Xum8ARI2nXwvSav9pchZVannvd62d1K13UTbubJ1tol/vfgsyrJ3pjPNvBgv2AZRehQsyt4BVoz19jAqs0KPz1GieNOeRUzHFxWBenzahT+QnMwOJ7JOLPcmTfou9cYalzBx6+koL89utBHVavnMJf0JXqBuB0PAJPgPZ+SApZdgwZH2n1RZ7wYiEfNSNn1nUtCaDodZRBLiQzUXvkhb6XyT2vp8b15AuaENSKMa/0m0WQRshyGuPSu1JjHHmJ3xeKhwzjqiROU+vVHD9bDBpj9lhP7vulpZweLSGJGkUoSIN7MjipoaSvLEInoCJkFzUNuyMMZy8=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.233.66]) by 0.mx.codelabs.ru with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) id 1Wn7yk-000094-Cn; Wed, 21 May 2014 18:58:50 +0400 Date: Wed, 21 May 2014 18:58:47 +0400 From: Eygene Ryabinkin To: George Neville-Neil Subject: Re: Allowing CARP to use arbitrary OUI prefix and allocating block from FreeBSD's OUI space assignment for that Message-ID: References: <20140508200404.GA50446@glebius.int.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="87MiR7gHvrw39A9h" Content-Disposition: inline In-Reply-To: Sender: rea@codelabs.ru Cc: Marcelo Araujo , net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2014 14:58:55 -0000 --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 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--