Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2014 12:39:56 -0700
From:      Sean Bruno <sbruno@ignoranthack.me>
To:        mxb <mxb@alumni.chalmers.se>
Cc:        freebsd-net@freebsd.org
Subject:   Re: FreeBSD 10-STABLE and CARP states
Message-ID:  <1396294796.1663.29.camel@powernoodle.corp.yahoo.com>
In-Reply-To: <EDCF2D3E-D785-4DCA-8033-09D547BDCC93@alumni.chalmers.se>
References:  <EDCF2D3E-D785-4DCA-8033-09D547BDCC93@alumni.chalmers.se>

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

--=-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<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metri=
c 0 mtu 9000
> 	options=3D8407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HW=
CSUM,TSO4,TSO6,LRO,VLAN_HWTSO>
> 	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<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> 	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<ACTIVE,COLLECTING,DISTRIBUTING>
> 	laggport: ix0 flags=3D1c<ACTIVE,COLLECTING,DISTRIBUTING>


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<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric
0 mtu 1500

options=3D4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_=
MAGIC,VLAN_HWTSO>
	ether 00:25:90:c2:85:32
	inet6 fe80::225:90ff:fec2:8532%lagg0 prefixlen 64 tentative scopeid
0x6=20
	nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet autoselect
	status: active
	laggproto lacp lagghash l2,l3,l4
	laggport: em1 flags=3D1c<ACTIVE,COLLECTING,DISTRIBUTING>
	laggport: em0 flags=3D1c<ACTIVE,COLLECTING,DISTRIBUTING>
----
pflog0: flags=3D141<UP,RUNNING,PROMISC> metric 0 mtu 33160
pfsync0: flags=3D41<UP,RUNNING> metric 0 mtu 1500
	pfsync: syncdev: vlan33 syncpeer: 10.0.16.2 maxupd: 128 defer: off
----
vlan33: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
	options=3D103<RXCSUM,TXCSUM,TSO4>
	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<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1396294796.1663.29.camel>