Docsity

Interdomain Routing Protocols-Computer Networking-Lecture Slides, Slides of Computer Network Management and Protocols

Partial preview of the text

Download Interdomain Routing Protocols-Computer Networking-Lecture Slides and more Slides Computer Network Management and Protocols in PDF only on Docsity!

1

Interdomain Routing Protocols

docsity.com

Autonomous Systems •^

An

autonomous system (AS)

is a region of the Internet that is

administered by a single entity and that has a unified routing policy

-^

Each autonomous system is assigned an Autonomous System Number( ASN

). • UofT’s campus network (AS239)• Rogers Cable Inc. (AS812)• Sprint (AS1239, AS1240, AS 6211, …)

•^

Interdomain routing is concerned with determining paths betweenautonomous systems

(interdomain routing

•^

Routing protocols for interdomain routing are called

exterior gateway

protocols

(EGP)

docsity.com

Interdomain vs Intradomain^ •

Intradomain routing– Routing is done based on metrics– Routing domain is one autonomous system

•^

Interdomain routing– Routing is done based on policies– Routing domain is the entire Internet

EGP

(e.g., BGP)

IGP

(e.g., OSPF)

IGP

(e.g., RIP)

docsity.com

Interdomain Routing^ •^

Interdomain routing is based on connectivity between autonomous systems

-^

Interdomain routing can ignore many details of router interconnection

AS 1

AS 2

AS 3

docsity.com

Multiple Routing Protocols^ •^

Multiple routing protocols can runon the same router

-^

Each routing protocol updates therouting table

docsity.com

Autonomous Systems Terminology^ •

local traffic

= traffic with source or destination in AS

•^

transit traffic

= traffic that passes through the AS

•^

Stub AS

= has connection to only one AS, only

carry local traffic

•^

Multihomed AS

= has connection to >1 AS, but does

not carry transit traffic

•^

Transit AS

= has connection to >1 AS and carries

transit traffic

docsity.com

Selective TransitExample:^ •

Transit AS 3 carries trafficbetween AS 1 and AS 4 andbetween AS 2 and AS 4

-^

But AS 3 does

not

carry traffic

between AS 1 and AS 2

-^

The example shows a routingpolicy.

docsity.com

Customer/Provider^ •^

A stub network typically obtains access to the Internet through a transitnetwork.

-^

Transit network that is a provider may be a customer for anothernetwork

-^

Customer pays provider for service

docsity.com

Shortcuts through peering^ •^

Note that peering reduces upstream traffic

-^

Delays can be reduced through peering

-^

But: Peering may not generate revenue

Peers

Customer/Provider

Customer/Provider

Peers

Customer/Provider

Customer/Provider

Customer/Provider

Peers

docsity.com

Border Gateway Protocol (BGP)^ •

Border Gateway Protocol is the interdomain routingprotocol for the Internet for routing betweenautonomous systems

•^

Currently in version 4 (1995)– Network administrators can specify routing policies– BGP is a distance vector protocol (However, routing

messages in BGP contain complete routes)

•^

Uses TCP to transmit routing messages

docsity.com

BGP interactions^ •^

Router establishes a TCPconnection (TCP port 175)

-^

Routers exchange BGP routes

-^

Periodically send updates

-^

BGP is executed between tworouters– BGP session– BGP peers or BGP speakers

-^

Note:

Not all autonomous

systems need to run BGP. Onmany stub networks, the route tothe provider can be staticallyconfigured

docsity.com

BGP interactions

•^

The networks that are advertisedare network IP addresses with aprefix, E.g., 128.100.0.0/

Prefixes

reachable from AS 1

Prefixes

reachablefrom AS 3

docsity.com

BGP Sessions^ •^

External BGP session (eBGP): Peers are in different AS’es

-^

Internal BGP session (iBGP) Peers are in different AS’es

-^

Note that iBGP sessions aregoing over routes that are set upby an intradomain routingprotocol!

docsity.com

iBGP sessions^ •^

All iBGP peers in the sameautonomous system are fullymeshed

-^

Peer announces routes receivedvia eBGP to iBGP peers

-^

But:

iBGP peers do not announce routes received via iBGP to otheriBGP peers

docsity.com