Dual Setup with OSPF: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
mNo edit summary
 
(warning wrong config)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
In this setup we will be connecting a PTP configuration using a Dual Setup and OSPF ([http://en.wikipedia.org/wiki/Open_Shortest_Path_First Open Shortest Path First]).<br>
In this setup we will be connecting a PTP configuration using a Dual Setup and OSPF ([http://en.wikipedia.org/wiki/Open_Shortest_Path_First Open Shortest Path First]).<br>
The requirements for this set up is to have a board that supports at least 02 radios.<br>
The requirements for this set up is to have a board that supports at least 02 radios.<br>
If you would like to double the bandwidth and redundancy, take a look at this [http://wiki.mikrotik.com/wiki/Setup_Dual_Wireless_Link_with_OSPF Tutorial with Dual Radios].<br>


The advantages for this setup are: <br>
The advantages for this setup are: <br>
* Double the maximum throuput with Full Duplex<br>
* Full Duplex<br>
* Automatic Failover <br>
* Automatic Failover <br>
* No delay of packets. The same set up utilizing [[Nstreme_dual_Step-by-Step|N-Streme-Dual]] can cause delay, which can be a problem if you're dealing with VoIP or applications that requires maximum response.<br>
* No delay of packets. The same set up utilizing [[Nstreme_dual_Step-by-Step|N-Streme-Dual]] can cause delay, which can be a problem if you're dealing with VoIP or applications that requires maximum response.<br>
Line 9: Line 10:


[[Image:Full-duplex.gif]]
[[Image:Full-duplex.gif]]
{{Warning | In illustration above, both remote networks are from the same subnet. Such setup is not valid, each remote network must be from the different subnet. In configuration below on Router B 192.168.0.2/24 is replaced with 192.168.1.1/24 }}


Configuring the Radio A:
Configuring the Radio A:
Line 19: Line 22:


Configuring the Radio B:
Configuring the Radio B:
  /ip address add address=192.168.0.2/24 interface=ether1
  /ip address add address=192.168.1.1/24 interface=ether1
  /ip address add address=192.168.10.2/24 interface=wlan1
  /ip address add address=192.168.10.2/24 interface=wlan1
  /ip address add address=192.168.20.2/24 interface=wlan2
  /ip address add address=192.168.20.2/24 interface=wlan2

Latest revision as of 07:26, 9 September 2010

In this setup we will be connecting a PTP configuration using a Dual Setup and OSPF (Open Shortest Path First).
The requirements for this set up is to have a board that supports at least 02 radios.
If you would like to double the bandwidth and redundancy, take a look at this Tutorial with Dual Radios.

The advantages for this setup are:

  • Full Duplex
  • Automatic Failover
  • No delay of packets. The same set up utilizing N-Streme-Dual can cause delay, which can be a problem if you're dealing with VoIP or applications that requires maximum response.
  • This set up can make use of two radios at each end, so the availability becomes even more robust in case of a radio failure.

File:Full-duplex.gif

Icon-warn.png

Warning: In illustration above, both remote networks are from the same subnet. Such setup is not valid, each remote network must be from the different subnet. In configuration below on Router B 192.168.0.2/24 is replaced with 192.168.1.1/24


Configuring the Radio A:

/ip address add address=192.168.0.1/24 interface=ether1
/ip address add address=192.168.10.1/24 interface=wlan1
/ip address add address=192.168.20.1/24 interface=wlan2
/routing ospf network add network=192.168.10.0/24 area=backbone1
/routing ospf network add network=192.168.20.0/24 area=backbone1
/routing ospf interface add interface=wlan1 cost=100

Configuring the Radio B:

/ip address add address=192.168.1.1/24 interface=ether1
/ip address add address=192.168.10.2/24 interface=wlan1
/ip address add address=192.168.20.2/24 interface=wlan2
/routing ospf network add network=192.168.10.0/24 area=backbone1
/routing ospf network add network=192.168.20.0/24 area=backbone1
/routing ospf interface add interface=wlan2 cost=100

This set will cause the incoming traffic to use wlan1 on A and wlan2 on B.
This also will use any available path to get to the other side (Failover with OSPF).