Inter-Domain Routing Basics: Exterior Routing Protocols Created To
Inter-Domain Routing Basics: Exterior Routing Protocols Created To
Stub AS:
An AS is considered stub when it reaches
networks outside it domain via a single exit point
Stub AS is single-homed with respect to its
provider
Stub AS uses from the private pool 6541265535
Stub AS need not learn any AS-level routes
just use a default route to provider AS
Multihomed Nontransit AS
AS is multihomed if it has more than one exit
point to outside
AS can be multihomed to a single or multiple
providers
Nontransit AS does not allow transit traffic to go
through it
Transit traffic has source and destination outside
the AS
A nontransit AS would only advertise its own
routes and not routes it learned from others
Multihomed Transit AS
Allows transit traffic to pass through
BGP can be used as a pipe to exchange
BGP updates within an AS Internal BGP
(IBGP)
BGP connections between ASs called
External BGP (EBGP)
Routers running EBGP called border
routers and IBGP called transit routers
message:
message:
opens
when
KEEPALIVE
these
message:
UPDATE
update
message:
of preference
next hop value of a route
aggregation information
within an AS
BGP
distributing
Injecting
BGP:
can
routes
route
pool
policy engine:
filtering
Private ASs:
Route
AS_path
Path Vectors
Route
aggregation:
BGP-4
CIDR
Instead of representing addresses as 32-bit
numbers 9.0.0.0, 128.96.0.0, or 192.4.18.0
a prefix notation is used: 9/8 (8-bit prefix),
128.96/16 (16-bit prefix), or 192.4.18/24 (24bit prefix)
to reduce the size of the routing tables -- route
aggregation is performed
10
Path Vectors
AS
197.8.0/24
route aggregation, AS T
announces 3 routes to its neighbor Z
Path
Path Vectors
With
route aggregation
Path
What
Sequence
is the path?
we
ordered
list -- AS sequence
unordered set -- AS set
Path: (Sequence (T), Set (X, Y))
Path Vectors
If
1: reaches 197.8.0/22
Path Vectors
Path
sequence
11
Path Vectors
Path Vectors
12
13
AS
Updates:
Once connection is established, BGP
stations start exchanging updates
Updates can
advertise
14