LAGG setup in OPNSense, Proxmox and Unifi Switch

Soldato
Joined
28 May 2010
Posts
4,731
Location
London, UK
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
vmbr1 - LAN(using 3 of the 2.5Gb network ports bridged together - lets call them LAN1, LAN2 and LAN3)
2 spare 2.5Gb ports remaining.

LAN3 is connected directly to my PC which has a 2.5Gb NIC.
LAN1 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 I have created in Unifi controller with the same VLAN tags. DHCP is set for all VLANs and LAN.
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.

Do I have to set an IP address range to LAGG as well?
 
Last edited:
Probably best to ask on OPNSense forums as you've not had a reply, and FWIW although I am not sure how much this area varies between the OPNSense fork and pfSense I have a similar setup to this with a LAGG working with pfSense and a Unifi switch.

I have 1GbE ports on my firewall device and different devices (CCTV, backups etc) working concurrently so LAGG works well to increase overall throughput as I have continual inter VLAN traffic as I don't have any L3 switches yet.
 
Probably best to ask on OPNSense forums as you've not had a reply, and FWIW although I am not sure how much this area varies between the OPNSense fork and pfSense I have a similar setup to this with a LAGG working with pfSense and a Unifi switch.

I have 1GbE ports on my firewall device and different devices (CCTV, backups etc) working concurrently so LAGG works well to increase overall throughput as I have continual inter VLAN traffic as I don't have any L3 switches yet.
Thank you for the response. Good idea - I will try the opnsense forums.
I had a look at a few you tube videos, one a very similar setup but with pfSense and I tried to follow the steps from there as well.
 
Back
Top Bottom