« Karadoc et Percival au bistrot - Dell quand ils disent qu’ils livrent : ils livrent c’est pas comme *BIP* »

Marre du communautarisme ! En voici une couche avec Openbgpd.

19 January 2007

Je regardais récemment le spectacle 1905 de la bête infame qu’est l’ignoble Dieudonné ;-) et j’ai pensé à ceux ou celles qui veulent justement créer des communautées BGP avec Openbgpd.

myas=”65012″

#Denial of service mitigation community ( use with care ! )

match from any community $myas:666 set nexthop blackhole
#Do not export prefix ( Stay local to your AS)
match from any community $myas:1 set community NO_EXPORT
#Do not export to Transit or Peering Partner
match from any community $myas:1 set community NO_ADVERTISE
#Local policy tuning
match from any community $myas:6100 set localpref 100
match from any community $myas:6200 set localpref 200
match from any community $myas:6300 set localpref 300
match from any community $myas:6400 set localpref 400
match from any community $myas:6500 set localpref 500

Bien entendu on peut faire une configuration plus “fine”, mais je pense que c’est suffisant pour commencer.


Laisser un commentaire