Hey all,
First @LTS_Tom thanks for all the videos.
I’ve been working on setting up a LACP connection between an EdgeRouter ER12 and an EdgeSwitch ES-24-250w. I started with the Ubiquiti article here. I started with the router from a fresh state, with no firewall rules.
The interfaces included in the bond0 are eth4-eth7
Below are the subnets:
ubnt@EdgeRouter-12# show interfaces bonding bond0 address 10.20.50.1/24 description "Network Equipment" hash-policy layer2+3 mode 802.3ad vif 1 { } vif 60 { address 10.20.60.1/24 description "Production Servers" } vif 70 { address 10.20.70.1/24 description "wired Hosts" } vif 80 { address 10.20.80.1/24 description "Internal WiFi" } vif 90 { address 10.20.90.1/24 description "IoT WiFi" } vif 91 { address 10.20.91.1/24 description "Guest WiFi" }
Traffic appears to be routing properly but I can’t get DHCP services to work properly. I have set the following on the edge router:
ubnt@EdgeRouter-12# show service dhcp-server shared-network-name shared-network-name WiFI { authoritative disable subnet 10.20.80.0/24 { default-router 10.20.80.1 dns-server 208.67.222.222 dns-server 208.67.220.220 lease 86400 start 10.20.80.100 { stop 10.20.80.150 } } } shared-network-name Guest_WiFI { authoritative disable subnet 10.20.91.0/24 { default-router 10.20.91.1 dns-server 208.67.222.222 dns-server 208.67.220.220 lease 86400 start 10.20.91.100 { stop 10.20.91.150 } } } shared-network-name IoT_WiFI { authoritative disable subnet 10.20.90.0/24 { default-router 10.20.90.1 dns-server 208.67.222.222 dns-server 208.67.220.220 lease 86400 start 10.20.90.100 { stop 10.20.90.150 } } } shared-network-name Network_Equipment { authoritative enable subnet 10.20.50.0/24 { default-router 10.20.20.1 dns-server 208.67.222.222 dns-server 208.67.220.220 lease 86400 start 10.20.50.100 { stop 10.20.50.150 } } } shared-network-name Production_Server { authoritative disable subnet 10.20.60.0/24 { default-router 10.20.60.1 dns-server 208.67.222.222 dns-server 208.67.220.220 lease 86400 start 10.20.60.100 { stop 10.20.60.150 } } } shared-network-name Wired_Hosts { authoritative disable subnet 10.20.70.0/24 { default-router 10.20.70.1 dns-server 208.67.222.222 dns-server 208.67.220.220 lease 86400 start 10.20.70.100 { stop 10.20.70.150 } } }
I have tried different hash types, Layer2 and Layer2+3. I’ve tried the ports in the switch group but that breaks the LAG connection. I’m not sure if I need to do some kind of DHCP Relay or what.
Well I happy to hear anyone thoughts,
Thanks,
MJ