OSPF to simulate full duplex links with redundancy
I have a critical wireless connection that needs both speed and reliability. I saw somewhere in the forum that simulating full duplex using ospf might be the way to go. This scenario will eliminate the primary problem with both dual nstreme and bonded links: If one of the sub links goes down, the entire link is down. With an OSPF link, if one goes down, in a few seconds, all traffic is going over the other link.
I am working with 2 RB 333 units with two R52s in each.
RB #1 Local
Enable both wlan connections, I set one up as an wlan1 ap and wlan2 as a station (this is not necessary It just makes me feel good to receive to a station and broadcast as an ap.
[admin@2Sutton] /interface wireless> print
Flags: X - disabled, R - running
0 R name="wlan1" mtu=1500 mac-address=00:0C:42:05:64:F3 arp=enabled interface-type=Atheros AR5413 mode=ap-bridge ssid="jetspeed" frequency=5180 band=5ghz scan-list=default antenna-mode=ant-a wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no default-authentication=yes default-forwarding=yes default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=default compression=no
1 R name="wlan2" mtu=1500 mac-address=00:0C:42:1B:0B:7D arp=enabled interface-type=Atheros AR5413 mode=station ssid="jetspeed2" frequency=5220 band=5ghz scan-list=default antenna-mode=ant-a wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no default-authentication=yes default-forwarding=yes default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=default compression=no
set ether1 to any Local lan address 192.168.209.137/24
set wlan1 to a router subnet address 192.168.88.131/30 -- I use small subnets for p2p links for efficiency
set wlan2 to a router address on a different subnet 192.168.88.132/30
[admin@2Sutton] /ip address> print Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE 0 192.168.88.129/30 192.168.88.128 192.168.88.131 wlan1 1 192.168.88.134/30 192.168.88.132 192.168.88.135 wlan2 2 192.168.209.137/24 192.168.209.0 192.168.209.255 ether1
Create an OSPF area like 0.0.0.1 named something like remote-net
[admin@2Sutton] /routing ospf area> print Flags: X - disabled
# NAME AREA-ID TYPE DEFAULT-COST 0 backbone 0.0.0.0 default 1 remote-net 0.0.0.1 default
add your remote network and routed links to the area (mine is all in one /24 even though it is three subnets)
[admin@2Sutton] /routing ospf network> print Flags: X - disabled, I - invalid
# NETWORK AREA 0 192.168.88.0/24 remote-net
Your interfaces will automatically populate when you add the second router......
RB2 Remote Enable both wlan connections, I set one up as an wlan1 ap and wlan2 as a station
[admin@Sutton To SCtelcom] /interface wireless> print Flags: X - disabled, R - running
0 R name="wlan1" mtu=1500 mac-address=00:0C:42:1B:0B:84 arp=enabled interface-type=Atheros AR5413 mode=ap-bridge ssid="2SCTelcom" frequency=5200 band=5ghz scan-list=default antenna-mode=ant-a wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no default-authentication=yes default-forwarding=yes default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=default compression=no
1 R name="wlan2" mtu=1500 mac-address=00:0C:42:1B:0B:57 arp=enabled interface-type=Atheros AR5413 mode=station ssid="2Sutton" frequency=5180 band=5ghz scan-list=default antenna-mode=ant-a wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no default-authentication=yes default-forwarding=yes default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=default compression=no
set ether1 to the gateway address you will be using at the remote network 192.168.88.1/25
set wlan1 to a router address you are receiving from on rb1 192.168.88.130/30
set wlan2 to a router address on a the subnet that you are broadcasting from in the rb1 192.168.88.133/30
[admin@Sutton To SCtelcom] /ip address> print Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE 0 ;;; default configuration 192.168.88.1/24 192.168.88.0 192.168.88.255 ether1 1 192.168.88.133/30 192.168.88.132 192.168.88.135 wlan1 2 192.168.88.130/30 192.168.88.128 192.168.88.131 wlan2
Create the same OSPF areas and networks you made on RB1
[admin@Sutton To SCtelcom] /routing ospf> area print Flags: X - disabled
# NAME AREA-ID TYPE DEFAULT-COST 0 backbone 0.0.0.0 default 1 remote-net 0.0.0.1 default
[admin@Sutton To SCtelcom] /routing ospf> network print Flags: X - disabled, I - invalid
# NETWORK AREA 0 192.168.88.0/24 remote-net
Now Run a bandwidth test between the routers
(image edited only to show the matching values on the above config) File:Fullduplex.gif