Sunday, August 7, 2011

mikrotik script

10.10.1.1
up
/interface set 0 name=ether1-gateway
/ip route enable 0
/ip route disable 1

down
/interface set 0 name=ether1-down
/ip route disable 0
/ip route enable 1

10.10.2.1
up
/interface set 1 name=ether1-gateway

down
/interface set 1 name=ether2-down