Configuring lagg for fallback mode

0 views
Skip to first unread message

Steven Friedrich

unread,
Jun 12, 2024, 10:29:05 PMJun 12
to FreeBSD Questions

I'm referencing the Handbook, Example 39. Failover Mode

I have two realtek ethernets.

re0 is 1G on motherboard, re1 is 2.5G on pcie card.

Here's my /etc/rc.conf.local:

ifconfig_re0="up ether 78:2d:7e:1e:35:c4"
ifconfig_re1="DHCP"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto failover laggport re1 laggport re0"

Here's output of ifconfig:

re0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
       options=60251b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6>
       ether 78:2d:7e:1e:35:c4
       hwaddr 00:68:eb:cc:7b:5b
       media: Ethernet autoselect (1000baseT <full-duplex>)
       status: active
       nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
re1: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
       options=60251b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6>
       ether 78:2d:7e:1e:35:c4
       inet 192.168.1.57 netmask 0xffffff00 broadcast 192.168.1.255
       media: Ethernet autoselect (2500Base-T <full-duplex>)
       status: active
       nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
       options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
       inet 127.0.0.1 netmask 0xff000000
       inet6 ::1 prefixlen 128
       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
       groups: lo
       nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lagg0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
       options=60251b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6>
       ether 78:2d:7e:1e:35:c4
       hwaddr 00:00:00:00:00:00
       laggproto failover lagghash l2,l3,l4
       laggport: re0 flags=0<>
       laggport: re1 flags=5<MASTER,ACTIVE>
       groups: lagg
       media: Ethernet autoselect
       status: active
       nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>


The network is not up.  What did I do wrong?  re1 got an address from DHCP...  re0 and lagg0 have cloned re1's MAC address...

Paul Procacci

unread,
Jun 12, 2024, 11:34:30 PMJun 12
to Steven Friedrich, FreeBSD Questions
DHCP should be ran on the lagg and not one of the members.
There may also be some dependance on the switch side of things too (i.e. maybe it's expecting lacp instead). -- something to double check.

~Paul
--
__________________

:(){ :|:& };:
Reply all
Reply to author
Forward
0 new messages