Hi,
Please advise me how to setup a Wireless Bridge on MikroTik mAP-2n (It is a nice small box having RouterOS, 2 Ethernet ports and 1 WiFi).
My goal is to transparently connect 2 Web Cams to home LAN. A Home LAN is routed by Zyxel Keenetic Giga2 (Firewall, NAT, DHCP, …).
The picture is like this:
IPCAM====[MikroTik mAP 2n]…[Zyxel Keenetic Giga2, 192.168.1.1]====ISP
====== - is an Ethernet line,
… - is a wireless channel (Wi-Fi actually)
I have created Bridge on MikroTik, added Eht1, Eth2, WiFi interfaces to this bridge. Wifi is configured as “station” and connected to Zyxel.
However, it is insufficient some glue or magic.
Devices, connected to Mikrotik do not obtain IP addresses from Zyxel DHCP (and therefore do not work )
The problem could be the Zyxel connection not being completely transparent, you can try setting a IP > DHCP Relay to keep using the Zyxel as DHCP server, see http://wiki.mikrotik.com/wiki/Manual:IP/DHCP_Relay.
Station-bridge mode is only supported when the AP you connect to is MikroTik as well - unfortunately, standard 802.11 does not support L2 bridging (there’s only space for three MAC addresses where four would be needed).
You should try it with mode=station-pseudobridge-clone, see here in the manual
strange behavior…
when i set Station-bridge mode, clients of mikrotik cannot obtain IP address. I set Gateway = 192.168.1.2 (same IP as IP of bridge) - DHCP works. But ping from client is not reliable.
When I set pseudobridge-clone, client works.. But does not see another wired clent of mikrotik.
ZYXEL router log reports permanently:
Nov 25 22:34:45ndhcps_WEBADMIN: making OFFER of 192.168.1.43 to b8:27:eb:22:0e:e8.
Nov 25 22:34:55ndhcps_WEBADMIN: DHCPDISCOVER received from b8:27:eb:22:0e:e8.
Nov 25 22:34:56ndhcps_WEBADMIN: making OFFER of 192.168.1.43 to b8:27:eb:22:0e:e8.
Nov 25 22:35:03ndhcps_WEBADMIN: DHCPDISCOVER received from b8:27:eb:22:0e:e8.
…
I know, b8:27:eb:22:0e:e8 is the second client of mikrotik (on Ethernet2 port).
So, on my first client (Windows computer on Ethernet 1 port) i see ARP report:
Interface: 192.168.1.37 — 0xb
Internet address MAC Type
192.168.1.1 10-7b-ef-55-38-b4 dynamic
192.168.1.35 00-11-32-03-b1-13 dynamic
192.168.1.40 00-00-00-00-00-00 invalid
192.168.1.42 00-00-00-00-00-00 invalid
192.168.1.43 00-00-00-00-00-00 invalid
192.168.1.254 00-00-00-00-00-00 invalid
I guess that you’ll get similar errors because bridging a wireless interface used as a station is kinda non-standard. You might be better off using dst-nat.
I found out, that on side of Zyxel router I see a WIFI connection form Mikrotik router, but this connection does not have IP address (just 0.0.0.0)!
Probably, it is the key problem?
My current configuration is: