Internet Structure: ISPs, IXPs, and CDNs

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which of the following best describes the role of Internet Exchange Points (IXPs) in the Internet ecosystem?

  • They serve as the primary content distribution networks, ensuring fast delivery of content to end-users.
  • They are interconnection infrastructures that allow multiple networks to interconnect and exchange traffic locally. (correct)
  • They are networks created by content providers to reduce connectivity costs to end-users.
  • They categorize ISPs into different tiers based on their global reach and customer base.

In the context of Autonomous Systems (ASes), what is the primary function of the Border Gateway Protocol (BGP)?

  • To manage traffic engineering decisions within an AS.
  • To exchange routing information between ASes. (correct)
  • To optimize path metrics within an AS.
  • To implement security policies for inter-AS communication.

What is the key characteristic that differentiates a Tier-1 ISP from a Tier-2 or Tier-3 ISP?

  • Tier-1 ISPs primarily serve local geographic areas.
  • Tier-1 ISPs are usually content delivery networks.
  • Tier-1 ISPs operate at a global scale and form the 'backbone' network. (correct)
  • Tier-1 ISPs connect directly to end-users, providing access to the Internet.

Which of the following best describes a 'peering relationship' between two Autonomous Systems (ASes)?

<p>Two ASes share access to a subset of each other's routing tables, typically without direct payment. (A)</p> Signup and view all the answers

How might an Autonomous System (AS) use the Local Preference (LocalPref) attribute in BGP to influence routing decisions?

<p>To prefer routes learned from a specific AS over others for outbound traffic. (D)</p> Signup and view all the answers

Why is it generally not advantageous for an Autonomous System (AS) to advertise routes learned from its providers to other providers or peers?

<p>The AS has no financial incentive to carry traffic for its provider's routes without compensation. (D)</p> Signup and view all the answers

What is the purpose of the AS-PATH attribute in BGP?

<p>To list all Autonomous Systems (ASes) a route traverses, helping to prevent loops and choose shorter paths. (A)</p> Signup and view all the answers

What is 'flap damping' and how is it used in BGP routing?

<p>A mechanism to limit the propagation of unstable routes by suppressing routes that change frequently. (C)</p> Signup and view all the answers

Which of the following is a primary advantage for networks choosing to peer at Internet Exchange Points (IXPs)?

<p>To keep local traffic local, reduce costs, and improve network performance. (B)</p> Signup and view all the answers

What are the two main types of BGP sessions?

<p>Internal BGP (iBGP) and External BGP (eBGP). (A)</p> Signup and view all the answers

What is the purpose of a Route Server (RS) within an Internet Exchange Point (IXP)?

<p>To manage and simplify peering arrangements by collecting and sharing routing information among participants. (B)</p> Signup and view all the answers

What is 'remote peering' in the context of Internet Exchange Points (IXPs)?

<p>Peering at the peering point without the necessary physical presence. (A)</p> Signup and view all the answers

What is the role of 'import filters' in Route Servers (RSes) at Internet Exchange Points (IXPs)?

<p>To ensure that each member AS only advertises routes that it should advertise. (D)</p> Signup and view all the answers

What are 'Path Visibility' and 'Route Validity' in the context of verifying BGP configuration?

<p>Path Visibility ensures proper route propagation, and Route Validity ensures traffic reaches the intended destination. (B)</p> Signup and view all the answers

What are the two ways that a provider usually charges its customer?

<p>Fixed price and bandwidth used. (C)</p> Signup and view all the answers

Which of the following is a key design goal of BGP?

<p>To maintain confidentiality of routing policies while allowing cooperation among autonomous systems. (B)</p> Signup and view all the answers

An Internet Service Provider (ISP) can be categorized into one of three tiers. What are the other names for these tiers?

<p>Access, Regional, Global (A)</p> Signup and view all the answers

What is the full name of the routing protocol that border routers of the ASes use to exchange routing information?

<p>Border Gateway Protocol (A)</p> Signup and view all the answers

What is a bilateral BGP session in the context of IXPs?

<p>Two-way BGP session where two ASes exchange traffic through the switching fabric. (D)</p> Signup and view all the answers

Which of the following statement(s) are TRUE?

<p>ASes need to compete to provide global connectivity to their customer networks, and cooperate at the same time to provide global connectivity to their respective customer networks. (A)</p> Signup and view all the answers

Assuming all other attributes are equal, where do border routers of AS choose traffic exit routes to?

<p>Lowest MED value (B)</p> Signup and view all the answers

Which of the following is NOT a service that IXPs provide?

<p>Free hosting services (D)</p> Signup and view all the answers

What are the update and withdrawl messages used for in BGP?

<p>They are used to withdraw routes for traffic due to policy and add routes including standardized attributes for available and existing routes. (B)</p> Signup and view all the answers

ISPs may choose to connect through Points of Presence (PoPs), multihoming, and peering. What are PoPs?

<p>A single router in a provider's network used by a customer network to connect to that provider (A)</p> Signup and view all the answers

IXPs are known as interconnection hubs. What can they mitigate since becoming increasingly popular hubs?

<p>DDoS attacks (B)</p> Signup and view all the answers

What are the two types of route filters that Route Servers (RSes) maintain?

<p>Import and export filters. (A)</p> Signup and view all the answers

Which of the below statements regarding the Internet is true?

<p>The Internet is a complex ecosystem comprising ISPs, IXPs and CDNs. (B)</p> Signup and view all the answers

As the Internet has been evolving, which is true about its topology?

<p>The structure is morphing from hierarchical to flat (A)</p> Signup and view all the answers

An AS can filter routes with specific MED values before exporting them to what?

<p>neighboring ASes. (A)</p> Signup and view all the answers

Flashcards

What is the Internet?

A network of networks that includes ISPs, IXPs, and CDNs.

What are the ISP tiers?

Access, regional, and global scale.

What are IXPs?

Interconnection infrastructures where networks exchange traffic locally.

What are CDNs?

Networks that are created by content providers for content delivery.

Signup and view all the flashcards

How is the Internet structured?

Smaller networks connect to larger ones.

Signup and view all the flashcards

What is an Autonomous System (AS)?

A group of routers under the same administrative authority.

Signup and view all the flashcards

What is Border Gateway Protocol (BGP)?

Used to exchange routing information between ASes.

Signup and view all the flashcards

What is Internal Gateway Protocol (IGP)?

Operates within an AS, focused on optimizing a path metric.

Signup and view all the flashcards

What is a Provider-Customer relationship?

A financial agreement where a customer pays for traffic transit.

Signup and view all the flashcards

What is a Peering relationship?

Two ASes share access to a subset of each other's routing tables.

Signup and view all the flashcards

How do providers charge?

Based on a fixed monthly price or the amount of bandwidth used.

Signup and view all the flashcards

What are Route Filters?

Rules that determine which routes an AS will advertise.

Signup and view all the flashcards

What is the route priority used for importing?

Customer, peer, then provider routes

Signup and view all the flashcards

What does BGP scalability provide?

Manages the complications of growth, loop-free paths.

Signup and view all the flashcards

What is a BGP session?

A pair of routers exchanging routing info over a TCP connection.

Signup and view all the flashcards

What is External BGP (eBGP)?

Between routers in two different ASes.

Signup and view all the flashcards

What is Internal BGP (iBGP)?

Between routers in the same AS.

Signup and view all the flashcards

What does BGP prefix reachability provide?

Destinations represented by IP Prefixes

Signup and view all the flashcards

What is AS-PATH?

Route attributes used to prevent loops, shortest path.

Signup and view all the flashcards

What is NEXT-HOP?

Next router's IP towards the destination.

Signup and view all the flashcards

What’s the first step when receiving incoming BGP messages?

First, apply import policies.

Signup and view all the flashcards

What are the first two BGP decision process attributes?

Highest LocalPref, lowest AS path length.

Signup and view all the flashcards

What does LocalPref influence?

Prefers routes learned through a specific AS.

Signup and view all the flashcards

What does MED (Multi-Exit Discriminator) value control?

Which links are preferred for inbound traffic.

Signup and view all the flashcards

How to reduce BGP risks?

Limiting table size and route changes.

Signup and view all the flashcards

What are Internet Exchange Points (IXPs)?

Physical infrastructures for ASes to interconnect & exchange traffic.

Signup and view all the flashcards

What do IXPs provide?

Physical infrastructures where ASes can interconnect.

Signup and view all the flashcards

Why peer at IXPs?

Keeping traffic local, lower costs, improved performance.

Signup and view all the flashcards

What is a route server?

Routing information shared from peers connected with the IXP

Signup and view all the flashcards

BIRD Route Server

The method to maintain BGP sessions within the AS.

Signup and view all the flashcards

Study Notes

  • The Internet encompasses Internet Service Providers (ISPs), Internet Exchange Points (IXPs), and Content Delivery Networks (CDNs) to achieve connectivity through a network of networks
  • Each network type has business objectives, leading to diverse relationships and interconnection strategies

ISP Tiers

  • Tier-3 (Access): ISPs provide local access
  • Tier-2 (Regional): ISPs operate at a regional level
  • Tier-1 (Global): ISPs are large-scale ISPs forming the Internet's backbone

Internet Exchange Points (IXPs)

  • IXPs facilitate interconnection, enabling networks (ISPs, CDNs) to exchange local traffic
  • There were approximately 500 IXPs worldwide in 2019

Content Delivery Networks (CDNs)

  • CDNs are established by content providers
  • Used to control content delivery and minimize connectivity costs
  • Examples are Google and Netflix
  • They consist of multiple data centers globally distributed

Network Hierarchy, Competition, and Cooperation

  • Smaller networks connect to larger ones, forming a hierarchy
  • Access ISPs use larger ISPs for Internet connectivity, leading to competition
  • Competing ISPs also collaborate for connectivity, using interconnection strategies based on customers and location

Interconnection Options

  • Points of Presence (PoPs): Routers in a provider network for customer connections
  • Multihoming: ISPs connect to multiple providers
  • Peering: Settlement-free agreements between ISPs for direct traffic exchange

Internet Topology

  • The Internet structure is hierarchical, evolving to a flatter topology
  • IXPs and CDNs are contributing to this shift

Autonomous Systems (AS)

  • Networks like ISPs and CDNs may operate
  • It's a group of routers under a single administrative authority
  • AS have tailored policies for traffic engineering, interconnection, and routing decisions

Autonomous System Operation

  • Operated by a single entity,
  • Applies BGP policies to manage external traffic and route advertisement
  • These policies align with business relationships and peering goals

Routing Protocols

  • Border Gateway Protocol (BGP) exchanges routing data between AS border routers
  • Internal Gateway Protocols (IGPs), like OSPF, optimize path metrics within an AS
  • Focus is on BGP

Autonomous System Relationships

  • Provider-Customer (Transit): Financial agreement in which a customer pays a provider to forward traffic to destinations and vice versa
  • Peering: ASes share access to subsets of each other's routing tables
  • Traffic exchange is generally symmetric
  • Peering often involves Tier-1 ISPs

Provider Charges

  • Two common methods exist
  • Fixed price: Bandwidth usage within a range
  • Bandwidth-based: Charges based on periodic measurements

BGP Routing Policies

  • AS business relationships and policies dictate route import and export decisions

Exporting Routes

  • Deciding which routes to advertise
  • Selecting the route for a destination
  • This affects traffic flow and is managed with route filters

Route Types

  • Routes learned from customers should be widely advertised for increased traffic
  • Routes learned from providers are withheld to avoid carrying traffic without financial incentives

Importing Routes

  • ASes filter routes based on origin and business relationships
  • Routes are received from customers, providers, and peers

Route Preference

  • Customer routes are prioritized and prefered
  • Peer routes are second
  • Provider routes third
  • This to minimize costs

BGP Design Goals

  • Scalability: Handles Internet growth, managing routes, and convergence

Routing Policies

  • Route attributes enable import/export policies, maintaining confidentiality and autonomy

Autonomous System Cooperation

  • Each AS makes local decisions while keeping them undisclosed

Security Considerations

  • Protection from attacks and early threat detection is important for managing the increasing internet size

BGP Basics

  • BGP Session: Routers (BGP peers) exchange route information over TCP
  • They exchange announcements from routing tables, which takes seconds or minutes

Session Types

  • External BGP (eBGP): Between routers in different ASes
  • Internal BGP (iBGP): Session between routers within the same AS

BGP Messages

  • BGP has reachability information and routing policies through messages
  • Updates are used for route availability or updates with standardized attributes
  • Withdrawals remove routes due to failure or policy changes

Keepalive

  • Messages exchanged to maintain the connection

BGP Prefix Reachability

  • IP Prefixes represent subnets or collections of subnets an AS can reach
  • Advertised via eBGP based on the AS’s export policy to neighboring's routers
  • iBGP distributes these routes within the AS and used to propagate external routes to internal routers

Path Attributes

  • Important BGP route attributes include AS-PATH and NEXT-HOP

AS-PATH Attribute

  • It lists the ASes a route traverses
  • It is used to prevent loops and select the shortest path to a destination

NEXT-HOP Attribute

  • The IP address of the next router towards a destination
  • Next-hop enables internal routers to choose the best path

iBGP and eBGP

  • Used to disseminate routes for external destinations
  • Router learn external prefixes through eBGP an disseminate them with iBGP sessions
  • Internal routes are dissiminated through the AS using a full mesh of iBGP
  • iBGP disseminates external routes within the AS

BGP Decision Process

  • Routers select best routes to advertise
  • Apply import policies to exclude routes and select the best routes, and install them to the forwarding table

Route Selection

Routers compare routes and chose routes with values to best apply the policies in order of

  • Highest Local Preference
  • Shortest AS Path Length
  • Lowest origin type
  • Lowest MED
  • eBGP-learned over iBGP-learned
  • Lowest IGP cost to border router
  • Lowest router ID

Local Preference

  • Route decision is influenced using the LocalPref
  • It prefers routes through a preferred AS
  • This influences traffic exits

MED (Multi-Exit Discriminator)

  • The attribute is used to designate inbound traffic preferences for multiple links
  • It is used to tag routes based on business relationship
  • Influencing route exports affects traffic entry points

Attribute Control

  • LocalPref are set locally
  • MED by the neighboring ASs

BGP Challenges

  • BGP has scalability and misconfiguration issues
  • Misconfiguration of BGP can trigger large updates and router failure

Mitigation

  • It is possible to mitigate BGP issues through limiting size and changes

Scaling

  • Routing tables can be limited using filtering and aggregating
  • ASes can use default routes and aggregate prefixes

Stability

  • To limit unstable routes, flapping-dampening applies
  • Route updates are tracked, with routes suppressed temporarily if a threshold is reached

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

ISPS Code Requirements Quiz
12 questions

ISPS Code Requirements Quiz

LovableAmbiguity5053 avatar
LovableAmbiguity5053
Use Quizgecko on...
Browser
Browser