Hello,
i have used mikrotik policy routing implementation example found in Butch Evans blog http://blog.butchevans.com/2008/09/mikr ... n-example/,
i modified it for 4 gateway, it works but navigation become very very slow.
why???
/ip firewall mangle print
/ip route print detail
/ip route rule print
/ip route
add gateway=10.4.1.252 routing-mark=adsl1
add gateway=192.168.1.1 routing-mark=adsl2
add gateway=192.168.3.1 routing-mark=adsl3
add gateway=192.168.4.1 routing-mark=adsl4
add gateway=10.4.1.0/24 comment="router Default via adsl1"
/ip route rule
add dst-address=192.168.0.0/16 action=lookup table=main
add dst-address=10.0.0.0/8 action=lookup table=main
add src-address=10.4.1.0/24 action=lookup table=adsl1
add src-address=192.168.1.0/24 action=lookup table=adsl2
add src-address=192.168.3.0/24 action=lookup table=adsl3
add src-address=192.168.4.0/24 action=lookup table=adsl4
add routing-mark=adsl1 action=lookup table=adsl1
add routing-mark=adsl2 action=lookup table=adsl2
add routing-mark=adsl3 action=lookup table=adsl3
add routing-mark=adsl4 action=lookup table=adsl4
add routing-mark=main action=lookup table=main
/ip firewall mangle
add comment="Route local via main" \
chain=prerouting action=mark-routing \
dst-address=192.168.0.0/16 \
new-routing-mark=main passthrough=no
add comment="Route local via main" \
chain=prerouting action=mark-routing \
dst-address=10.0.0.0/8 \
new-routing-mark=main passthrough=no
add comment="adsl1 load balance" \
chain=prerouting action=mark-routing \
new-routing-mark=adsl1 passthrough=no \
src-address=192.168.2.0/26
add comment="adsl2 load balance" \
chain=prerouting action=mark-routing \
new-routing-mark=adsl2 passthrough=no \
src-address=192.168.2.64/26
add comment="adsl3 load balance" \
chain=prerouting action=mark-routing \
new-routing-mark=adsl3 passthrough=no \
src-address=192.168.2.128/26
add comment="adsl4 load balance" \
chain=prerouting action=mark-routing \
new-routing-mark=adsl4 passthrough=no \
src-address=192.168.2.192/26