Community discussions

MikroTik App
 
crovax
just joined
Topic Author
Posts: 4
Joined: Tue Mar 20, 2007 3:19 pm

Two rb532, two modems... how to control connections?

Mon Jun 11, 2007 1:11 pm

Hello,
first of all I am not sure if this is the correct category about this topic, so excuse me if I am wrong.
I have two rb532 and two modems.I am connecting each modem to a routerboard through ethernet, so i have a connection between the two routerboards like the image below.

rb532 ---eth---modem---------------modem---eth---rb532

I would like to find a way to make a wds link when the connection between the two modems is lost or the bandwidth goes low.
The modems have snmp and there is a value that shows the bandwidth between them but i didn't find any way to make the rb532 read this value.
Can anyone propose a solution using scripts, marking packets,firewalling ...whatever? :(

Thank you
 
crovax
just joined
Topic Author
Posts: 4
Joined: Tue Mar 20, 2007 3:19 pm

Re: Two rb532, two modems... how to control connections?

Tue Jun 19, 2007 3:11 pm

None answer me ... :(

If I have always active and running the wds connection between the two rb532 how am I going to force the traffic to pass through ethernet to the modems? When the wds is up then the rb532 pass the traffic through wireless.
I tried to make it work by marking packets and give a gateway but probably I am not very good :(

Can you help to find a way to pass the traffic through ethernet-modems and if that fails then through wireless?

Thank you
 
Diganet
Member
Member
Posts: 342
Joined: Sun Oct 30, 2005 9:30 pm
Location: Denmark
Contact:

Re: Two rb532, two modems... how to control connections?

Mon Jun 25, 2007 12:38 pm

You would have to use routing and be able to assign IP adresses to the modems.. RouterOS can then monitor and change routes if link goes down.

/Henrik
 
crovax
just joined
Topic Author
Posts: 4
Joined: Tue Mar 20, 2007 3:19 pm

Re: Two rb532, two modems... how to control connections?

Mon Jun 25, 2007 3:40 pm

First of all thank you for your reply :)

I have already wrote a script that monitors the status of the link of the ethernet and controls (enable/disable) the wireless connection.

But the problem is that there is a possibility the ethernet link to be ok and the connection between the two modems to be down. The only way to find that there is connection between modems is telnet into them and read the status of them. But I think I can't use telnet into a script.

So I was thinking to have the wireless connection up all the time and give to the routerboard two alternatives routes with priority to the one that goes through the modems and if that route fails automatically uses the route that goes through wireless.

I would be happy to hear any idea and any alternative solution.

Thank you

PS: I am not very good with the routing stuff so probably that is my problem :(
 
Diganet
Member
Member
Posts: 342
Joined: Sun Oct 30, 2005 9:30 pm
Location: Denmark
Contact:

Re: Two rb532, two modems... how to control connections?

Tue Jun 26, 2007 12:42 am

First of all thank you for your reply :)

I have already wrote a script that monitors the status of the link of the ethernet and controls (enable/disable) the wireless connection.

But the problem is that there is a possibility the ethernet link to be ok and the connection between the two modems to be down. The only way to find that there is connection between modems is telnet into them and read the status of them. But I think I can't use telnet into a script.

So I was thinking to have the wireless connection up all the time and give to the routerboard two alternatives routes with priority to the one that goes through the modems and if that route fails automatically uses the route that goes through wireless.

I would be happy to hear any idea and any alternative solution.

Thank you

PS: I am not very good with the routing stuff so probably that is my problem :(
You could use STP (Spanning Tree) raising the cost for the WDS link would make it the second choise

/Henrik

Who is online

Users browsing this forum: almdandi, garyjduk, massinia, vingjfg and 49 guests