LAGG and VLAN MAC addresses are the same, how to set each to be unique?

q66

Cadet
Joined
Oct 13, 2020
Messages
9
Hello,

I have a LACP LAGG with two members, the LAGG in configured for untagged and tagged traffic but my switches are shutting down a port of the LAGG due to the mac address of TrueNAS being the same on these two separate networks. The issue does not occur when VLANs are not used.

How can lagg0 and vlan2020 be configured to have unique mac addresses?

Code:
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: lagg0
        options=507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO>
        ether 00:90:fa:2d:ca:18
        inet 10.0.20.81 netmask 0xfffffe00 broadcast 10.0.21.255
        laggproto lacp lagghash l2,l3,l4
        laggport: oce0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
        laggport: oce1 flags=0<>
        groups: lagg
        media: Ethernet autoselect
        status: active
        nd6 options=9<PERFORMNUD,IFDISABLED>
vlan2020: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=703<RXCSUM,TXCSUM,TSO4,TSO6,LRO>
        ether 00:90:fa:2d:ca:18
        inet 172.0.10.81 netmask 0xffffff00 broadcast 172.0.10.255
        groups: vlan
        vlan: 2020 vlanpcp: 0 parent interface: lagg0
        media: Ethernet autoselect
        status: active
        nd6 options=9<PERFORMNUD,IFDISABLED>
 
Joined
Dec 29, 2014
Messages
1,135
From the perspective of the switches I have used (Cisco, HP, Juniper), it is fine to have the same MAC address in multiple VLAN's. What kind of switches are you using, and what error message are you seeing?
 
Top