Transparently Bridge two Networks: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
m (Reverted edits by Mneumark (Talk); changed back to last version by AiyE7f)
(No difference)

Revision as of 07:57, 16 August 2007

centro come nuoto occhialini www corriereannunci it stadio sei tutto quel che ho mp3 lucidi stampante benjamin anastas pilizia di stato provincia brescia www mercadocristiano com makkina fotografica hit mania dance 1996 asian ass showgirl italiana q s oregon rmr 183 panasonic x500 europa senza ali di giorgia valzer damore nuova 147 cicciolina e il suo cavallo avventure magica fiat impianto gpl colonne sonore film di natale mp3 player packard bell dollari dragostea din tei remix techno iwan i delfi lavasciuga san giorgio ombre del pavone macchina caffe in cialde gioco del monopoli eau de krizia perano samsung ht ds100 generatore vodafone casse amplificate attive windows xp inglese concessionario smart firenze download file hex scheda del film a tu per tu nude coppia imola hp driver finanziamento e credito presso bologna she wants to move n e r d etnapolis codici gioco wrestling sandali donna argento morte sul tamigi manb i niema mocnych delle case de contadini ferdinando adobe creative suite 2 win canon eos 350d rebel herbert von karajan mozart sagan, carl p il ricetta danubio sexo real gps bluetooth sirf star iii d-link wireless usb adapter palmari hp tom tom trevor horn ricetta napoletana uomini e no di elio vittorini scheda audio creative sound blaster live music studio videocamere compatte jeanett la boum vagima le campane di nagasaki canon - eos - 350d finanziamento acquisto auto via veneto mischka ri 7200 ts car races apocalittici video hilton e altri www unisa it thinkpad t40 r50 series 6-cell li-ion seggiolini isofix copertina cd je t aime antonio marturano www sunrise ch fineco proiettore alogeno indie, compagnia delle google com br ken hirai hitomi nokia 6630 memory da 1gb nec 313 driver solo singoli monitor tft 21 line6 variax ron livingston crissy moran tamron obiettivo ati radeon 9600 pro sapphire giselle itie adidas monaco televisore nero canto alla vita ivan cattaneo foto lcd 30 tom petty - e heartbreakers. playback sms sound nokia saitek cyborg evo force wc chimici oggettistica kurushi final sony cybershot dsc-s60 4 1 megapixel ddr2-533 400 super cazzoni emma fire mail boxes etc varese morrissey. hulmerist italgas piu ascolti di albano oye mi canto nore gf tedesco kankova ghizzoni spa symphoni x albergo malmo onionbooty com hingol fotocamere compatte olympus hotel economici andremo tutti in paradiso disco di avvio xp bellucci con la fica sborrata maracaibo testo della canzone il vecchio testamento flic il mio account volo civitanova marche simine tomasini hp deskjet 5150 cartucce fuji finepix a350 stampante samsung fronte-retro nardi cucine ati vivo home theatre denon avr 2105 hoj mp3 1 5 gb docce da giardino my happy ending sunrise las orejas de van fight night 2004 potrebbe avere un seguito centro sit oviesse una giornata under the bridge tekna win and web pascali pino libri intimo uomo dolce e gabbana vigile furb right back tolerancia il tennis su playstation 2 secondo midas samsung yh-920 20 gb gtr eamon i don t want you back bmx gratis chat live gabiccemare ricoh 4000 accessori loox 720 nokia 9300 communicator jej czarne oczy ivan lacie masterizzatore dvd le colline hanno gli occhi alfa romeo 145 1.3 ie l video hard di gena lee nolin melius nike 48 notizie di ieri a roma tuscany holidays carolina ardohain ralph lauren safari deodorant ganfbang franchising intimo occhiali dior hard 1 ray and peggy pierce condos for sala lettini chicco decoder digitale sat golberg theme philips aj3600 portorose alberghi e hotel lg 19 12ms video she s the one generatori reggio emilia sms gratis iscrizione ghost 8 0 0 984 sapphire ati radeon x800 pro centralino telefonico www kappa solo due parole Remote networks can be easily bridged using WDS feature of MikroTik RouterOS™. We will show it for the case when the networks are connected through Atheros wireless interface. Using EoIP, the can be extended to any other type of interfaces, like PPTP and CISCO/Aironet. WDS works only on Prism and Atheros based cards.

Let us assume the following network setup:

File:Bridge.jpg

Follow the steps below to create transparent bridge using WDS:

1. Create a bridge interface on AP and add ether1 interface to the bridge in WinBox

File:Transparently Bridge 1.jpg

File:Transparently Bridge 2.jpg

or in console

[admin@AP]> interface bridge add name=wds-bridge
[admin@AP]> interface bridge port add interface=ether1 bridge=wds-bridge

Do the same on the Station, and add ether1, wlan1 interfaces to the bridge in Winbox

File:Transparently Bridge 3.jpg

or in console

[admin@Station]> interface bridge add name=wds-bridge
[admin@Station]> interface bridge port add ether1 bridge=wds-bridge
[admin@Station]> interface bridge port add wlan1 bridge=wds-bridge

2. Make sure you have communication between MikroTik routers, i.e., one router is configured as server (AP), the other one as client (station). Configure wireless interface wlan1 on AP in WinBox

File:Transparently Bridge 4.jpg

or in conslole

[admin@AP]> interface wireless set wlan1 ssid=MikroTik frequency=5805 \
\... mode=bridge disabled=no

Do the same configuration on Client wireless interface (wlan1) in Winbox

File:Transparently Bridge 6.jpg

or in console

[admin@Station] interface wireless> set wlan1 mode=station-wds \
\... ssid=MikroTik  disabled=no

3. Create wds interface on AP and add the interface to the bridge in WinBox

File:Transparently Bridge 5.jpg

or in console

[admin@AP] interface wireless> set wlan1 wds-mode=dynamic \
\... wds-default-bridge=wds-bridge

4. Check whether the WDS link is established in WinBox

File:Transparently Bridge 7.jpg

or in console

[admin@AP] interface wireless wds> print
Flags: X - disabled, R - running, D - dynamic
0  RD name="wds1" mtu=1500 mac-address=00:0B:6B:30:B4:A4 arp=enabled
      disable-running-check=yes master-interface=wlan1
      wds-address=00:0B:6B:35:E5:5C

4. Add IP address on AP in WinBox

File:Transparently Bridge 8.jpg

or in console

[admin@AP]> ip address add address=10.1.0.215/24 interface=wds-bridge

And on Station:

[admin@Station]> ip address add address=10.1.0.216/24 interface=wds-bridge

5. Test the bridge by pinging from 10.0.0.215 to 10.0.0.216. Note, that the bridge needs 10...30s to learn addresses and start passing through traffic.

NOTE: If not using NAT/MANGLE nor anything doing with conntrack, remember to turn of it at both link ends.

In the console:

[admin@xx]> ip firewall connection tracking set enabled=no

This will help you get the full bandwidth the wireless link can achive freeing the CPU load.