BGP Load Balancing
Posted: Mon Feb 07, 2011 4:08 pm
Hello!
Please help me to adjust load balancing for outgoing traffic.
Have 2 ISP, each of them give us Full View. And have 1 Uplink from both ISP, totally we have 2 uplinks. It is necessary to adjust mikrotik so that the proceeding traffic was distributed between two uplinks in regular intervals, or almost in regular intervals.
ROS v5.0rc8 on x86
Please help me to adjust load balancing for outgoing traffic.
Have 2 ISP, each of them give us Full View. And have 1 Uplink from both ISP, totally we have 2 uplinks. It is necessary to adjust mikrotik so that the proceeding traffic was distributed between two uplinks in regular intervals, or almost in regular intervals.
ROS v5.0rc8 on x86
Code: Select all
set default as=9177 client-to-client-reflection=no disabled=no ignore-as-path-len=no name=default out-filter="" redistribute-connected=no redistribute-ospf=no \
redistribute-other-bgp=no redistribute-rip=no redistribute-static=no router-id=82.200.96.130 routing-table=""
add as=9177 client-to-client-reflection=no disabled=no ignore-as-path-len=no name=ZAO_KES out-filter="" redistribute-connected=no redistribute-ospf=no redistribute-other-bgp=no \
redistribute-rip=no redistribute-static=no router-id=62.32.76.85 routing-table=""
/routing bgp network
add disabled=no network=81.161.208.0/20 synchronize=no
add disabled=no network=193.169.60.0/23 synchronize=no
add disabled=no network=46.172.96.0/19 synchronize=no
/routing bgp peer
add address-families=ip as-override=no default-originate=never disabled=no hold-time=3m in-filter=ZSTTK_Weight instance=default multihop=no name=ZSTTK nexthop-choice=default \
out-filter=ZSTTK_Prepend passive=no remote-address=82.200.96.129 remote-as=21127 remove-private-as=no route-reflect=no tcp-md5-key="" ttl=default use-bfd=no
add address-families=ip as-override=no default-originate=never disabled=no hold-time=3m in-filter=ZAO_KES_Weight instance=ZAO_KES multihop=no name=ZAO_KES nexthop-choice=\
default out-filter=ZAO_KES_Prepend passive=no remote-address=62.32.76.85 remote-as=44436 remove-private-as=no route-reflect=no tcp-md5-key="" ttl=default use-bfd=no
Code: Select all
/routing filter
add action=passthrough chain=bgp-out disabled=yes invert-match=no set-bgp-local-pref=122 set-bgp-prepend=3
add action=passthrough chain=ZSTTK_Prepend disabled=no invert-match=no prefix=0.0.0.0
add action=passthrough chain=ZAO_KES_Prepend disabled=no invert-match=no prefix=0.0.0.0 set-bgp-prepend=15