FreeBSD 10-STABLE and CARP states
Sean Bruno
sbruno at ignoranthack.me
Mon Mar 31 19:40:02 UTC 2014
On Mon, 2014-03-31 at 20:42 +0200, mxb wrote:
> Hi list,
>
> hopefully this is the right place to have my question regarding CARP on 10-STABLE.
>
> I have two nodes with following setup(node1):
>
> lagg0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
> options=8407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,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=29<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=1c<ACTIVE,COLLECTING,DISTRIBUTING>
> laggport: ix0 flags=1c<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=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric
0 mtu 1500
options=4219b<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
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: active
laggproto lacp lagghash l2,l3,l4
laggport: em1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: em0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
----
pflog0: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33160
pfsync0: flags=41<UP,RUNNING> metric 0 mtu 1500
pfsync: syncdev: vlan33 syncpeer: 10.0.16.2 maxupd: 128 defer: off
----
vlan33: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
options=103<RXCSUM,TXCSUM,TSO4>
ether 00:25:90:c2:85:32
inet6 fe80::225:90ff:fec2:8532%vlan33 prefixlen 64 scopeid 0x9
inet 10.0.16.1 netmask 0xffffff00 broadcast 10.0.16.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: active
vlan: 33 parent interface: lagg0
sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20140331/ed278f03/attachment.sig>
More information about the freebsd-net
mailing list