Transparent Bridge, using WDS
You can also use WDS to bridge 2 networks transparently.
-
Configure wireless interface wlan1 on AP: [admin@AP]>
interface wireless set wlan1 ssid=mikrotik frequency=5805
... mode=bridge wds-mode=dynamic disabled=no
Do the same configuration on Client wireless interface
(wlan1): [admin@Client]>
interface wireless set wlan1 ssid=mikrotik frequency=5805
... mode=bridge wds-mode=dynamic disabled=no
-
Check whether the WDS link is established: [admin@AP] interface wireless wds> print
Flags: X - disabled, R - running, D - dynamic
0 RD name="wds1" mtu=1500 mac-address=00:0B:6B:31:02:4B arp=enabled
disable-running-check=yes master-interface=wlan1
wds-address=00:0B:6B:31:08:22
[admin@AP] interface wireless wds>
-
Create a bridge interface on AP, and add wlan1 and
ether1 interfaces to the bridge. The WDS interface will be added
automatically to the bridge if you specify wds-default-bridge
parameter: [admin@AP]>
interface bridge add name=wds-bridge
[admin@AP]>
interface bridge port set wlan1,ether1 bridge=wds-bridge
[admin@AP]>
interface wireless set wlan1 wds-default-bridge=wds-bridge
Do the same on Client: [admin@Client]>
interface bridge add name=wds-bridge
[admin@Client]>
interface bridge port set wlan1,ether1 bridge=wds-bridge
[admin@Client]>
interface wireless set wlan1 wds-default-bridge=wds-bridge
-
Add IP address on AP: [admin@AP]> ip address add address=10.1.0.1/24 interface=wds-bridge
And on Client: [admin@Client]> ip address add address=10.1.0.2/24 interface=wds-bridge
-
Test the link: [admin@AP]> ping 10.1.0.2
10.1.0.2 64 byte ping: ttl=64 time=1 ms
10.1.0.2 64 byte ping: ttl=64 time=1 ms
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 1/1.0/1 ms
[admin@AP]> |