VLAN DHCP doesn't work with VLANID 2, but works with VLANID 21

VLAN DHCP doesn't work with VLANID 2, but works with VLANID 21

VLAN DHCP doesn't work with VLANID 2, but works with VLANID 21
VLAN DHCP doesn't work with VLANID 2, but works with VLANID 21
2024-11-08 10:40:14 - last edited 3 weeks ago

I have five VLANs in my network. 1 is management, 10 is for a non-metered connection, 20 and 30 are for metered connections. I also have a fifth VLAN that is isolated from the internet, so I don't need to use any kind of AAA on it. The non-metered connection isn't always available, so I need to regulate how much internet everyone (around 500 people) use when we are on the metered connection. Omada's Local User accounts don't differentiate between internet data and data to the controller, so my admins need to be authenticated on the metered connection if I don't have a LAN Only network setup. Also, there's plenty of projects people have that don't use internet and can be on this LAN Only network, again without affecting any AAA.

 

That fifth VLAN doesn't assign IP addresses when I set it to VLAN 2. This is the one I'd like to set, because it just makes logical sense to me for the non-internet networks to be together, but when I do, everyone gets fall back IPs in the 169.254.XXX.XXX range on that network. When I set it to 21, it works fine. The only setting in the LAN configuration page that I change is the VLANID. Nothing else gets changed. IP range stays the same, DHCP stays the same, LAN interfaces stay the same, and I don't change any settings on any ports.

 

The only thing I can think of is maybe I need to restart the network hardware to refresh the port configuration profiles, but I've never had to do that in the past when changing VLANs. Request any ideas as to why this might be happening.

  0      
  0      
#1
Options
1 Accepted Solution
Re:VLAN DHCP doesn't work with VLANID 2, but works with VLANID 21-Solution
2024-11-11 17:40:27 - last edited 3 weeks ago

  @BHJohnson 

 

Couple of questions, you mention VLANs 1, 10, 20, 30 and X.  Then you start describing VLAN2 and VLAN21, I can't make the math add up to 5 VLANs.  You haven't told us what gateway you are using or its firmware version, nor have you mentioned if you have ACLs set, which I'm sure you must, because those are required to isolate traffic.  I think it's important to look at the configuration of each of your VLANs, and also the ACL rules (and precedence). Are you using controllers?

 

Lastly, I have seen cases where a router is left in a confused state after certain configuration changes and a reboot or powercycle is required for the full config to come up and work properly.

<< Paying it forward, one juicy problem at a time... >>
Recommended Solution
  1  
  1  
#2
Options
4 Reply
Re:VLAN DHCP doesn't work with VLANID 2, but works with VLANID 21-Solution
2024-11-11 17:40:27 - last edited 3 weeks ago

  @BHJohnson 

 

Couple of questions, you mention VLANs 1, 10, 20, 30 and X.  Then you start describing VLAN2 and VLAN21, I can't make the math add up to 5 VLANs.  You haven't told us what gateway you are using or its firmware version, nor have you mentioned if you have ACLs set, which I'm sure you must, because those are required to isolate traffic.  I think it's important to look at the configuration of each of your VLANs, and also the ACL rules (and precedence). Are you using controllers?

 

Lastly, I have seen cases where a router is left in a confused state after certain configuration changes and a reboot or powercycle is required for the full config to come up and work properly.

<< Paying it forward, one juicy problem at a time... >>
Recommended Solution
  1  
  1  
#2
Options
Re:VLAN DHCP doesn't work with VLANID 2, but works with VLANID 21
3 weeks ago

  @d0ugmac1 

 

Sorry for the delay in responding.

 

The router is an ER8411. I am using an OC300 as the controller.

 

I assigned VLANIDs with some gaps between them so that I can add VLANs between other VLANs in a logical order. Our use case is still new to our organization, so we make changes on a fairly regular basis, and my setup for the network was far from a perfect plan that survived first contact with reality, so my thought process has mostly been around trying to make it easier for future me to read and understand what I've already done.

 

I did in fact cycle power to the whole network in between changes. I do this by scheduling a network reboot in the services section and rebooting all devices on the network at once. This has proven way better at making sure everything reconnects and readopts properly than rebooting each device individually.

 

My switch ACLs are just a rule to allow the management VLAN to connect to any other VLAN, and my gateway ACLs are just to enforce a whitelist policy on the network while we're on a metered connection to prevent anyone from hardwiring in and bypassing the user account portal I have setup, since I can't practically prevent physical access to all of my switches. It's on my to-do list.

 

Traffic is isolated to different WANs by setting Policy Routing rules under the Transmission tab. Each WAN has the networks that are able to utilize it, with fail over disabled on most of them. I can get down into the details of it, but I'm not sure what that would have to do with DHCP not working based on a change in the VLAN ID.

  0  
  0  
#3
Options
Re:VLAN DHCP doesn't work with VLANID 2, but works with VLANID 21
3 weeks ago - last edited 3 weeks ago

  @BHJohnson 

 

Did you define VLAN2 as type Interface or VLAN?  I am pretty sure if you wantv DHCP service from an Omada gateway it needs to be Interface type.  Since no IP is received this is a likely issue.

 

You didn't say if your distribution switches are under OC300 control or not. But I would look there next to ensure that all VLAN2 traffic is appropriately untagged at user side and trunked all the way back to the 8411.

 

My guess is you have somehow inadvertently isolated VLAN2...and I would do a real stare and compare of its settings vs VLAN21.

 

 

 

<< Paying it forward, one juicy problem at a time... >>
  0  
  0  
#4
Options
Re:VLAN DHCP doesn't work with VLANID 2, but works with VLANID 21
3 weeks ago - last edited 3 weeks ago

  @d0ugmac1 It's type Interface. The only thing I change between it working and not working is changing the VLANID in the LAN configuration page from anything else to 2. All of the switches and APs on the network are controlled by the OC300. All of the profiles for all of the switch ports are left as "All". All of the ACL rules and policy routing are done by network or SSID, so the VLANID isn't called out specifically anywhere that I'd need to change it.

  0  
  0  
#5
Options