Rabu, 25 April 2012

fail over mikrotik 2


/ip address add address=192.168.1.2/30 interface=ether1
/ip address add address=192.168.2.2/30 interface=ether2
/ip address add address=192.168.100.1/24 interface=ether3
/ip address add address=192.168.101.1/24 interface=wlan1
/ip firewall mangle add chain=prerouting src-address=192.168.100.0/24 action=mark-routing new-routingmark=SUBNET1-RM
/ip firewall mangle add chain=prerouting src-address=192.168.101.0/24 action=mark-routing new-routingmark=SUBNET1-RM
/ip route add gateway=192.168.1.1,192.168.2.1,192.168.2.1
/ip route add gateway=192.168.1.1 routing-mark=SUBNET1-RM check-gateway=ping
/ip route add gateway=192.168.2.1

Tidak ada komentar:

Posting Komentar