I have a somewhat weird setup here: I have an hAP ac, a RB260GSP and my ISP’s modem but here is the catch: I can only connect 1 cable to my hAP and the modem cannot be put in bridge mode (there is no such option there).
This is my first experience with MikroTik and I’m not exactly a network expert, so I hope someone could help me. I have a feeling there is a quite simple solution.
So we have:
__________
| RB260GSP |
[modem ] ==> | port 1 |
[hAP ac] ==> | port 2 |
[ PC 1 ] ==> | port 3 |
|__________|
What I’d like to do is replicate the behavior I would get if I could connect the modem directly to the hAP. That is: PC1 would still be able to access the modem’s status page but it would be using the DHCP server running on hAP.
I suppose the solution is in the ‘VLAN realm’, but I couldn’t manage to make it work.
I’m not specifically familiar with the hAP ac, but did a quick look at it. Is there a reason that you can’t connect the router to the internet connection of the AP, and then the PC to one of the LAN connections of the hAP? The only reason you should need the switch is if you need more than 4 LAN ports - unless I’m missing something (which I could from lack of familiarity with the products).
It’s a space limitation. It’s not possible to run another cable to the hAP because the duct is full. The one cable I managed to get there was already hard enough.
I’ve managed to create a VLAN (100) to separate the modem from my local network (VLAN 1). The router is using this VLAN to connect to the modem and WiFi clients are able to access the internet just fine.
Clients connected to RB260GSP are still unable to connect to the router or to the Internet.
DHCP client is using interface “vlan-modem” which is a VLAN with ID 100.
DHCP server is using “bridge”
“bridge” connects “ether2”, “wlan1”, “wlan2” and “vlan1”
NAT rule: chain=srcnat action=masquerade out-interface=vlan-modem
No hassle with VLAN’s etc… Although I must say, that VLAN’s are of course nicer, and you still can have Gbit speed. But VLAN’s have their security limitations.