ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: Inet-Admins
Inet-Admins mailing list archive (inet-admins@info.east.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [inet-admins] BGP & outgoing traffic



On Fri, 10 Sep 1999, Dmitry Morozovsky wrote:

> DV> Толщина каналов разная. Хотелось бы сделать так, чтобы исходящий траффик
> DV> ходил так:
> DV> 1. если as-path меньше - идем туда. (ну это стандартно)
> DV> 2. Если as-path одинаковые, то идем, например, на провайдера Б.
> DV> 
> DV> Думал-думал, как бы сделать п.2.. сейчас в случае равенства путей траффик
> DV> идет на того, у кого IP адрес neighbor'a меньше :(( 
> 
> Собственно, смотрим сюда
> (http://www.cisco.com/univercd/cc/td/doc/cisintwk/ics/icsbgp4.htm):
> 
> 1. If the path specifies a next hop that is inaccessible, drop the update.
> 
> 2. Prefer the path with the largest weight.
> 
> 3. If the weights are the same, prefer the path with the largest
> local preference.
> 
> 4. If the local preferences are the same, prefer the path that was
> originated by BGP running on this router.
> 
> 5. If no route was originated, prefer the route that has the shortest
> AS_path.
> 
> 6. If all paths have the same AS_path length, prefer the path with
> the lowest origin type (where IGP is lower than EGP, and EGP is lower than
> Incomplete).
> 
> 7. If the origin codes are the same, prefer the path with the lowest
> MED attribute.
> 
> 8. If the paths have the same MED, prefer the external path over the
> internal path.
> 
> 9. If the paths are still the same, prefer the path through the
> closest IGP neighbor.
> 
> 10. Prefer the path with the lowest IP address, as specified by the
> BGP router ID.
> 
> Так что, либо MED, либо фильтровать хитро, препендя пути и/или повышая
> preference по дороге. Оба пути неочевидны, более того, оба являются
> костылеподобными. Ну увы нам -- не понимают буржуи, как можно строить сети
> в расчете на channel overselling.
Ну, достаточно пробить Origin Type - external, чтобы этот путь стал
предпочитаться... А поправить практически любой атрибут входящего анонса - 
проблем нет...
> 
> Sincerely,
> D.Marck                                   [DM5020, DM268-RIPE, DM3-RIPN]
> ------------------------------------------------------------------------
> *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
> ------------------------------------------------------------------------
> 
> =============================================================================
> "inet-admins" Internet access mailing list. Maintained by East Connection ISP.
> Mail "unsubscribe inet-admins" to Majordomo@info.east.ru if you want to quit.
> Archive is accessible on http://info.east.ru/rus/inetadm.html
> 

--------------------------------------
Basil (Vasily)  Dolmatov  CCNP-Security, CCDA
East Connection ISP, Moscow, Russia. (http://www.east.ru)

=============================================================================
"inet-admins" Internet access mailing list. Maintained by East Connection ISP.
Mail "unsubscribe inet-admins" to Majordomo@info.east.ru if you want to quit.
Archive is accessible on http://info.east.ru/rus/inetadm.html



 




Copyright © Lexa Software, 1996-2009.