From b74f45f8a05444dca16f0995c7d201ea592ce299 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Tue, 3 Aug 2010 00:59:13 +0200 Subject: Documentation update. --- doc/bird.sgml | 49 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 11 deletions(-) (limited to 'doc/bird.sgml') diff --git a/doc/bird.sgml b/doc/bird.sgml index c848a798..266c4490 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -882,6 +882,14 @@ undefined value is regarded as empty clist for most purposes. Type of destination the packets should be sent to ( + The optional attribute that can be used to specify a distance + to the network for routes that do not have a native protocol + metric attribute (like

There also exist some protocol-specific attributes which are described in the corresponding protocol sections. @@ -916,12 +924,16 @@ making it possible to implement any routing policy at any router in the network, the only restriction being that if a router advertises a route, it must accept and forward packets according to it. -

BGP works in terms of autonomous systems (often abbreviated as AS). Each -AS is a part of the network with common management and common routing policy. It is identified by a unique 16-bit number. -Routers within each AS usually communicate with each other using either a interior routing -protocol (such as OSPF or RIP) or an interior variant of BGP (called iBGP). -Boundary routers at the border of the AS communicate with their peers -in the neighboring AS'es via exterior BGP (eBGP). +

BGP works in terms of autonomous systems (often abbreviated as +AS). Each AS is a part of the network with common management and +common routing policy. It is identified by a unique 16-bit number +(ASN). Routers within each AS usually exchange AS-internal routing +information with each other using an interior gateway protocol (IGP, +such as OSPF or RIP). Boundary routers at the border of +the AS communicate global (inter-AS) network reachability information with +their neighbors in the neighboring AS'es via exterior BGP (eBGP) and +redistribute received information to other routers in the AS via +interior BGP (iBGP).

Each BGP router sends to its neighbors updates of the parts of its routing table it wishes to export along with complete path information @@ -962,13 +974,25 @@ among them and so on. Prefer route with the highest Local Preference attribute. Prefer route with the shortest AS path. - Prefer IGP origin over EGP and EGP over incomplete. + Prefer IGP origin over EGP and EGP origin over incomplete. Prefer the lowest value of the Multiple Exit Discriminator. - Prefer internal routes over external ones. + Prefer routes received via eBGP over ones received via iBGP. + Prefer routes with lower internal distance to a boundary router. Prefer the route with the lowest value of router ID of the advertising router. +IGP routing table + +

BGP is mainly concerned with global network reachability and with +routes to other autonomous systems. When such routes are redistributed +to routers in the AS via BGP, they contain IP addresses of a boundary +routers (in route attribute NEXT_HOP). BGP depends on existing IGP +routing table with AS-internal routes to determine immediate next hops +for routes and to know their internal distances to boundary routers +for the purpose of BGP route selection. In BIRD, there is usually +one routing table used for both IGP routes and BGP routes. + Configuration

Each instance of the BGP corresponds to one neighboring router. @@ -1035,7 +1059,7 @@ for each neighbor using the following configuration parameters: how it is computed. Direct mode means that the IP address from igp table Specifies a table that is used - in a recursive gateway mode for computing password Use this password for MD5 authentication of BGP sessions. Default: no authentication. Password has to be set by @@ -1157,6 +1181,9 @@ for each neighbor using the following configuration parameters: path metric Enable comparison of path lengths when deciding which BGP route is the best one. Default: on. + igp metric Enable comparison of internal + distances to boundary routers during best route selection. Default: on. + prefer older Standard route selection algorithm breaks ties by comparing router IDs. This changes the behavior to prefer older routes (when both are external and from different -- cgit v1.2.3