One reality that all WISPs face is that all radio communications are half-duplex.Â When one end of a link is “speaking”, the other end must be “listening”.Â For many applications, this is sufficient for our purpose.Â When a link becomes busy, however, some types of communications are negatively impacted by the delays caused by this behaviour.Â Mikrotik RouterOS offers some options to help you alleviate this congestion without breaking the bank. In this article, I will discuss the details for how to configure Mikrotik RouterOS and OSPF to provide a simulated full-duplex link with the added benefit of failover to half-duplex in the event of a single link failure.
This idea is taken from an article I wrote on my main website back in November of 2006.
Some of the advantages with this method include:
- It is full duplex (simulated)
- It will offer automatic failover in the event of a link failure (only one link – and losing this link will lose the full duplex “feel” of the link)
- It is VERY scalable
Use the following diagram as a reference:
The first scenario will be exactly as pictured. The four bridge radios can be ANY type of bridge device. They could be Mikrotik RB600 or RB411 with a single radio and configured as WDS bridged links or they could be 2 sets of Trango Tlink10s. For the purpose of this discussion, the bridges must be there, but what the specific equipment will only determine just how much bandwidth you will or will not have.Â It is VERY IMPORTANT that the bridges pictured are true layer 2 bridges.
The basic idea is to create the links, then using OSPF path cost, cause the traffic from one side of the link to use link A and the traffic going the other way to use link B. If either link fails, the traffic will automatically failover and use the working link. I won’t discuss the configuration of the bridge devices, but they must be true bridges. (MT with WDS will work just fine).
Once you have the links in place, you will plug Link A into Router A on ether1, Link B into Router A on ether2 and the LAN side of Router A will be on ether3. The other side (Router B) will be done the same way. To understand how to set up OSPF, refer to Mikrotik’s documentation. You will add the following configurations to the indicated router:
/routing ospf network
add network=10.10.0.0/24 area=backbone
add network=10.10.1.0/24 area=backbone
/routing ospf interface add interface=ether1 cost=100
/routing ospf interface add interface=ether2 cost=100
This config will cause traffic from Router A lan side to use Link B (lower cost on ether2). Traffic from Router B will use Link A (lower cost on ether1). If either link fails, OSPF will automatically begin to use the working link.
If you wish, you can configure the same network using an RB600 (or other routerboard) with 2 wireless cards for Router A. The config is basically the same, except that what is shown as Bridge A and Bridge B would become wlan1 and wlan2. The configuration above would be changed appropriately (wlan1 = ether1).
An alternative method to accomplish a full duplex wireless link with Mikrotik is to use NStreme-dual. In the coming days, I’ll write the tutorial for building an NStreme-dual link.
I hope this article has been helpful.Â This type of “real-world” usefulness is typical of the information I cover in my training classes.Â For a training schedule, you can see my consulting website here.