Aller au contenu principal

8. Avoiding Routing Information Loops (Éviter les boucles d'information de routage)

When a route is reflected, it is possible through misconfiguration to form route re-distribution loops. The route reflection method defines the following attributes to detect and avoid routing information loops:

Lorsqu'une route est réfléchie, il est possible, suite à une mauvaise configuration, de former des boucles de redistribution de route. La méthode de réflexion de route définit les attributs suivants pour détecter et éviter les boucles d'information de routage :

ORIGINATOR_ID

ORIGINATOR_ID is a new optional, non-transitive BGP attribute of Type code 9. This attribute is 4 bytes long and it will be created by an RR in reflecting a route. This attribute will carry the BGP Identifier of the originator of the route in the local AS. A BGP speaker SHOULD NOT create an ORIGINATOR_ID attribute if one already exists. A router that recognizes the ORIGINATOR_ID attribute SHOULD ignore a route received with its BGP Identifier as the ORIGINATOR_ID.

ORIGINATOR_ID est un nouvel attribut BGP optionnel et non transitif de code de type 9. Cet attribut a une longueur de 4 octets et sera créé par un RR lors de la réflexion d'une route. Cet attribut portera l'identifiant BGP de l'auteur de la route dans l'AS local. Un locuteur BGP NE DOIT PAS (SHOULD NOT) créer un attribut ORIGINATOR_ID s'il en existe déjà un. Un routeur qui reconnaît l'attribut ORIGINATOR_ID DOIT (SHOULD) ignorer une route reçue avec son identifiant BGP comme ORIGINATOR_ID.

CLUSTER_LIST

CLUSTER_LIST is a new, optional, non-transitive BGP attribute of Type code 10. It is a sequence of CLUSTER_ID values representing the reflection path that the route has passed.

CLUSTER_LIST est un nouvel attribut BGP optionnel et non transitif de code de type 10. C'est une séquence de valeurs CLUSTER_ID représentant le chemin de réflexion que la route a emprunté.

When an RR reflects a route, it MUST prepend the local CLUSTER_ID to the CLUSTER_LIST. If the CLUSTER_LIST is empty, it MUST create a new one. Using this attribute an RR can identify if the routing information has looped back to the same cluster due to misconfiguration. If the local CLUSTER_ID is found in the CLUSTER_LIST, the advertisement received SHOULD be ignored.

Lorsqu'un RR réfléchit une route, il DOIT (MUST) ajouter le CLUSTER_ID local au CLUSTER_LIST. Si le CLUSTER_LIST est vide, il DOIT (MUST) en créer un nouveau. En utilisant cet attribut, un RR peut identifier si les informations de routage sont revenues en boucle au même cluster en raison d'une mauvaise configuration. Si le CLUSTER_ID local est trouvé dans le CLUSTER_LIST, l'annonce reçue DOIT (SHOULD) être ignorée.