Professional Documents
Culture Documents
Next Router
Path
N1
R1
AS14,AS23,AS67
N2
R5
AS22,AS67,AS05,AS89
N3
R6
AS67,AS89,AS09,AS34
N4
R8
AS62,AS02,AS09
AS2
N
N
1
1
R2
N1,R1,AS1
N1,R2,AS2,AS1
R1
N1,R3,AS3,AS2,AS1
R4
AS4
R3
2. POLICY ROUTING
Policy routing can be easily implemented through pat vector
routing. When a router receives a message, it can check the
path. If one of the autonomous system listed in the path is
against its policy, the router can ignore that path and that
destination. It does not updates routing table with this path,
and it does not send this message to its neighbors. This
means that the routing tables in path vector routing are
based on the policy imposed on the router by the
administrator
3. PATH ATTRIBUTES
The path was presented as a list of autonomous systems,
but is, in fact, a list of attributes. Each attribute gives some
information about the path. The list of attributes helps the
receiving router make a better decision when applying its
policy.
Attributes are of two types :1. Well-known attribute
2. Optional attribute
A well-known attribute is one that every BGP router should
recognize. An optional attribute is one that need not be
recognized by every BGP router.
10.0.1.0/8,
ORIGIN {1}
10.0.1.0/8,
ORIGIN {1}
10.0.1.0/8,
ORIGIN {1}
10.0.1.0/8,
ORIGIN {1}
10.0.1.0/8,
ORIGIN {1}
10.0.1.0/8,
AS-PATH {1}
10.0.1.0/8,
AS-PATH {1}
10.0.1.0/8,
AS-PATH {4,2,1}
10.0.1.0/8,
AS-PATH {2,1}
10.0.1.0/8,
AS-PATH {3,1}
10
10.0.1.0/8,
NEXT-HOP {128.100.11.1}
10.0.1.0/8,
NEXT-HOP {128.143.71.21}
11
BGP Messages
Open
Update
Keep-alive
Notificatio
n
THANKS