Community discussions

 
mitdevice
just joined
Topic Author
Posts: 2
Joined: Sun Jun 09, 2019 8:33 pm

Make Hotspot Usernames for different APs

Sun Jun 09, 2019 9:03 pm

Hi, I really need some help, thanksss

please see my below map first,

Internet -> Mikrotik -> Cisco Managed Switch (port 10) to -> CISCO Un-Managed Switch 24 ports -> for 24 LANs (PCs)
                                                                         (port 1)   to -> AP (Access Point) 1 -> 20 users
                                                                         (port 2)   to -> AP (Access Point) 2 -> 20 users
                                                                         (port 3)   to -> AP (Access Point) 3 -> 20 users

Now, I have created Hotspot Usernames for all 24+20+20+20 already
eg. 24 Hotspot Usernames for "LANs (PCs)" -> eg. "user1, user2, user3...user4"                 Usernames for this GROUP
      20 Hotspot Usernames for "AP 1"             -> eg. "ap1_aaa, ap1_bbb, ap1_ccc...ap1_ttt" Usernames for this GROUP
      20 Hotspot Usernames for "AP 2"             -> eg. "ap2_aaa, ap2_bbb, ap2_ccc...ap2_ttt" Usernames for this GROUP
      20 Hotspot Usernames for "AP 3"             -> eg. "ap3_aaa, ap3_bbb, ap3_ccc...ap3_ttt" Usernames for this GROUP

However, I need Username works ONLY for EACH group, NOT for ALL group
eg. -if I use "user3" Username log in via "LAN", it works!!, but it MUST not work when log in via AP 1, AP 2, AP 3
      -if I use "ap3" Username log in via "AP 3",   it works!!, but it MUST not work when log in via LAN, AP 1, AP 2
      -if I use "ap1" Username log in via "AP 1",   it works!!, but it MUST not work when log in via LAN, AP 2, AP 3

How can I achieve that effect, I'm really new to this.
Please help me out, thank you so much in advanced !!!
 
Cvan
Member Candidate
Member Candidate
Posts: 105
Joined: Sat Jun 09, 2018 3:32 am

Re: Make Hotspot Usernames for different APs

Wed Jun 12, 2019 3:37 am

I think you can achieve this through address pool assignment on hotspot server and user profiles.
If ap3_user connects to ap3; will get only an IP from specified pool from the ap3_dhcp server.
If ap3_user connects to ap2; then ap3_dhcp will give IP from ap3 pool to user ap3,
you block/reject/control ap3_user/ap3_pool on ap2
 
mitdevice
just joined
Topic Author
Posts: 2
Joined: Sun Jun 09, 2019 8:33 pm

Re: Make Hotspot Usernames for different APs

Wed Jun 12, 2019 5:44 am

Hi,

Thank you for the reply,

I got for what you mean, about setting separate address pool assignment for each hotspot server & user profiles,

However, how can I specify ap1, ap2, ap3?
do i need to specify "VLAN" or something?

I mean how can I tell Mikrotik to know that, because as you can see my map in my 1st post,
Internet that come out of Mikrotik got only 1 LAN connect to CISCO Managed Switch.
so, there are 4 Lans connect to 1)Unmanaged Switch, 2)AP1 3)AP2 4)AP3.

is it possible to assign MAC Address for those APs?
because all the connected device (MAC Addresses) I see in Mikrotik, ONLY show the connected device that connect FROM APs, not APs themself.
I mean, MIkrotik sees only MAC Addresses of connected devices, NOT the MAC Addresses of those 3 APs

Please help me further, thank you so much!!
 
2frogs
Long time Member
Long time Member
Posts: 540
Joined: Fri Dec 03, 2010 1:38 am

Re: Make Hotspot Usernames for different APs

Wed Jun 12, 2019 6:02 am

You will need to put the LAN and all 3 AP's on separate VLAN's. Then create a Hotspot Server for each VLAN. Then on each Username, you can specify which Server that Username is for.

Who is online

Users browsing this forum: No registered users and 99 guests