We have recently bought RB 951-2n for to get to know with Mikrotik. We are not wifi expetrts/nor linux ones but we want to try out new things.
After bit of struggle we have been able to setup RB951 as Access point and also enable MAC filtering for security.
For added security we would like to use Virtual AP - meaning another SSID with password and different IP address poll especially for visitors (so that they dont use our internal IP addresses)
Unfortunately we have not been able to configure it.
Can anyone please post procedure in steps on how to correctly configure such thing (or point us to some relevant article about it)?
It is very simple. In Webfig (or Winbox) open the Interface menu, click “+” (or “Add”) and select “VirtualAP”. This will bring up an interface similar to Wireeless settings. all you need is to enter the SSID and select frequency, security profile, and any other options you want. That is all
We need to have different ip addreses alocated for Virtual AP, not the same as for Non-virtual one.
We tried to setup dhcp for Virtual AP - we are able to connect to Virtual AP, get new adresses (range 192.168.6.1-255) but we are unable to connect to internet
dhcp and gateway are 192.168.6.1
it seems we are not able to “translate” 192.168.6.1 to real GW and DHCP addresses.
(just to clarify, we use mikrotik as AP (it is in AP bridge), so DHCP and GATEWAY are on main server which is connected to ISP)
No problem. The VirtualIP will be a separate interface. Go to the IP → address menu and assign a new IP there. It will work just like any separate interface. If internet is not working, make sure your SRC NAT (masquerade) rule is set up correctly. Post output of this command “/export compact”
I see this:
/ip firewall nat
add action=masquerade chain=srcnat comment=“default configuration” disabled=
no to-addresses=0.0.0.0
add action=accept chain=srcnat disabled=yes src-address=192.168.5.5neither of these rules has an out-interface specified. Second rule is disabled.
just to add comment - wlan is working proprely and we are able to connect to wlan2 (Virtual AP) - it provides us with IP address from desired range.
“Just” we are not able to get to internet. (again fw problem i guess).
we had wrong interface (we copied the one suggested by normis (withouth thinking)
add action=masquerade chain=srcnat disabled=no out-interface=ether2-master-local
and our out-interface should be different - bridgelocal
now we try to reset all to default set it up again and will post if we succeed