N
N
nikolaevalexandr922018-05-30 18:52:27
WiFi
nikolaevalexandr92, 2018-05-30 18:52:27

Setting up a Guest network on Mikrotik with a Unifi hotspot?

Good afternoon colleagues.
There was a need to make a wireless, guest network. Which will not overlap with the main network.
There is a Mikrotik RB3011 and a Unifi AC pro access point. Decided to separate networks using VLANs. Namely: place the guest network in 20 VLANs, and leave the main network traffic untagged.
The Internet comes to the first port of Mikrotik, an unmanaged switch is connected to the second port, and an access point is connected to the third port.
VLAN itself, configured addressing. The point understands that the Guest network needs to distribute addresses from the Guest Pool.
But the problem is that the guest network does not go online.
Tell me what is my mistake?
Screenshots below:
If you need additional. Information - happy to provide.
Thank you.
5b0ec7c1d84a5233808271.png5b0ec7c89f0ed439471553.png5b0ec84f6e62e117545043.png5b0ec860c40d9455615369.png

Answer the question

In order to leave comments, you need to log in

5 answer(s)
N
nikolaevalexandr92, 2018-05-31
@nikolaevalexandr92

Found a solution.
So you need to do the following:
1. Create a VLAN on the physical interface where the access point will be connected (I have Ether2).
2. Create a subnet in the IP -> Addresses section. Interface select the previously created VLAN.
3. Create an address pool for the DHCP server in the IP -> Pool section
4. Create a DHCP server in the IP -> DHCP Server section. In Interface, select the created VLAN in step 1. In the Address Pool, select the pool of addresses created in step 3
5. Register the network in IP -> DHCP Server -> Networks
-----------------------
6. In the settings, create a new local network in the Settings -> Networks -> Local Networks section.
7. In the settings of the new network, in the Network Purpose field, select VLAN Only and specify the VLAN number that was assigned in step 1
8. Create a new wireless network in the Settings -> Wi Fi -> Wi Fi Networks -> Create New section WiFi Network -> Create Advanced WiFi. Enable the Use VLAN switch and set the VLAN number that you created in step 1.
9. Check if everything works.

D
Dmitry, 2018-05-31
@Tabletko

And who will do src-nat for the guest network?

G
gadzhikuliev, 2019-06-01
@gadzhikuliev

Could write a manual, how did you do it? I myself literally began to do it yesterday, but it didn’t take off.

R
rudimsergey, 2020-01-06
@rudimsergey

It has become, the same task as yours to make friends with Mikrotik and Unifi and make a guest network based on vlan, I did everything according to the instructions, but there is no access to the Internet. Clients receive ip addresses from the pool for the guest network, but no Internet access. Could you write or suggest in more detail, you can, in a personal or email.

S
sfantom20, 2020-09-24
@sfantom20

and for the uap-ac-lite point can be similarly configured? I don't have vlan in wi-fi settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question