The Border Gateway Protocol (BGP) : Sharad Jaiswal
The Border Gateway Protocol (BGP) : Sharad Jaiswal
The Border Gateway Protocol (BGP) : Sharad Jaiswal
Protocol (BGP)
Sharad Jaiswal
Prologue
• Internet is divided into
Autonomous Systems (ASs)
• AS - a collection of one or more
networks under a single
technical administration
• technical administration- refers
to aspects of the n/w like, routing
policies etc.
Contd.
• Route selection
– highest degree of preference of
any route to to the same set of
destinations
– is only route to the destination
– use tie breaking techniques
• Install route in Loc-RIB
Phase 3
• Route Dissemination to peers in
neighboring ASs
– when routes in a Loc-RIB to local
destinations have changed
• All routes processed in Adj-RIBs-
OUT
• Aggregation of routes may occur
here
Overlapping Routes
• BGP speaker may transmit routes
with overlapping NLRI Information
• Overlap occurs when a set of
destinations are identified in non-
matching routes
• Destinations are always identified by
IP prefixes
• More specific prefix route gets
precedence.
Internal BGP (iBGP)
• Same protocol as BGP;
• Used when AS_PATH is
supposed to be intact between
different eBGP peers;
• iBGP nodes are fully meshed;
• No re-advertisement of route
updates to prevent looping;
iBGP Scaling
• BGP Confederations
– Divide AS into Sub-ASs to reduce size of
mesh
– Still present a unified front to the outside
world
• Route Reflectors
– Relax no re-advertisement rule
– Single iBGP peer reflects routes to sub-
ordinate peers within a cluster
– No peering between clusters
Other Issues!
• Achieving Stability
– Using loopbacks
– BGP/IGP interaction
– Peer Groups
– Route Flap dampening
• BGP and CIDR