Estou na mesma que vc, conseguiu solucionar teu problema?
Prezados colegas,
com a ajuda dos post consegui configurar meu BGP com 2 operadoras e tudo funcionando, mas estou com dificuldade em fazer o balanceamento.
Operadora 1 = 20MB
Operadora 2 = 40MB
O que ocorre que a operadora 1 que possui link menor fica logo com o link full e a outra fica com um consumo semelhante ou seja, a operadora 1 lota e operadora 2 fica em 50% ou que deixa o acesso prejudicado.
Abaixo estão as configurações caso alguem posso me dar alguma sugestão.
/routing bgp instance
set default as=53xxx client-to-client-reflection=no comment="" disabled=no ignore-as-path-len=no name=default \
out-filter=AS_out2 redistribute-connected=no redistribute-ospf=no redistribute-other-bgp=no redistribute-rip=no \
redistribute-static=no router-id=186.xx.112.1
/routing bgp network
add disabled=no network=186.xx.112.0/21 synchronize=no
add disabled=no network=186.xxx.120.0/21 synchronize=no
add disabled=no network=186.xxx.112.0/20 synchronize=no
/routing bgp peer
add address-families=ip comment="" disabled=no hold-time=3m in-filter=BOGONS instance=default interface=wan_1 multihop=\
yes name=operadora_1 nexthop-choice=default out-filter=AS_out2 remote-address=200.xx.xxx.217 remote-as=14xxx \
route-reflect=no tcp-md5-key="" ttl=255 update-source=loopback
add address-families=ip comment="" disabled=no hold-time=3m in-filter=BOGONS instance=default multihop=yes name=operadora_2 \
nexthop-choice=default out-filter=AS_out remote-address=189.75.xx.xx remote-as=81xx route-reflect=no tcp-md5-key="" \
ttl=255 update-source="(unknown)"
Filtro operadora 1
add action=discard chain=AS_out2 comment="" disabled=no invert-match=no prefix=!186.xxx.112.0/20 prefix-length=32 \
set-bgp-weight=20
add action=accept chain=AS_out2 comment=yes disabled=no invert-match=no prefix=186.xxx.112.0/20 prefix-length=32 \
set-bgp-local-pref=100 set-bgp-prepend=3 set-bgp-weight=20
add action=passthrough chain=AS_out2 comment="" disabled=no invert-match=no prefix=186.xxx.112.0/20 set-bgp-local-pref=\
100 set-bgp-prepend=3 set-bgp-weight=20
add action=passthrough chain=AS_out2 comment="" disabled=no invert-match=no set-bgp-weight=20
add action=discard bgp-as-path-length=!0-2 chain=AS_out2 comment="" disabled=no invert-match=no[/TABLE]
filtro operadora 2
add action=discard chain=AS_out comment="" disabled=no invert-match=no prefix=!186.xxx.112.0/20 prefix-length=32 \
set-bgp-weight=20
add action=accept chain=AS_out comment=yes disabled=no invert-match=no prefix=186.xxx.112.0/20 prefix-length=32 \
set-bgp-weight=20
add action=passthrough chain=AS_out comment="" disabled=no invert-match=no prefix=186.xxx.112.0/20 protocol="" \
set-bgp-weight=20
add action=passthrough chain=AS_out comment="" disabled=no invert-match=no set-bgp-weight=20
add action=discard bgp-as-path-length=!0-2 chain=AS_out comment="" disabled=no invert-match=no
add action=discard chain=BOGONS comment="" disabled=no invert-match=no prefix=0.0.0.0/8 prefix-length=32
add action=discard chain=BOGONS comment="" disabled=no invert-match=no prefix=10.0.0.0/8 prefix-length=32
add action=discard chain=BOGONS comment="" disabled=no invert-match=no prefix=127.0.0.0/8 prefix-length=32
add action=discard chain=BOGONS comment="" disabled=no invert-match=no prefix=172.16.0.0/12 prefix-length=32
add action=discard chain=BOGONS comment="" disabled=no invert-match=no prefix=192.0.2.0/24 prefix-length=32
add action=discard chain=BOGONS comment="" disabled=no invert-match=no prefix=192.168.0.0/16 prefix-length=32
add action=discard chain=BOGONS comment="" disabled=no invert-match=no prefix=224.0.0.0/3 prefix-length=32
add action=discard chain=BOGONS comment="" disabled=no invert-match=no prefix=186.xxx.112.0/20 prefix-length=32
add action=discard chain=BOGONS comment="" disabled=no invert-match=no
Li algo sobre anunciar uma parta da classe, como /21 para um link e o outro /21 para o outro link e assim dividir os clientes, como faço isso? é nos filters? qual seria a regra correta a ser colocada? o problema que me refiro está no download.