You are on page 1of 8

Auto Redundancy in MikroTik using Modem

Mahfuj Sabuj: 01723 928 966


Primary Link Configure :: IP Address
/ip address add address=172.16.1.192/23 interface=ether1

Mahfuj Sabuj: 01723 928 966


Primary Link Configure :: IP Route

/ip route add dst-address=0.0.0.0/0 gateway=172.16.1.1 check-


gateway=ping distance=1

Mahfuj Sabuj: 01723 928 966


Secondary Link (MODEM) Configure:
/interface ppp-client add name=ppp-out1 port=usb1 phone=*99#
dial-on-demand=no add-default-route=no use-peer-dns=no

Mahfuj Sabuj: 01723 928 966


Mahfuj Sabuj: 01723 928 966
Secondary Link Configure :: IP Route

/ip route add dst-address=0.0.0.0/0 gateway=ppp-out1 check-


gateway=ping distance=2

Mahfuj Sabuj: 01723 928 966


LAN Configure :: IP Address
/ip address add address=192.168.1.1/24 interface=ether5

Mahfuj Sabuj: 01723 928 966


LAN Configure :: IP NAT
/ip firewall nat add chain=src-nat src-address=192.168.1.0/24
action=masquerade

You might also like