Page 1 of 1

Configuring point-to-point wireless link

Posted: Sun Mar 21, 2010 11:39 pm
by KenHorse
I am very new to RouterOS but not networking overall.

I am currently attempting to configure 2 RB532's as a point-to-point link between 2 different sites, separated by several miles.

One site is my home, running a wired LAN with a Linux box acting as a router/gateway, using DSL. This system has been up and running for 10 years. It also runs DHCP server for the LAN. We'll call this Site A

At the remote site (a mountain radio site - 5 miles "as the crow flies"). We'll call this Site B.

Running RouterOS 3.30 on both ends. One has 1 radio installed and the other has 2 installed

At Site A, I want to give the RB532's ethernet 1 port a connection on the LAN (via the hub of course). Site A is to essentially provide a wireless connection to the LAN so I assume I just need to configure it as an AP, yes?

At Site B, the RB532 is to provide both a connection for a local computer on the 532's ethernet 1 port and provide local wireless coverage for the remote site as well (by connecting to my home AP of course).

Does this sound reasonable? And what would be the best way to configure things?




--

Re: Configuring point-to-point wireless link

Posted: Mon Mar 29, 2010 9:36 am
by kameelperdza
Try this.

--SITE A--

ip address add address=192.168.0.2/24(change to same ip range of your linux box) interface=ehter1
ip address add address=192.168.1.1/24 interface=wlan1
ip route add dst-network=192.168.2.0/24 gateway 192.168.1.2
ip route add dst-network=0.0.0.0/0 gateway 192.168.0.1(change to same ip range of your linux box)

--SITE B--

ip address add address=192.168.2.1/24 interface=ehter1
ip address add address=192.168.1.2/24 interface=wlan1
ip route add dst-network=0.0.0.0/0 gateway 192.168.1.1

If internet still does not work try adding this to router A.

ip firewall nat add action=masquerade

Re: Configuring point-to-point wireless link

Posted: Fri Apr 02, 2010 2:26 pm
by amcnm
can u make a step-by-step guide of that situation ? i use 2 rb 433 and i'm very new to the rb equipment :(

Re: Configuring point-to-point wireless link

Posted: Mon Apr 12, 2010 10:37 am
by amcnm
anyone ?

Re: Configuring point-to-point wireless link

Posted: Sun Apr 18, 2010 1:26 pm
by angboontiong
Try this.

--SITE A--

ip address add address=192.168.0.2/24(change to same ip range of your linux box) interface=ehter1
ip address add address=192.168.1.1/24 interface=wlan1
ip route add dst-network=192.168.2.0/24 gateway 192.168.1.2
ip route add dst-network=0.0.0.0/0 gateway 192.168.0.1(change to same ip range of your linux box)

--SITE B--

ip address add address=192.168.2.1/24 interface=ehter1
ip address add address=192.168.1.2/24 interface=wlan1
ip route add dst-network=0.0.0.0/0 gateway 192.168.1.1

If internet still does not work try adding this to router A.

ip firewall nat add action=masquerade

This will not working for his point-to-point solution.
and, the ip for the wlan1 is not require as well.
There is few more step was missing.

Happy trying...
8) 8) 8)

Re: Configuring point-to-point wireless link

Posted: Sun Apr 18, 2010 2:21 pm
by BS85
anyone ?
Have you read the manual and wiki pages?

Re: Configuring point-to-point wireless link

Posted: Wed Apr 21, 2010 12:43 am
by dejanb
Hi!

At the site A:

interface wireless set wlan1 name=wlan-link mode=bridge band=5GHz frequency=5200 tx-power-mode=card-rates ssid="some_name" disabled=no
interface bridge add name=interface-bridge protocol-mode=rstp disabled=no
interface bridge port add interface=wlan-link bridge=interface-bridge disabled=no
interface bridge port add interface=ether1 bridge=interface-bridge disabled=no
ip address add address=192.168.0.2/24 interface=interface-bridge disabled=no /change this to your linux box subnet/

At the site B:

interface wireless set wlan1 name=wlan-link mode=station band=5GHz frequency=5200 scan-list=5100-5800 tx-power-mode=card-rates ssid="some_name" disabled=no
interface wireless set wlan2 name=wlan-ap mode=ap-bridge band=2.4GHz frequency=2412 tx-power-mode=card-rates ssid="my_ap" disabled=no
interface ethernet set ether1 name=ether-local disabled=no
ip address add address=192.168.0.3/24 interface=wlan-link disabled=no /change this to your linux box subnet too!/
ip address add address=192.168.1.1/24 interface=ether-local disabled=no
ip address add address=192.168.2.1/24 interface=wlan-ap disabled=no
ip route add gateway="Your linux box"
ip dns set primary-dns="Your ISP dns" secondary-dns="Your ISP secondary dns"
ip firewall nat add chain=srcnat src-address=192.168.1.0/24 out interface=wlan-link action=masquerade disabled=no
ip firewall nat add chain=srcnat src-address=192.168.2.0/24 out interface=wlan-link action=masquerade disabled=no


On your PC LAN add something like this:

IP address=192.168.1.2
Subnet mask=255.255.255.0
Default-gateway=192.168.1.1
Primary and secondary DNS=Your ISP dns

On wireless client:

IP address=192.168.2.2
Subnet mask=255.255.255.0
Default-gateway=192.168.2.1
Primary and secondary DNS=Your ISP dns

You can use mikrotik access list function to allow or disallow wireless clients to connect to Your AP...

Regards...

Re: Configuring point-to-point wireless link

Posted: Wed Apr 21, 2010 12:45 am
by dejanb
Hi!

At the site A:

interface wireless set wlan1 name=wlan-link mode=bridge band=5GHz frequency=5200 tx-power-mode=card-rates ssid="some_name" disabled=no
interface bridge add name=interface-bridge protocol-mode=rstp disabled=no
interface bridge port add interface=wlan-link bridge=interface-bridge disabled=no
interface bridge port add interface=ether1 bridge=interface-bridge disabled=no
ip address add address=192.168.0.2/24 interface=interface-bridge disabled=no /change this to your linux box subnet/

At the site B:

interface wireless set wlan1 name=wlan-link mode=station band=5GHz frequency=5200 scan-list=5100-5800 tx-power-mode=card-rates ssid="some_name" disabled=no
interface wireless set wlan2 name=wlan-ap mode=ap-bridge band=2.4GHz frequency=2412 tx-power-mode=card-rates ssid="my_ap" disabled=no
interface ethernet set ether1 name=ether-local disabled=no
ip address add address=192.168.0.3/24 interface=wlan-link disabled=no /change this to your linux box subnet too!/
ip address add address=192.168.1.1/24 interface=ether-local disabled=no
ip address add address=192.168.2.1/24 interface=wlan-ap disabled=no
ip route add gateway="Your linux box"
ip dns set primary-dns="Your ISP dns" secondary-dns="Your ISP secondary dns"
ip firewall nat add chain=srcnat src-address=192.168.1.0/24 out interface=wlan-link action=masquerade disabled=no
ip firewall nat add chain=srcnat src-address=192.168.2.0/24 out interface=wlan-link action=masquerade disabled=no


On your PC LAN add something like this:

IP address=192.168.1.2
Subnet mask=255.255.255.0
Default-gateway=192.168.1.1
Primary and secondary DNS=Your ISP dns

On wireless client:

IP address=192.168.2.2
Subnet mask=255.255.255.0
Default-gateway=192.168.2.1
Primary and secondary DNS=Your ISP dns

You can use mikrotik access list function to allow or disallow wireless clients to connect to Your AP...

Regards...