[GTER] BGP Balanceamento

Alex Falcão alexjfalcao at universia.com.br
Tue Aug 15 08:33:59 -03 2006


Sérgio Freire,

   tenho um aconfiguração aplicada em um roteador cisco que recebe Full
Routing (todas as redes da internet), de duas operadoras diferentes.
Este Balanceamento é realizado pelas mascaras, fica quase 50% - 50%.

Abraço

-- 
___________________________________________
Alex Esteves Jaccoud Falcão
Analista de Suporte
Linux User: 160008
http://webmaster.brfic.com



 neighbor IP1.IP1.IP1.IP1 route-map RCV_FROM_1  in
 neighbor IP2.IP2.IP2.IP2 route-map RCV_FROM_2  in

ip prefix-list FILTER_IN description Redes Nao Autorizadas e Menores que /8
ip prefix-list FILTER_IN seq 5 permit 0.0.0.0/8 le 32
ip prefix-list FILTER_IN seq 6 permit 0.0.0.0/0 ge 29
ip prefix-list FILTER_IN seq 7 permit 0.0.0.0/0 le 7
ip prefix-list FILTER_IN seq 10 permit 1.0.0.0/8 le 32
ip prefix-list FILTER_IN seq 15 permit 10.0.0.0/8 le 32
ip prefix-list FILTER_IN seq 20 permit 19.255.0.0/16 le 32
ip prefix-list FILTER_IN seq 25 permit 59.0.0.0/8 le 32
ip prefix-list FILTER_IN seq 27 permit 127.0.0.0/8 le 32
ip prefix-list FILTER_IN seq 30 permit 129.156.0.0/16 le 32
ip prefix-list FILTER_IN seq 35 permit 169.254.0.0/16 le 32
ip prefix-list FILTER_IN seq 40 permit 172.16.0.0/12 le 32
ip prefix-list FILTER_IN seq 45 permit 192.0.2.0/24 le 32
ip prefix-list FILTER_IN seq 50 permit 192.9.99.0/24 le 32
ip prefix-list FILTER_IN seq 55 permit 192.9.200.0/24 le 32
ip prefix-list FILTER_IN seq 56 permit 198.18.0.0/15 le 32
ip prefix-list FILTER_IN seq 57 permit 192.42.172.0/24 le 32
ip prefix-list FILTER_IN seq 60 permit 192.168.0.0/16 le 32
ip prefix-list FILTER_IN seq 65 permit 224.0.0.0/3 le 32
ip prefix-list FILTER_IN seq 70 deny 0.0.0.0/0 le 24
!
access-list 10 permit 0.0.0.0 254.254.254.255
access-list 11 permit 0.0.1.0 254.254.254.255
access-list 12 permit 0.1.0.0 254.254.254.255
access-list 13 permit 0.1.1.0 254.254.254.255
access-list 14 permit 1.0.0.0 254.254.254.255
access-list 15 permit 1.0.1.0 254.254.254.255
access-list 16 permit 1.1.0.0 254.254.254.255
access-list 17 permit 1.1.1.0 254.254.254.255
!
route-map RCV_FROM_1  deny 10
 match ip address prefix-list FILTER_IN
!
route-map RCV_FROM_1  permit 20
 match ip address 12 13 16 17
 set local-preference 35
!
route-map RCV_FROM_1  permit 30
 match ip address 10 11 14 15
 set local-preference 30
!
route-map RCV_FROM_2  deny 10
 match ip address prefix-list FILTER_IN
!
route-map RCV_FROM_2  permit 20
 match ip address 10 11 14 15
 set local-preference 35
!
route-map RCV_FROM_2  permit 30
 match ip address 12 13 16 17
 set local-preference 30
!



>>
>> Pessoal,
>> Tenho dois roteadores, cada um com uma operadora para as quais o
>> roteamento
>> é feito via BGP/Quagga, a minha quastáo é se  posso fazer um
>> balanceamento no tráfego de saida
>> através do BGP ?
>>
>>
>> Sérgio Freire
>> SFREIRE - IT Consultoria



---------------------------------------------------------------
Universia - Esse é o seu Universo.
www.universia.com.br



More information about the gter mailing list