Problems setting up LAGG with VLAN to switch

Started by wk87hop, December 28, 2023, 05:18:30 PM

Previous topic - Next topic
Probably just a noob configuration error but I'm really stuck on this... I am trying to setup a standard 2-port LAGG between my OPNSense box (virtualized in Proxmox) and my Cisco SG300 Switch (L2 mode) following this guide: OPNSense (https://www.youtube.com/watch?v=h2_cQxTkh3Q&t=1868s) & switch (https://www.youtube.com/watch?v=4HP-YAJX56E&t=370s). I am trying pretty much the same settings, just with Management VLAN 10 ("ADMIN") instead of 1.

Basic network diagram: https://picallow.com/50036-2

I currently have everything setup but cannot establish connection between the devices (ping fails from both sides). It doesn't seem like the LACP is working correctly, as I can see "active ports: 0":

root@opnsense:~ # ifconfig -v lagg0
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: LAGG (opt9)
        options=800a8<VLAN_MTU,JUMBO_MTU,VLAN_HWCSUM,LINKSTATE>
        ether bc:24:11:59:00:57
        laggproto lacp lagghash l2,l3
        lagg options:
                flags=0<>
                flowid_shift: 16
        lagg statistics:
                active ports: 0
                flapping: 0
        lag id: [(0000,00-00-00-00-00-00,0000,0000,0000),
                 (0000,00-00-00-00-00-00,0000,0000,0000)]
        laggport: vtnet1 flags=0<> state=45<ACTIVITY,AGGREGATION,DEFAULTED>
                [(8000,BC-24-11-59-00-57,0112,8000,0002),
                 (FFFF,00-00-00-00-00-00,0000,FFFF,0000)]
        laggport: vtnet2 flags=0<> state=45<ACTIVITY,AGGREGATION,DEFAULTED>
                [(8000,BC-24-11-59-00-57,0112,8000,0003),
                 (FFFF,00-00-00-00-00-00,0000,FFFF,0000)]
        groups: lagg
        media: Ethernet autoselect
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>


Also, on the switch I can see that one of the two ports is in standby: https://picallow.com/81567-2

I also cannot reach OPNSense on my computer which is plugged into an untagged VLAN 10 (Management "ADMIN") port on the switch.

These are my settings in OPNSense: https://picallow.com/36936-2

And these are my settings on the Cisco switch: https://picallow.com/60026-2


Can anyone spot the problem? Thanks.