156
AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers
RouterOS v3 Configuration and User Guide
name
(
name
) - descriptive name of bonding interface
primary
(
name
; default:
none
) - Interface is used as primary output media. If primary interface fails, only
then others slaves will be used. This value works only with
mode=active-backup
slaves
(
name
) - at least two ethernet-like interfaces separated by a comma, which will be used for
bonding
up-delay
(
time
; default:
00:00:00
) - if a link has been brought up, bonding interface is disabled for
up-
delay
time and after this time it is enabled. Value should be a multiple of
mii-interval
Application Examples
Bonding two EoIP tunnels
Assume you need to configure the AT-WR4500 router for the following network setup, where you have
two offices with 2 ISP for each. You want combine links for getting double speed and provide failover:
[Office1]
[Office2]
Internet ISP2
Local Net
Local net
10.0.0.1
Eoip-tunnel 1
Eoip-tunnel 2
Internet ISP1
bonding1
Figure 21: Bonding two EoIP tunnels
We are assuming that connections to Internet through two ISP are configured for both routers.
Office1 configuration:
[admin@office1] > /interface print
Flags: X - disabled, D - dynamic, R - running
# NAME TYPE RX-RATE TX-RATE MTU
0 R isp1 ether 0 0
1500
1 R isp2 ether 0 0
1500
[admin@office1] > /ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 1.1.1.1/24 1.1.1.0 1.1.1.255 isp2
1 10.1.0.111/24 10.1.0.0 10.1.0.255 isp1