Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
VLAN AP Setup
« previous
next »
Print
Pages: [
1
]
Author
Topic: VLAN AP Setup (Read 1642 times)
guest39556
Guest
VLAN AP Setup
«
on:
August 19, 2023, 10:12:37 pm »
I am trying to set up my Ubiquiti U6+ as an access point for my VLAN network, but cant seem to get the AP to get an IP from the VLAN, it will always choose one from the LAN. Is there a way to make it get a local IP from the VLAN instead?
Logged
lilsense
Hero Member
Posts: 600
Karma: 19
Re: VLAN AP Setup
«
Reply #1 on:
August 20, 2023, 12:00:14 am »
if you are gonna use multiple interfaces in a single VLAN then you need to create a bridge and place the interfaces in them then use the VLAN on the bridge.
Logged
guest39556
Guest
Re: VLAN AP Setup
«
Reply #2 on:
August 20, 2023, 12:12:58 am »
Theres only one interface as below:
OpnSense -> Switch -> AP
I just want it to get a DHCP lease from the VLANs DHCP, rather than the LANS DHCP when I plug it into the switch, is that possible?
Logged
meyergru
Hero Member
Posts: 1694
Karma: 166
IT Aficionado
Re: VLAN AP Setup
«
Reply #3 on:
August 20, 2023, 08:37:29 am »
Yes, but you have to set the AP to use the VLAN as primary network in the Unifiy controller. The default is to use the untagged (V)LAN as primary.
Logged
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005
1100 down / 440 up
,
Bufferbloat A+
lilsense
Hero Member
Posts: 600
Karma: 19
Re: VLAN AP Setup
«
Reply #4 on:
August 22, 2023, 10:02:47 pm »
you need to make sure the switch ports for the OPNsense/Switch/AP are all dot1q trunks that carry all the vlans.
Logged
guest39556
Guest
Re: VLAN AP Setup
«
Reply #5 on:
August 23, 2023, 04:56:32 am »
I dont have the ubiquiti controller so ive basically been trying to work around it
Logged
newsense
Hero Member
Posts: 1037
Karma: 77
Re: VLAN AP Setup
«
Reply #6 on:
August 23, 2023, 05:27:21 am »
The controller is not optional. Best option would be to run it in docker
Logged
iammike
Jr. Member
Posts: 50
Karma: 3
Re: VLAN AP Setup
«
Reply #7 on:
August 23, 2023, 09:31:17 am »
^ +1
Or
https://pimylifeup.com/rasberry-pi-unifi/
Logged
newsense
Hero Member
Posts: 1037
Karma: 77
Re: VLAN AP Setup
«
Reply #8 on:
August 23, 2023, 09:55:27 am »
Quote from: iammike on August 23, 2023, 09:31:17 am
https://pimylifeup.com/rasberry-pi-unifi/
Absolutely _NOT_
Until Unify moves away from the Mongo disaster the most secure option is to run it in docker/podman.
Installing old/vulnerable software on top of the main OS is only a recipe for disaster going forward.
Logged
iammike
Jr. Member
Posts: 50
Karma: 3
Re: VLAN AP Setup
«
Reply #9 on:
August 23, 2023, 10:16:40 am »
noted
Logged
Saarbremer
Sr. Member
Posts: 353
Karma: 14
Re: VLAN AP Setup
«
Reply #10 on:
August 24, 2023, 01:02:05 pm »
Regarding the first question, you can achieve that. But it won't do you anything good without a unifi controller.
In default config the AP uses untagged network for network access. So configure the VLAN to be untagged on that specific port. But I don't know where you might want to go from there without a controller.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
VLAN AP Setup