Describe the relationships between ISPs, IXPs, and CDNs.
ISP: Internet Service Provider - 3 tiers, smaller ISP is customer of larger ISP (Tier-1)
IXP: Internet Exchange Points - physical infrastructure where ISPs interconnect (~500 in the world)
CDN: Content Delivery Network - networks created by content providers (e.g. Netflix), goal of having greater control of how the content is delivered to end-users
a network of networks make up the internet ecosystem.
What is an AS?
Autonomous System - a group of routers (including the links among them) that operate under the same administrative authority, has its own traffic policies. An ISP can be its own AS or be under multiple ASes.
What kind of relationship does AS have with other parties?
What is BGP?
Border Gateway Protocol - routes traffic between and within ASes
How does an AS determine what rules to import/export?
Exporting Rules:
AS learns routes from:
1. Customers - advertised routes from customers, more incentive to move traffic toward customers
2. Providers - no financial incentive to carry traffic for its provider’s routes
3. Peers - no revenue to advertise back to peers
Importing Rules:
In order of preference, the imported routes are the customer, peer, and provider routes (in order of most to least revenue)
What were the original design goals of BGP? What was considered later?
What are the basics of BGP?
2 Types of BGP messages sent between BGP peers:
1. UPDATE - announcements (new routes), withdrawals
2. KEEPALIVE - keep a session going
In BGP protocol, destinations are represented by IP prefixes; Gateway routers running eBGP advertise the IP prefixes
Advertised BGP routes contain:
ASPATH - the IDs of the ASes are collected as announcement passes through, this information prevents looping
NEXT HOP - next-hop router’s IP address (interface) along the path towards the destination
What is the difference between iBGP and eBGP?
eBGP - routers learn routes to external prefixes and disseminate them to all routers within the AS. Each eBGP speaking router has an iBGP session
iBGP - only used to disseminate external routes within the AS
What is the difference between iBGP and IGP-like protocols (RIP or OSPF)?
IGP (Interior Gateway Protocols, e.g. OSPF, RIP) -like protocols are used to establish paths between the internal routers of an AS based on specific costs within the AS. In contrast, iBGP is only used to disseminate external routes within the AS.
How does a router use the BGP decision process to choose which routes to import?
when a router receives multiple route advertisements, it compares a pair of routes by going through the list of attributes. In simplistic practice, it selects the route with the attribute value that will help apply the policy. Attributes are set either (a) locally by the AS (e.g., LocalPref), (b) by the neighboring AS (e.g., MED - multi exit discriminator), (c) or by the protocol (e.g., if a route is learned through eBGP or iBGP).
What are the 2 main challenges with BGP? Why?
can result in an excessively large number of updates, leading to router failures. solution: limit routing table size and routing changes.
What is an IXP?
Internet Exchange Points - physical infrastructures (usually a network of switches) that provide the means for ASes to interconnect (peering) and directly exchange traffic with one another. The router of each AS must use BGP
What are four reasons for IXP’s increased popularity?
Which services do IXPs provide?
How does a route server work?
IXPs operate a route server to help to make peering more manageable
* collects and shares routing information from its peers or participants of the IXP that connect to the RS.
* executes its own BGP decision process and re-advertises the resulting information (e.g., best route selection) to all RS’s peer routers.
a Route Server can maintain multi-lateral peering sessions via import and export filters.