[GTER] BGP Balanceamento

Renato Frederick frederick at dahype.org
Wed Oct 8 22:20:57 -03 2008


Pessoal,

Analisando algumas discussões:

http://eng.registro.br/pipermail/gter/2006-August/011377.html
http://eng.registro.br/pipermail/gter/2008-July/019470.html

Para tentar fazer com que a utilização dos meus links seja balanceada,
alguns sugerem usar máscaras e outros preprend.

Fiz esta configuração, aonde dividi minha rede em 4 x /22:


router bgp 1234
[...]
network 100.1.128.0/20
 neighbor 200.x.x.x remote-as 999
 neighbor 200.x.x.x description Transito BGP OPERADORA-1
[...]
 neighbor 200.x.x.x route-map RCV_FROM_OPERADORA-1 in
!
router bgp 4567
network 100.1.128.0/20
 neighbor 200.x.x.x remote-as 888
 neighbor 200.x.x.x description Transito BGP OPERADORA-2
 [...]
 neighbor 200.x.x.x route-map RCV_FROM_OPERADORA-2 in
!

access-list RANGE-1 permit 100.1.136.0/22
access-list RANGE-1 permit 100.1.140.0/22
access-list RANGE-2 permit 100.1.128.0/22
access-list RANGE-2 permit 100.1.132.0/22
!
route-map RCV_FROM_OPERADORA-1 permit 20
 match ip address RANGE-1
 set local-preference 35
!
route-map RCV_FROM_OPERADORA-1 permit 30
 match ip address RANGE-2
 set local-preference 30
!
route-map RCV_FROM_OPERADORA-2 permit 20
 match ip address RANGE-2
 set local-preference 35
!
route-map RCV_FROM_OPERADORA-2 permit 30
 match ip address RANGE-1
 set local-preference 30
!

A pergunta é, isto funciona ou é a melhor forma de, no caso, fazer 2 blocos
/22 irem para uma operadora e outros 2 x /22 para outra?


Notei que tenho em minha tabela de rotas muitas redes anunciando blocos /22,
foi comentado aqui também sobre filtratem blocos < /21...

Agradeço a opinião de todos!




More information about the gter mailing list