Community discussions

MikroTik App
 
KenHorse
just joined
Topic Author
Posts: 2
Joined: Sun Mar 21, 2010 8:08 pm

Configuring point-to-point wireless link

Sun Mar 21, 2010 11:39 pm

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?




--
 
User avatar
kameelperdza
Member
Member
Posts: 469
Joined: Thu Nov 27, 2008 11:45 am
Location: Oudtshoorn, South Africa

Re: Configuring point-to-point wireless link

Mon Mar 29, 2010 9:36 am

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
Give me some karma
 
amcnm
just joined
Posts: 2
Joined: Fri Apr 02, 2010 2:21 pm

Re: Configuring point-to-point wireless link

Fri Apr 02, 2010 2:26 pm

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 :(
 
amcnm
just joined
Posts: 2
Joined: Fri Apr 02, 2010 2:21 pm

Re: Configuring point-to-point wireless link

Mon Apr 12, 2010 10:37 am

anyone ?
 
angboontiong
Forum Guru
Forum Guru
Posts: 1115
Joined: Fri Jan 16, 2009 9:59 am

Re: Configuring point-to-point wireless link

Sun Apr 18, 2010 1:26 pm

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)
 
BS85
newbie
Posts: 25
Joined: Sun May 28, 2006 8:52 am
Location: UK

Re: Configuring point-to-point wireless link

Sun Apr 18, 2010 2:21 pm

anyone ?
Have you read the manual and wiki pages?
 
dejanb
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Wed Apr 21, 2010 12:05 am
Location: Serbia, Belgrade

Re: Configuring point-to-point wireless link

Wed Apr 21, 2010 12:43 am

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...
 
dejanb
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Wed Apr 21, 2010 12:05 am
Location: Serbia, Belgrade

Re: Configuring point-to-point wireless link

Wed Apr 21, 2010 12:45 am

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...

Who is online

Users browsing this forum: harvey, mhenriques and 37 guests