I have one mikrotik 750, it is connected on port 1 to a switch which is connected via switch ports 2 and 3 to two different ubiquiti AP’s set to bridge mode.
Clients connect to either AP and each makes a DHCP request to the mikrotik.
How do I give a DIFFERENT IP subnet to each client, so I can distinguish which AP
they are using? Notice each request is coming into the SAME port on the mikrotik.
This is easy to do if each AP is set to be a router and gives out its own
unique IP subnet and does not NAT them itself. It’s when the AP’s are bridges that
I can’t figure it out.
Got a simple linux router with eth1 and eth1.2 defined.
eth1 192.168.1.1
eth1.2 192.168.2.1
Each interface has a DHCP specification for its subnet range, and this works fine
using a dell swith with vlan2 on port 2 and a laptop, it gets 192.168.2.x.
Now I have one ubiquiti AP Nano Station in AP mode attached to the router port instead of the Dell
Switch. On the AP I have set one or both of wan0 and lan0 to vlan 2, and in each case it seems to be ignored,
as the laptop wirelessly gets 192.168.1.x regardless of my vlan settings on the AP.