Here i will show you the simple configuration of Aoto switchover between two isp .
Note to remember.
In this configuration, At a time one link will be worked .So if the primary link will be completely down the link will be switched over to secondary.
In this configuration simultaneously you can't send the traffic on 2 isp.
Step-1:Create the interface group.
/interface list
add name=WAN
add name=LAN
/interface list member
add interface=eth1 list=WAN
add name=WAN
add name=LAN
/interface list member
add interface=eth1 list=WAN
add interface=eth2 list=WAN
add interface=eth3 list=LAN
add interface=eth3 list=LAN
Step-2-Configure The IP address.
/ip address
add address=172.20.20.1/30 comment=VODA interface=eth1 network=172.20.20.0
add address=172.20.20.5/30 comment=AIRTEL interface=eth2 network=172.20.20.4
add address=172.21.21.1/24 comment=MY_LAN interface=eth3 network=172.21.21.0
add address=172.20.20.1/30 comment=VODA interface=eth1 network=172.20.20.0
add address=172.20.20.5/30 comment=AIRTEL interface=eth2 network=172.20.20.4
add address=172.21.21.1/24 comment=MY_LAN interface=eth3 network=172.21.21.0
Step-3-Configure the IP route.
/ip route
add check-gateway=ping distance=1 gateway=172.20.20.2
add check-gateway=ping distance=2 gateway=172.20.20.6
add check-gateway=ping distance=1 gateway=172.20.20.2
add check-gateway=ping distance=2 gateway=172.20.20.6
Step-4-Configure the NAT for both the interface.
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN
No comments:
Post a Comment