From owner-freebsd-net@FreeBSD.ORG Mon Mar 31 19:40:02 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DB77EB8F for ; Mon, 31 Mar 2014 19:40:01 +0000 (UTC) Received: from mail.ignoranthack.me (ujvl.x.rootbsd.net [199.102.79.106]) (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 A54DCBD9 for ; Mon, 31 Mar 2014 19:40:01 +0000 (UTC) Received: from [10.73.160.242] (nat-dip7.cfw-a-gci.corp.yahoo.com [209.131.62.116]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 6FBBC1929C9; Mon, 31 Mar 2014 19:40:00 +0000 (UTC) Subject: Re: FreeBSD 10-STABLE and CARP states From: Sean Bruno To: mxb In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-sLRjzQhSV3oJnYE25L+7" Date: Mon, 31 Mar 2014 12:39:56 -0700 Message-ID: <1396294796.1663.29.camel@powernoodle.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2014 19:40:02 -0000 --=-sLRjzQhSV3oJnYE25L+7 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Mon, 2014-03-31 at 20:42 +0200, mxb wrote: > Hi list, >=20 > hopefully this is the right place to have my question regarding CARP on 1= 0-STABLE. >=20 > I have two nodes with following setup(node1): >=20 > lagg0: flags=3D8943 metri= c 0 mtu 9000 > options=3D8407bb > ether 00:25:90:e3:71:f2 > inet 172.16.0.234 netmask 0xfffff800 broadcast 172.16.7.255 > inet6 fe80::225:90ff:fee3:71f2%lagg0 prefixlen 64 scopeid 0x5 > inet 172.16.0.231 netmask 0xfffff800 broadcast 172.16.7.255 vhid 201 > inet 172.16.0.233 netmask 0xfffff800 broadcast 172.16.7.255 vhid 202 > nd6 options=3D29 > media: Ethernet autoselect > status: active > carp: BACKUP vhid 201 advbase 1 advskew 1 > carp: BACKUP vhid 202 advbase 5 advskew 100 > laggproto lacp lagghash l2,l3,l4 > laggport: ix1 flags=3D1c > laggport: ix0 flags=3D1c Took a look at the freebsd cluster routers(running -current), we seem to not have the carp info on lagg0, but on seperate vlans and we set the vlan parent to lagg0 instead. e.g. lagg0: flags=3D8943 metric 0 mtu 1500 options=3D4219b ether 00:25:90:c2:85:32 inet6 fe80::225:90ff:fec2:8532%lagg0 prefixlen 64 tentative scopeid 0x6=20 nd6 options=3D29 media: Ethernet autoselect status: active laggproto lacp lagghash l2,l3,l4 laggport: em1 flags=3D1c laggport: em0 flags=3D1c ---- pflog0: flags=3D141 metric 0 mtu 33160 pfsync0: flags=3D41 metric 0 mtu 1500 pfsync: syncdev: vlan33 syncpeer: 10.0.16.2 maxupd: 128 defer: off ---- vlan33: flags=3D8843 metric 0 mtu 1500 options=3D103 ether 00:25:90:c2:85:32 inet6 fe80::225:90ff:fec2:8532%vlan33 prefixlen 64 scopeid 0x9=20 inet 10.0.16.1 netmask 0xffffff00 broadcast 10.0.16.255=20 nd6 options=3D29 media: Ethernet autoselect status: active vlan: 33 parent interface: lagg0 sean --=-sLRjzQhSV3oJnYE25L+7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJTOcSMAAoJEBkJRdwI6BaHi04H/1y6br4WlgcUCVPCHT0DQaSK 3Flx//o0GDQSjXepNOVQ9gUjXXzrNpdkb7ie+W2CwshRi+XyGy6ArV3E9Fu5Zy/I uk5weEEb4oSqgrF/WCpAAsYL6JcmSOisdMGcK24wVzWH7OqoSchfa33t/cVhEDif W8gsxoLa63dEaQZF7kYX+0m4UoiPebX0Xv2l2MX4pLULDa4Egm0f6+tg5qXF3sg1 wK55HsoQC9PyS9ofDfk85NW2O8N2zYcfm16K358GtBDn7yHnBuhzX2n3i2WBfKdt kA85Ah8f2+jvQmuhyS+cmhqJVXSRXAN/H/UpxCaX+qIDSFk3u4ppBgJb9ruFEkE= =oxfr -----END PGP SIGNATURE----- --=-sLRjzQhSV3oJnYE25L+7--