BGP Basics and Network Management Quiz
41 Questions
0 Views

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

What is the primary purpose of BGP in internet routing?

  • To connect multiple routers within a single AS
  • To directly route packets to their specific destination addresses
  • To obtain prefix reachability information and determine the best routes (correct)
  • To provide detailed error messaging for routing failures

Which components define the entries in a BGP router's forwarding table?

  • Protocols and protocols versions
  • IP addresses and port numbers
  • Gateway routers and internal routers
  • Prefixes and interface numbers (correct)

What distinguishes a gateway router from an internal router in BGP?

  • Internal routers have lower performance compared to gateway routers.
  • Gateway routers connect directly to other ASs, while internal routers connect only within the AS. (correct)
  • Gateway routers connect to hosts within the AS, while internal routers connect to external ASs.
  • Gateway routers only use BGP, while internal routers can use any routing protocol.

How does BGP determine the best route to a prefix?

<p>Through a local BGP route-selection procedure considering policies and reachability (D)</p> Signup and view all the answers

What type of protocol is BGP categorized as?

<p>A decentralized asynchronous protocol (D)</p> Signup and view all the answers

What kind of information does an AS advertise using BGP?

<p>Prefix reachability information (C)</p> Signup and view all the answers

What is a characteristic of BGP routing tables?

<p>They often contain over half a million routes (B)</p> Signup and view all the answers

What is the primary function of the source quench ICMP message?

<p>To inform the source to decrease its transmission rate due to congestion (D)</p> Signup and view all the answers

Which of the following statements accurately describes how traceroute operates?

<p>It sends UDP datagrams with unlikely UDP port numbers, incrementing TTL for each subsequent message. (B)</p> Signup and view all the answers

What are the main components involved in network management?

<p>Managing server, managed device, data, and network management agent (C)</p> Signup and view all the answers

Which aspect of network management does not fall within the described considerations?

<p>Software deployment and version control (C)</p> Signup and view all the answers

In traceroute operations, when does the source obtain the round-trip time for a datagram?

<p>When the source receives an ICMP message indicating TTL expiration (C)</p> Signup and view all the answers

What process occurs when the link between switches s1 and s2 goes down?

<p>Switch s1 informs the SDN controller using an OpenFlow message. (C)</p> Signup and view all the answers

Which role does the SDN controller play when it receives a notification of a link state change?

<p>It informs the link-state manager. (A)</p> Signup and view all the answers

In what scenario does the link-state routing application become active?

<p>When link state changes are detected. (D)</p> Signup and view all the answers

What is the primary function of ICMP in networking?

<p>To communicate network-layer information, particularly for error reporting. (A)</p> Signup and view all the answers

What ICMP message does the ping program send to the specified host?

<p>ICMP type 8 code 0 (A)</p> Signup and view all the answers

How does the Internet Control Message Protocol (ICMP) relate to IP datagrams?

<p>ICMP messages are carried inside IP datagrams. (B)</p> Signup and view all the answers

What is one of the aims of network functions virtualization (NFV)?

<p>To replace dedicated hardware with commodity servers and services. (B)</p> Signup and view all the answers

Which of the following is NOT a step taken by the flow table manager after link-state changes?

<p>Notify the SDN controller of completed updates. (D)</p> Signup and view all the answers

What does Dijkstra’s algorithm specifically do in the context of SDN?

<p>It computes new least-cost paths upon receiving notifications of link state changes. (A)</p> Signup and view all the answers

What identifies an ICMP message, allowing it to function correctly?

<p>The type and code field along with the header. (B)</p> Signup and view all the answers

What does the term 'eBGP' refer to?

<p>A BGP session between routers in different autonomous systems. (B)</p> Signup and view all the answers

Which statement about iBGP connections is correct?

<p>They can exist without needing a direct physical link. (D)</p> Signup and view all the answers

What is included in a BGP message when advertising a prefix?

<p>The AS-PATH and NEXT-HOP attributes. (C)</p> Signup and view all the answers

How do routers typically exchange routing information in BGP?

<p>Over semi-permanent TCP connections using port 179. (D)</p> Signup and view all the answers

What happens after gateway router 3a sends the eBGP message 'AS3 x'?

<p>Gateway router 2c forwards the iBGP message 'AS3 x' to all routers in AS2. (D)</p> Signup and view all the answers

Why might a router need to choose among different paths to reach a destination?

<p>To determine the best path based on routing metrics and attributes. (C)</p> Signup and view all the answers

What information does AS2 learn as it sends the message 'AS2 AS3 x' to AS1?

<p>The existence of x and the path taken through both ASs. (B)</p> Signup and view all the answers

What is the role of the NEXT-HOP attribute in BGP?

<p>Defines the immediate router to which packets should be sent next. (B)</p> Signup and view all the answers

When a router receives reachability information for multiple paths, what is one primary criterion it uses to determine the best path?

<p>The path with the least number of AS hops. (A)</p> Signup and view all the answers

Which attribute is primarily used for the initial route selection in BGP?

<p>Local preference value (C)</p> Signup and view all the answers

What is used to break ties among routes with the same local preference value?

<p>Shortest AS-PATH (B)</p> Signup and view all the answers

What disadvantage does IP-anycast present when used with CDNs?

<p>Inconsistent TCP packet routing (A)</p> Signup and view all the answers

How does BGP handle multiple route advertisements for the same IP address?

<p>It treats them as independent paths to a single location (D)</p> Signup and view all the answers

What does the term 'hot potato routing' refer to in BGP?

<p>Choosing the closest NEXT-HOP router (A)</p> Signup and view all the answers

Which mechanism is primarily used to direct DNS queries to the nearest root DNS server?

<p>Anycast routing (A)</p> Signup and view all the answers

What happens when a BGP router receives multiple routes from different ASs?

<p>It evaluates local preference followed by AS-PATH length (D)</p> Signup and view all the answers

What is the primary reason CDNs choose not to implement IP-anycast?

<p>Potential for inconsistent packet delivery (A)</p> Signup and view all the answers

Which of the following is not a criterion used in the BGP route-selection algorithm?

<p>Next-hop bandwidth (C)</p> Signup and view all the answers

In the event of a routing tie, which BGP attribute is utilized last in the route selection process?

<p>BGP identifier (A)</p> Signup and view all the answers

Flashcards

BGP (Border Gateway Protocol)

A routing protocol deployed across Autonomous Systems (ASs) to enable inter-AS communication. It facilitates the advertisement of subnet reachability information throughout the internet.

Gateway Router

A router connected to other ASs at the edge of an AS.

Internal Router

A router located entirely within an AS, connecting hosts and other routers inside the AS.

BGP Route Advertisement

In BGP, routers advertise prefixes representing subnets. Each prefix includes a route to a specific subnet or a group of subnets. This allows routers to build forwarding tables with entries that map a prefix to an interface.

Signup and view all the flashcards

BGP Route Selection

BGP uses a variety of factors, including policy and reachability information, to determine the optimal path for routing packets. The best route is selected based on these factors.

Signup and view all the flashcards

Reachability Information Advertisement

BGP enables each AS to advertise its network's reachability to the rest of the internet, allowing other ASs to learn about available networks and routes.

Signup and view all the flashcards

BGP's Role in Reachability and Path Selection

The responsibility of BGP involves not only learning about reachable networks but also deciding the best paths to these networks. This involves applying policies to prioritize certain paths or avoid others.

Signup and view all the flashcards

Local Preference

A policy-driven value used by BGP to prioritize routes, selecting those with the highest local preference.

Signup and view all the flashcards

AS-PATH

A metric used by BGP to select routes with the fewest Autonomous System (AS) hops, promoting shorter paths.

Signup and view all the flashcards

Hot Potato Routing

A BGP route selection mechanism that prioritizes routes with the closest next-hop router, emphasizing direct connectivity.

Signup and view all the flashcards

BGP Identifiers

A BGP route selection method that uses unique identifiers to differentiate between multiple routes with identical attributes.

Signup and view all the flashcards

Content Distribution Network (CDN)

A service that replicates content across multiple servers, allowing users to access the closest copy for faster delivery.

Signup and view all the flashcards

Domain Name Service (DNS)

A system that resolves domain names (e.g., google.com) to IP addresses, enabling communication between computers.

Signup and view all the flashcards

IP-Anycast

A mechanism that allows a single IP address to represent multiple physical locations.

Signup and view all the flashcards

DNS Replication

A service that replicates DNS records on servers worldwide, ensuring efficient name resolution.

Signup and view all the flashcards

BGP Routing Policy

The practice of configuring BGP to prioritize specific routes based on an AS's policies.

Signup and view all the flashcards

BGP Route Selection Algorithm

The process of selecting the most optimal route based on policies and reachability information in BGP.

Signup and view all the flashcards

What is an Autonomous System (AS)?

An Autonomous System (AS) is a group of networks under the control of a single administrative entity.

Signup and view all the flashcards

What is BGP?

BGP stands for Border Gateway Protocol. It is used for routing between Autonomous Systems.

Signup and view all the flashcards

What is the function of BGP messages?

BGP messages are exchanged between Autonomous Systems to propagate reachability information for IP prefixes.

Signup and view all the flashcards

How does an AS advertise a route to another AS?

An AS advertises a route to another AS by including the prefix and the path of ASs it traversed to reach that prefix. For example, AS2 advertising prefix x to AS1 with path 'AS2 AS3 x' means: 'You can reach x by first reaching AS2 and then AS3.'

Signup and view all the flashcards

What is the difference between eBGP and iBGP?

eBGP (external BGP) connections are BGP sessions between routers in different ASs, while iBGP (internal BGP) connections are BGP sessions between routers in the same AS.

Signup and view all the flashcards

How do routers determine the best route?

Routers use BGP attributes like AS-PATH and NEXT-HOP to determine the best routes for a specific destination. AS-PATH describes the path of ASs traversed, while NEXT-HOP indicates the next router on the path.

Signup and view all the flashcards

What factor is important for selecting the best route in BGP?

In BGP route selection, the shorter AS-PATH is usually preferred, as it indicates a shorter path through the network, leading to faster packet delivery.

Signup and view all the flashcards

How do routers use the learned routes?

Routers use a forwarding table to store the best routes to each destination. This table helps the router quickly determine where to send packets.

Signup and view all the flashcards

Is BGP a static or dynamic protocol?

BGP is a dynamic routing protocol, meaning that routers constantly exchange routing information and update their forwarding tables based on the latest changes in network connectivity.

Signup and view all the flashcards

Source Quench

A type of ICMP message sent by a congested router to a host, instructing it to reduce its transmission rate. It helps alleviate network congestion.

Signup and view all the flashcards

Traceroute

A network utility used to trace the route taken by packets from a source to a destination. It utilizes ICMP messages to gather information about routers along the path.

Signup and view all the flashcards

Network Management

The practice of managing a computer network, involving deployment, integration, monitoring, configuration, and control of network components to meet performance requirements.

Signup and view all the flashcards

Network Management Agent

A software process running on a network device that communicates with a centralized management server, providing data and configuration information.

Signup and view all the flashcards

Managing Server

A centralized station within a network that manages and monitors network components and resources.

Signup and view all the flashcards

ICMP (Internet Control Message Protocol)

A network protocol allowing hosts and routers to exchange information about network-layer events, typically used for error reporting.

Signup and view all the flashcards

ICMP Echo Request/Reply

An ICMP message type specifically designed for testing network connectivity. It's used to send a request to a destination host and receive a reply if the host is reachable.

Signup and view all the flashcards

Software-Defined Networking (SDN)

A network management paradigm that separates the control plane from the data plane, enabling centralized control and automation of network devices.

Signup and view all the flashcards

OpenFlow

An SDN mechanism that allows a central controller to interact with network devices, often switches, to program routing and forwarding behavior.

Signup and view all the flashcards

Link-State Manager

A component within an SDN controller responsible for managing link status information and reacting to changes in network topology, ensuring efficient routing.

Signup and view all the flashcards

Link-State Routing

An SDN component that calculates optimal paths between network nodes based on link-state information, using algorithms like Dijkstra's shortest path algorithm.

Signup and view all the flashcards

Flow Table Manager

A component in an SDN controller responsible for translating routing decisions into specific flow tables, which dictate packet forwarding rules on individual devices.

Signup and view all the flashcards

Network Functions Virtualization (NFV)

A concept extending SDN's principles to encompass functions beyond basic forwarding. It aims at replacing specialized network devices with virtualized ones.

Signup and view all the flashcards

OpenFlow Port-Status Message

The mechanism by which a network device, such as a switch, notifies the SDN controller about changes in its port status, often triggered by link failures.

Signup and view all the flashcards

Route Recalculation

The process of updating routing tables based on changes in network topology, such as link failures, by recalculating shortest paths and configuring devices accordingly.

Signup and view all the flashcards

Study Notes

Computer Networks: The Network Layer

  • This presentation discusses the network layer and its control plane.
  • The outline covers various topics such as introductions, routing algorithms, intra-AS routing (OSPF), inter-AS routing (BGP), SDN control planes, ICMP protocol, and network management protocols.

Routing Among the ISPs: BGP

  • BGP (Border Gateway Protocol) is a decentralized, asynchronous protocol used for inter-AS routing.
  • BGP routes packets to CIDRized prefixes (representing subnets or collections of subnets), not specific destination addresses.
  • A router's forwarding table has entries in the format (x, I), where x is a prefix (e.g., 138.16.68/22) and I is an interface number.

The Role of BGP

  • BGP allows routers to obtain prefix reachability information from neighboring autonomous systems (ASs).
  • Each subnet advertises its existence to the rest of the internet within each associated autonomous system.
  • BGP utilizes a route-selection procedure to determine the "best" routes, considering both reachability and policy.
  • BGP routing tables can contain over half a million routes.

Advertising BGP Route Information

  • Each router in an autonomous system (AS) is either a gateway router or an internal router.
  • A gateway router connects to one or more routers in other ASs and directly interacts with other Autonomous Systems.
  • An internal router connects only with hosts and routers within its own AS.
  • ASes exchange routing information via routers.

Advertising BGP Route Information Example

  • In the displayed network example, AS3 advertises subnet x to AS2.
  • AS2 advertises the path AS2-AS3-x to AS1.
  • Each AS simultaneously learns about the existence of a path and the existence of the path itself to destination x.
  • Routers, not autonomous systems, are the agents acting upon routing information.

Advertising BGP Route Information (TCP Connections)

  • BGP routing information exchange happens over semi-permanent TCP connections with port 179.
  • External BGP (eBGP) connections span across different autonomous systems.
  • Internal BGP (iBGP) connections exist between routers within the same autonomous system.
  • Typically, there is one eBGP connection per direct link between gateway routers in different ASes.
  • There can be multiple iBGP connections between routers within an AS that don't always correspond to physical links.

Determining the Best Routes

  • Routers choose the best route among multiple available paths based on attributes like AS-PATH and NEXT-HOP. The AS-PATH attribute records the sequence of ASes in the route, and the NEXT-HOP attribute identifies the IP address of the next router along the chosen path.
  • This prioritizes paths with shorter AS-PATHs, but also considers policy and local preference.

Hot Potato Routing

  • The hot-potato routing algorithm prioritizes sending network traffic out of an AS as quickly as possible, without considering costs or intermediate network segments outside the specific AS.
  • Two routers in the same AS can use different paths to reach the same destination prefix.

IP-Anycast

  • IP-anycast allows replicating content across multiple servers in different countries.
  • This allows users to access the nearest server efficiently.
  • BGP is used to create paths to multiple copies of the server.

Routing Policy

  • Routing policies are used to determine routing within and between autonomous systems.
  • Policies favor traffic going to a direct customer through the shortest path, minimizing cost and routing overhead.
  • The policy decides which route from multiple possible ones is to be used for traffic with a common destination prefix.

Access ISP Policy

  • All the traffic entering or leaving an access network, must be destined to or from the access network where the traffic originated.
    • Selective route advertisement policy is used to only advertise the paths for given access network, without unnecessary routing complexity.

Backbone/Provider ISP Policy

  • ISPs commonly use the rule that traffic routed across their backbone network must have a destination or source within a customer network of that ISP.
  • Peerings between ISPs are negotiated privately and have confidential agreements.

Why Different Routing Protocols?

  • Policy dictates routing decisions between Autonomous Systems (ASs).
  • Scaling capability to manage large networks is a key aspect when selecting routing protocols.
  • Performance of the chosen routes is a lesser concern between ASs, but it is important inside an AS where routing prioritizes high throughput and minimized end-to-end latency.

Obtaining Internet Presence

  • Obtaining internet connectivity requires contracting with and connecting to an ISP.
  • The ISP provides an IP address range.
  • The customer (e.g., an organization) assigns these IP addresses within the range to devices (e.g., Web Servers, mail servers, DNS servers, and gateway router).
  • The customer then contracts with an internet registrar to obtain a relevant domain name which in turn is registered to be associated with the provided IP addresses of its services.

ICMP: The Internet Control Message Protocol

  • ICMP is used by systems (hosts or routers) to exchange network-layer information, with a most frequent use-case as an error reporting tool.
  • ICMP messages are transported within IP datagrams.
  • Format of an ICMP message, includes headers fields for Type and Code that describe the type and specific nuance of the message.

The Internet Control Message Protocol Example Messages

  • Ping: the program sends ICMP message type 8, code 0.
  • Source quench: ICMP message to force a host that overloaded a router to reduce its transmission rate. This is seldom (if ever) used.
  • Traceroute: the program sends a series of UDP packets with incrementing Time-To-Live (TTL) values to determine paths, or routes, needed to reach a target.

Network Management

  • Managing network components, including people and software tools in addition to hardware components such as routers, and switches.
  • Objectives of network management include deploying, integrating, and coordinating network elements, as well as monitoring, evaluation, analyzing the performance of the operational network, identifying and responding to faults, and implementing changes to meet performance expectations defined by Service Level Agreements (SLAs).

Components of Network Management

  • A managing server located in a central network operations center (NOC), to oversee, and execute, all operations pertaining to networked devices within the purview of that NOC.
  • Managed devices include all network-connected components: hosts, routers, switches, and other hardware components.
  • Network management agents are software processes running on the managed devices to communicate with the managing server.

Ways to Manage the Network

  • Command line interface (CLI): a method to manage networks which is prone to errors, and difficult to automate or scale to larger networks.
  • SNMP/MIB: a technique using Simple Network Management Protocol (SNMP) that can query and set values of network data via Management Information Base (MIB) objects.
  • NETCONF/YANG: data modeling and communication language and protocol used to configure and manage devices remotely and uniformly.

Studying That Suits You

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

Quiz Team

Related Documents

Description

Test your knowledge on Border Gateway Protocol (BGP) and its role in internet routing. This quiz covers key concepts, components of BGP, and aspects of network management. Challenge yourself with questions about routing tables, ICMP messages, and traceroute operations.

More Like This

BGP Load Balancing Quiz
5 questions
BGP Inter-domain Routing Protocol
18 questions
Attributs BGP et Routage
65 questions

Attributs BGP et Routage

FinestRetinalite5938 avatar
FinestRetinalite5938
Use Quizgecko on...
Browser
Browser