1
General Discussion / LAGG setup in OPNSense, Proxmox and Unifi Switch
« on: December 23, 2023, 03:46:03 pm »
I have one of Topton N5105 boxes with 6 x 2.5Gb ports. 32GB Ram and 512GB NVME as primary storage.
Have been using it to run Proxmox where I have OPNSense in a VM and a few docker containers which includes pi-hole and Unifi Network application(8.0.24).
vmbr0 - WAN(Connected to Virgin Super Hub5)
vmbr1 - LAN(using 3 of the 2.5Gb network ports - lets call them LAN1, LAN2 and LAN3 - bridged together)
2 spare 2.5Gb ports remaining in the Topton N5105 box.
LAN port 3 is connected directly to my PC which has a 2.5Gb NIC.
LAN port 1 is connected to a Unifi US24 switch. From this switch I have various other devices including Unifi APs and wired devices in USER and IoT networks.
OPNSense has 3 VLANs for - User devices, IoT devices and Guests(called USER, IoT and GUEST respectively), which uses LAN interface as the parent.
I have created the VLANs in Unifi controller with the same VLAN tags in OPNSense. DHCP is set for all VLANs and LAN in OPNSense.
All working fine and I am getting devices assigned to proper VLANs/IPs.
I want to try out LAGG(LACP) setup in OPNSense and Unifi switch. I understand there may not be much improvements in terms of performance, it is just something I thought I should give it a try since I have 2 spare 2.5Gb ports in the Topton box and software(OpnSense) and hardware(Unifi US-24 G2)switch) capability.
This is where it has not been going well. I managed to create a LAGG in OPNSense and setup link aggregation in the unify switch. VLANs are set to have LAGG as the parent interface. But devices are not getting an IP address.
I followed a guid from Home network guy's post to set these up.
Any pointers?
Have been using it to run Proxmox where I have OPNSense in a VM and a few docker containers which includes pi-hole and Unifi Network application(8.0.24).
vmbr0 - WAN(Connected to Virgin Super Hub5)
vmbr1 - LAN(using 3 of the 2.5Gb network ports - lets call them LAN1, LAN2 and LAN3 - bridged together)
2 spare 2.5Gb ports remaining in the Topton N5105 box.
LAN port 3 is connected directly to my PC which has a 2.5Gb NIC.
LAN port 1 is connected to a Unifi US24 switch. From this switch I have various other devices including Unifi APs and wired devices in USER and IoT networks.
OPNSense has 3 VLANs for - User devices, IoT devices and Guests(called USER, IoT and GUEST respectively), which uses LAN interface as the parent.
I have created the VLANs in Unifi controller with the same VLAN tags in OPNSense. DHCP is set for all VLANs and LAN in OPNSense.
All working fine and I am getting devices assigned to proper VLANs/IPs.
I want to try out LAGG(LACP) setup in OPNSense and Unifi switch. I understand there may not be much improvements in terms of performance, it is just something I thought I should give it a try since I have 2 spare 2.5Gb ports in the Topton box and software(OpnSense) and hardware(Unifi US-24 G2)switch) capability.
This is where it has not been going well. I managed to create a LAGG in OPNSense and setup link aggregation in the unify switch. VLANs are set to have LAGG as the parent interface. But devices are not getting an IP address.
I followed a guid from Home network guy's post to set these up.
Any pointers?