Community discussions

MikroTik App
 
marcus65
newbie
Topic Author
Posts: 26
Joined: Fri Feb 08, 2013 4:15 am
Location: Brooklyn, New York

Problem with virtualAP on separate Network

Tue May 14, 2013 6:20 am

I setup a virtual AP but deleted because of problems with a laptop. The Laptop was the problem and when I reconfigured the virtual AP the router is telling me the separate LAN I created for the Virtual AP (wlan2) is unreachable.
1. I created the Virtual AP with a SSID & Open security
2. I gave the wlan2 interface an address (192.168.2.1/27)
3. The SSID is visable (can't login)
4* The IP Route page shows the 192.168.2.0/27 network as unreachable with a distance of 255. Output below
[admin@kp-router] /ip route> pr
Flags: X - disabled, A - active, D - dynamic, 
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, 
B - blackhole, U - unreachable, P - prohibit 
 #      DST-ADDRESS        PREF-SRC        GATEWAY            DISTANCE
 0 ADS  0.0.0.0/0                          1.2.3.4                   1
 1 A S  10.0.0.0/17                        192.168.1.2               1
 2 ADC  1.2.3.X/23         1.2.3.4        ether1-gateway             0
 3 ADC  192.168.1.0/24     192.168.1.1     bridge-local              0
 4  DC  192.168.2.0/27     192.168.2.1     wlan2                   255
What did I forget?
Last edited by marcus65 on Tue May 14, 2013 4:21 pm, edited 3 times in total.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Problem with virtualAP on separate Network

Tue May 14, 2013 1:18 pm

Which wlan is your master interface for the VAP? Maybe you should post "/interface wireless".
 
marcus65
newbie
Topic Author
Posts: 26
Joined: Fri Feb 08, 2013 4:15 am
Location: Brooklyn, New York

Re: Problem with virtualAP on separate Network

Tue May 14, 2013 4:09 pm

I made wlan1 the master as shown below
[admin@kp-router] /interface wireless> pr
Flags: X - disabled, R - running 
 0  R name="wlan1" mtu=1500 mac-address=D4:CA:6D:7B:BC:5F arp=enabled 
      interface-type=Atheros AR9300 mode=ap-bridge ssid="kp-private" 
      frequency=2412 band=2ghz-b/g/n channel-width=20/40mhz-ht-above 
      scan-list=default wireless-protocol=802.11 wds-mode=disabled 
      wds-default-bridge=none wds-ignore-ssid=no bridge-mode=enabled 
      default-authentication=yes default-forwarding=yes default-ap-tx-limit=0 
      default-client-tx-limit=0 hide-ssid=yes security-profile=default 
      compression=no 

 1    ;;; Public Wireless Network
      name="wlan2" mtu=1500 mac-address=D6:CA:6D:7B:BC:5F arp=enabled 
      interface-type=virtual-AP master-interface=wlan1 ssid="Kermitnet" 
      wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no 
      bridge-mode=enabled default-authentication=yes default-forwarding=yes 
      default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no 
      security-profile=Open 
BTW:
I can ping the wlan2 interface (192.168.2.1) from any client on 192.168.1.0/24
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Problem with virtualAP on separate Network

Tue May 14, 2013 4:44 pm

Do you have a dhcp server set up on your VAP? And when you say "can't login", you mean "can't connect"? Or can't go anywhere?

add: I do not see where the network is unreachable. I see nobody connected to wlan2 (no 'A'), but it is not showing 'U' (unreachable).
 
marcus65
newbie
Topic Author
Posts: 26
Joined: Fri Feb 08, 2013 4:15 am
Location: Brooklyn, New York

Re: Problem with virtualAP on separate Network

Tue May 14, 2013 5:14 pm

I feel lke a jerk!

Last night I could not connect,or draw an IP address from the dhcp server I setup on wlan2. The netwok (192.168.2.0) and interface were marked unreahable with a distance of 255 in the webfig. IP Route page (attached). It all looked rhe same this morning.

I just tried to connect and it works!!

What happened between last night (and the past several days, I've reconfigured this several times ovr the weekend to no avail. I try not to bother this forum unnecessarily) and thi morning? do I need to reboot? do I need to let a new configuration "sit" for a while??

What happened?
You do not have the required permissions to view the files attached to this post.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Problem with virtualAP on separate Network

Tue May 14, 2013 5:23 pm

The "unreachable" shows if there is no device connected to that interface. When you connect with a wireless device, it will change to reachable until you disconnect, then it shows unreachable again.

Who is online

Users browsing this forum: No registered users and 31 guests