Page 1 of 1

My virtual AP cannot access to internet?

Posted: Fri Sep 28, 2012 10:27 am
by gatesmart
Dear all,
I am new for Mikrotik so I'm here to ask for your help related the following:
-> On model: RB751U-2HnD
-> Create two wireless aps:
1. Default wireless (main wireless) using DHCP from my primary one (e.g: 192.168.1.44) => work fine (releasing IP & Internet)
2. Virtual AP using DHCP in this mikrotik device (in IP range: 192.168.88.0): for releasing IP to client fine, but cannot access to internet

=> My question is how to fix this issue?
**My purpose: I want to create to two wireless aps (one, for office or private use, and another one for outside guest use), so I need two different IP segment/range.

Thanks in advance

Re: My virtual AP cannot access to internet?

Posted: Fri Sep 28, 2012 1:44 pm
by SurferTim
It would help if you post "/ip route" and "/ip firewall nat".

Re: My virtual AP cannot access to internet?

Posted: Fri Sep 28, 2012 11:26 pm
by wirelesswaves
not sure if I am understanding your set up correctly.. As Surfer Tim said, post setup.

But I think you need to put wlan (master) and wlan (vap) into a bridge.. Then change your dhcp client inetrface to the bridge, so that the bridge gets the IP instead of the original wlan1 interface.

Re: My virtual AP cannot access to internet?

Posted: Sat Nov 17, 2012 6:05 pm
by srijit92
I cannot connect to Virtual AP from client device but can connect master interface without any problem. Please help !

I have the following interface :

eth1 : Connected to WAN
wlan1 : Mater AP
wlan2 : Virual AP with wlan1 as Master

eth1 - 192.168.0.254
wlan1 - 192.168.10.1
wlan2 - 192.168.100.1.

I have DHCP Server running on both wlan1 and wlan2. In wlan2 DHCP Relay is 192.168.10.1.

A. ROUTE LIST :

# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 192.168.0.1 1
1 ADC 192.168.0.0/24 192.168.0.254 ether1 0
2 ADC 192.168.10.0/24 192.168.10.1 wlan1 0
3 ADC 192.168.100.0/24 192.168.100.1 wlan2 0

B. FIREWALL :

0 chain=srcnat action=masquerade out-interface=ether1

Re: My virtual AP cannot access to internet?

Posted: Sun Nov 18, 2012 1:32 pm
by SurferTim
I have DHCP Server running on both wlan1 and wlan2. In wlan2 DHCP Relay is 192.168.10.1.
Wlan2 should have its own dhcp server issuing 192.168.100.x ips. Take a look at
/ip hotspot host
and see what ips are being assigned to localnet clients.

Re: My virtual AP cannot access to internet?

Posted: Sun Nov 18, 2012 1:35 pm
by srijit92
Yes both have separate DHCP Server..

Re: My virtual AP cannot access to internet?

Posted: Sun Nov 18, 2012 1:36 pm
by srijit92

Re: My virtual AP cannot access to internet?

Posted: Sun Nov 18, 2012 1:37 pm
by srijit92
I have DHCP Server running on both wlan1 and wlan2. In wlan2 DHCP Relay is 192.168.10.1.
Wlan2 should have its own dhcp server issuing 192.168.100.x ips. Take a look at
/ip hotspot host
and see what ips are being assigned to localnet clients.
They are assigned 192.168.100.X IPs

Re: My virtual AP cannot access to internet?

Posted: Sun Nov 18, 2012 1:40 pm
by SurferTim
There are no hotspots on that virtual ap? Can you access websites from it using an ip rather than domain?
Virtual AP using DHCP in this mikrotik device (in IP range: 192.168.88.0): for releasing IP to client fine, but cannot access to internet
Then later you mention 192.168.100.1? Which is it?

Re: My virtual AP cannot access to internet?

Posted: Sun Nov 18, 2012 1:53 pm
by srijit92
There are no hotspots on that virtual ap? Can you access websites from it using an ip rather than domain?
Virtual AP using DHCP in this mikrotik device (in IP range: 192.168.88.0): for releasing IP to client fine, but cannot access to internet
Then later you mention 192.168.100.1? Which is it?
That's not my post!

Re: My virtual AP cannot access to internet?

Posted: Sun Nov 18, 2012 1:58 pm
by SurferTim
You should have started a new thread. Please post "/ip firewall filter".

Can you access the internet? Or just not the virtual ap ip?