BGP PDF
BGP PDF
Technologies
AS
Between AS
EGP works
BGP
AS
Internet
/
Other AS
• Open Standard
• Classless.
• Metric = Attributes
• Administrative distance
– 20 External updates
AS2003
AS200
AS path :
2003, 200, 2007
11.0.0.0/8
12.0.0.0/8
AS 2007
AS805
11.0.0.0/8 AS path :
12.0.0.0/8 2019, 799, 2007
11.0.0.0/8
12.0.0.0/8
AS799 AS2019
Path Vector ZOOM
Technologies
AS2003
AS200
AS path :
2003, 200, 2007
11.0.0.0/8
12.0.0.0/8
AS 2007
AS805
11.0.0.0/8 AS path :
12.0.0.0/8 2019, 799, 2007
11.0.0.0/8
12.0.0.0/8
• IGPs announce networks and cost to reach those networks.
• BGP announces pathways and the networks thatAS2019
AS799 are
reachable at the end of the pathway. BGP uses Attribute as
Metric.
• AS Path is one of the attribute of BGP. Path with less AS hop is
best path.
• Neighbor table
• IP routing table
OPEN
Keep-Alive
Update
Notification
– IBGP
– EBGP
BGP Neighbors ZOOM
Technologies
S1
S0 A
AS 110
S2
S2
IBGP
S0 B S0 C S1
S0 S1
S1 EBGP EBGP S0
D
F E
AS 5252 AS 2121
OSPF S1
S0 A
AS 110
S2
IBGP RouteS2 EBGP Route
11.0.0.0/8
IBGP 11.0.0.0/8
S0 B S0 C S1
S0 S1
S1 EBGP EBGP S0
D
EBGP Route
11.0.0.0/8
F E
11.0.0.0/8 AS 2121
AS 5252
BGP Routing Issue ZOOM
Technologies
OSPF S1
S0 A
AS 110
S2
Routing Table
S2
IBGP Pro
DATA for
Network Int
11.0.0.1
S0 B BS0 C
11.0.0.0/8 S0
S1
S0 Routing Table S1
DATA for
Pro Network Int
S1 11.0.0.1 EBGP S0
EBGP D
11.0.0.0/8 route ? Routing Table
Pro Networkfor
DATA Int
B 11.0.0.1
11.0.0.0/8 S0
F E
11.0.0.0/8 AS 2121
AS 5252
Solution :
• Redistribute BGP into IGP (Not recommended)
• Run BGP in All transit routers (routers coming in path
from one A.S to other)
OSPF S1
S0 A
AS 110
S2
IBGP RouteS2
11.0.0.0/8
IBGP
S0 B S0 C S1
S0 S1
S1 EBGP EBGP S0
D
EBGP Route
11.0.0.0/8
F E
11.0.0.0/8 AS 2121
AS 5252
Split Horizon :
• Updates coming from IBGP neighbor cannot be
forwarded to other IBGP neighbors
Full Mesh IBGP Neighbor ZOOM
Technologies
OSPF S1
S0 A
AS 110
S2
IBGP
S2 IBGP EBGP Route
IBGP Route
Route
11.0.0.0/8
11.0.0.0/8 11.0.0.0/8
S0 B S0 C S1
S0 S1
S1 EBGP EBGP S0
D
EBGP Route
11.0.0.0/8
F E
11.0.0.0/8 AS 2121
AS 5252
Solution:
• Configure full mesh IBGP neighbor relationship
• Use Route Reflector
OSPF S1
S0 A
AS 110
S2
S2
S2 IBGP
IBGP Route
11.0.0.0/8
S0 S0 C S1
B S0
S1 EBGP EBGP S0
D
EBGP Route
11.0.0.0/8 EBGP
F E
11.0.0.0/8 AS 2121
AS 5252
F
AS 5251
Problems :
• In Star topology same routing updates to different router need to pass
through hub router
• This creates repetition of same updates
• BGP in full mesh creates (n X (n -1))/2 IBGP Neighbor relationship
Route Reflector ZOOM
Technologies
S1 EBGP EBGP S0
D
EBGP Route R R Client
11.0.0.0/8 EBGP
F E
11.0.0.0/8 AS 2121
AS 5252
F
AS 5251
Solution :
• Client updates server.
• Server updates remaining clients.
Idle
Connect Active
Open Sent
Open Confirm
Establish
BGP Synchronization ZOOM
Technologies
OSPF S1
S0 A
AS 110
S2
IBGP RouteS2 IBGP
11.0.0.0/8
S0 B S0 C S1
S0 S1
S1 EBGP EBGP S0
D
EBGP Route
11.0.0.0/8
F E
11.0.0.0/8 AS 2121
AS 5252