Reply
New Member
Posts: 3
Registered: ‎03-12-2019

UniFi AP gets another ip (DHCP) from Guest vlan

Hi to all!
I have UniFi Cloud Key and three UniFi AP. I setuped controller with three wireless networks. All networks gets IP from external DHCP server (using DHCP Relay). All works correctly and all clients gets access to internet. Two wireless nets gets network access trought "Guest portal" (UniFi). For example it named as OZ and NR. One net don`t use "Guest portal" and named as SN. APs managed by service vlan (vlan3). On L2 switch I setuped port in trunk mode. All using vlan are tagged (don`t have native vlan). When I adopt APs in UniFi controller, they gets IP from DHCP in guest vlan OZ and NR, but don`t gets IP from SN. What is it for? How to fix it?
Maybe it is used for wireless roaming?
Help me pls!

2019-03-12_20-27-22.png
2019-03-12_20-28-32.png
2019-03-12_20-30-08.png
2019-03-12_20-32-09.png
Senior Member
Posts: 23,632
Registered: ‎08-04-2017
Kudos: 4479
Solutions: 1162

Re: UniFi AP gets another ip (DHCP) from Guest vlan

Hello @Deaver,


Welcome to the community!

 

How did you configure the switchports?

Keep me MGMT VLAN untagged and tag the other VLANs.

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 3
Registered: ‎03-12-2019

Re: UniFi AP gets another ip (DHCP) from Guest vlan

Thanks, nice to meet you!
I tryed two config.
In first time I tryed this varriant:
switchport mode trunk
native vlan 3
tagged vlan 201-203

Next I tryed anoter variant:
switchport mode trunk
tagged vlan 3, 201-203
(in this varriant I setuped "Management VLAN" in AP settings: Config - Services - VLAN - Management VLAN and select there MGMT).

In both varriants I had same effect ((.

Senior Member
Posts: 23,632
Registered: ‎08-04-2017
Kudos: 4479
Solutions: 1162

Re: UniFi AP gets another ip (DHCP) from Guest vlan

Hello @Deaver,

 

Take a look at this article, it contains configurations for a couple of switches.

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 3
Registered: ‎03-12-2019

Re: UniFi AP gets another ip (DHCP) from Guest vlan

Thanks for the link. I readed it now and I see, that my config is correct.
What I notice.
If I do this:
Go to UniFi Controller > Settings > Wireless Networks > Edit network > in this place I unchecked "Apply guest policies (captive portal, guest authentication, access)" > Save changes.
Then I see, that APs don`t resolve IP from DHCP server and stopped pinging.
I don`t undastand this. Possibly this IPs needed to work Guest portal correctly? How to work this schema.

Senior Member
Posts: 23,632
Registered: ‎08-04-2017
Kudos: 4479
Solutions: 1162

Re: UniFi AP gets another ip (DHCP) from Guest vlan

Hello @Deaver,

 

Make sure the DHCP server is added to the exception list of the Multicast and Broadcast filter.

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
Reply