Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
LAGG issue with UniFi US-24 Switch
« previous
next »
Print
Pages: [
1
]
Author
Topic: LAGG issue with UniFi US-24 Switch (Read 2679 times)
thegoonie
Newbie
Posts: 8
Karma: 0
LAGG issue with UniFi US-24 Switch
«
on:
June 21, 2020, 06:35:01 am »
Hi Im switching my home lab across to opnsense from pfsense , i am setting the new network up seperatelty so that i can move services across as needed. i currently have 2 wan connections which makes the move easier. i havent used LAGG interfaces with pfsense but i have set it up in opnsense which looks all ok maybe its not?, the issue im having is that i have dhcp setup on the LAGG interface expecting to plug opnsense into the unifi switch and the switch get an ip which i can then ssh into to switch to set the console address for the switch adoption. The switch dosnt seem to get an ip from opnsense, at the moment i havnt been able to get this to work if anyone has knowledge on this type of connection that could help out , that would be much appreciated. Thanks
Logged
thegoonie
Newbie
Posts: 8
Karma: 0
Re: LAGG issue with UniFi US-24 Switch
«
Reply #1 on:
June 21, 2020, 09:03:52 am »
Just to be clear im not setting up multi wan. thanks again
Logged
Gauss23
Hero Member
Posts: 766
Karma: 39
Re: LAGG issue with UniFi US-24 Switch
«
Reply #2 on:
June 21, 2020, 08:10:13 pm »
Are you using VLANs in this scenario? You can define the management VLAN for the unifi devices and they will only get an IP from that VLAN via DHCP.
Or do you have enabled DHCP Guarding in Unifi?
Logged
„The S in IoT stands for Security!“
thegoonie
Newbie
Posts: 8
Karma: 0
Re: LAGG issue with UniFi US-24 Switch
«
Reply #3 on:
June 22, 2020, 11:29:26 am »
Thanks for your help, I will be using VLANs but dont have that setup as yet. If I setup a VLAN for the unifi devices how will the switch get an ip for its VLAN from opnsense ?. I would need to tag both LAGG ports with the VLAN id in the unifi switch before i connect the switch if I understand correctly?.I am using a seperate subnet for the LAGG interface and was hoping when i plugged the switch in it would get an ip then i could ssh into the switch and set the url so that it can be adopted into the unifi controller. I have not enabled DHCP Guarding .
Logged
Gauss23
Hero Member
Posts: 766
Karma: 39
Re: LAGG issue with UniFi US-24 Switch
«
Reply #4 on:
June 22, 2020, 06:59:02 pm »
What LAG proto are you using on the OPNsense? As far as I can see Unifi only supports LACP (802.3ad). How many ports did you aggregate?
You have then verified that there is a DHCP server enabled on the LAGG interface? Usually OPNsense is creating firewall rules automatically on interfaces where a DHCP server is enabled. You should find them in the dropdown menu "Automatically generated rules" at the LAGG interface. Is traffic flowing through that interface? Other devices on that switch get an IP from the DHCP server on the OPNsense?
Logged
„The S in IoT stands for Security!“
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
LAGG issue with UniFi US-24 Switch