3.6 -Path Vector Routing
3.6 -Path Vector Routing
20.3
To enable each router to route a packet to any network in internet
First install a variation of BGP4, called external BGP (eBGP), on each
border
router (the one at the edge of each AS which is connected to a
router at another AS).
Second , install second variation of BGP, called internal BGP (iBGP),
on all routers.
Border routers will be running three routing protocols (intradomain,
eBGP, and
iBGP), but other routers are running two protocols (intradomain and
20.4
Figure 20.25: eBGP operation
5
Operation of External BGP (eBGP)
The eBGP variation of BGP allows two physically connected border routers in two different ASs to
form pairs of eBGP
speakers and exchange messages.
Routers in Figure 20.24 form three pairs: R1-R5, R2-R6, and R4-R9.
The connection between these pairs is established over three physical WANs (N5,N6, and N7).
There is a need for logical TCP connection to be created over physical connection to make the
exchange of information.
Each logical connection in BGP - referred to as a session.
Three sessions are shown in Figure 20.25. circled number defines the sending router in each
case.
Example –
Message number 1 sent by router R1 and tells router R5 that N1, N2, N3,N4 can be reached
through router R1
(R1 gets this information from the corresponding intradomain forwarding table).
Router
6
R5 can now add these pieces of information at the end of its forwarding table.
There are two problems that need to be addressed:
1. Some border routers do not know how to route a packet destined for non
neighbor ASs.
Example - R5 does not know how to route packets destined for networks in
AS3 and AS4.
Routers R6 and R9 are in the same situation as R5:
R6 does not know about networks in AS2 and AS4;
R9 does not know about networks in AS2 and AS3.
2. None of non-border routers know how to route a packet destined for any
networks in other
ASs.
7
Combination of eBGP and iBGP sessions in the
internet
8
Operation of Internal BGP (iBGP)
iBGP protocol - similar to the eBGP protocol - uses the service of TCP, but it creates a
session between
any possible pair of routers inside an autonomous system.
Each router needs to advertise its own reachability to the peer in the session
figure
9 above shows the combination of eBGP and iBGP sessions in the internet.
Finalized BGP path tables (Part I)
10
Finalized BGP path tables (Part II)
11
Finalized BGP path tables (Part III)
12
Forwarding tables after injection from BGP (Part I)
13
Forwarding tables after injection from BGP (Part II)
14
Format of path attribute
15
Session Handler Details
16