For years now i have been looking at this issue on and off, without really finding how to fix it/work around it
When i first setup the unifi controller software (on a vm) i filled the network information of my admin network. Itâs a dedicated wire off of my pfsense box, that get in a switch.
The issue i have is that, unlike other network added afterward, i canât put a vlan tag to this network. That mean i can set port on my switch to work in direct access, but where i need this network to be send with other on the same cable, i canât, or it have to be the native one.
I also canât add a second network with the same CIDR.
Is this the workaround of unifi to a dedicated management port ?
I canât believe there isnât any other way, so what did i miss ?
Should i avoid âcorporateâ type entirely and only use âvlan onlyâ type ?
Hello,
If youâre only trying to make a VLAN I recommend leaving the default network(shouldnât affect things if you donât have a USG) and creating the VLAN as a new network.
If youâre trying to use 192.168.20.X/24 as the VLAN network youâll need to change the default LAN network to another subnet.
Depending on the hardware youâre using, you will need to go onto the port on the switch and tag that port with the VLAN.
But once the VLAN is created as long as the DHCP server is setup and router the the DHCP relay configured it should work.
the UNIFI equipment just needs to know that the VLAN exists so it can handle it correctly.
here are some example shots for you:
This show the VLAN and VLAN tag I created
I would show you with the USG but I donât have one and it doesnât appear like you do either. But just remember to add the VLAN DHCP relay on the router and switches are tagged and you should be golden⌠well if I understood your problem correctly.
To add new devices to your controller, they will need to be on an untagged switch port anyway. Configure the management VLAN untagged on that switch port for your AP then tag your other VLANs on that switch port and add the VLAN per each wireless network in the controller.
Thank you for the reply.
I donât use a UGS, so no issue there
This is what bother me. if i change the default LAN network, wonât it also change the network used by unify to talk to his device ? because i want it to be the same.
i already have a couple of network and port group for my setup
No. Since you donât have a USG, the âSubnetâ value is meaningless in the controller. Just create VLAN Only networks when you need to define a new VLAN and call it good.