Podcast
Questions and Answers
What is the primary purpose of BGP in internet routing?
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?
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?
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?
How does BGP determine the best route to a prefix?
What type of protocol is BGP categorized as?
What type of protocol is BGP categorized as?
What kind of information does an AS advertise using BGP?
What kind of information does an AS advertise using BGP?
What is a characteristic of BGP routing tables?
What is a characteristic of BGP routing tables?
What is the primary function of the source quench ICMP message?
What is the primary function of the source quench ICMP message?
Which of the following statements accurately describes how traceroute operates?
Which of the following statements accurately describes how traceroute operates?
What are the main components involved in network management?
What are the main components involved in network management?
Which aspect of network management does not fall within the described considerations?
Which aspect of network management does not fall within the described considerations?
In traceroute operations, when does the source obtain the round-trip time for a datagram?
In traceroute operations, when does the source obtain the round-trip time for a datagram?
What process occurs when the link between switches s1 and s2 goes down?
What process occurs when the link between switches s1 and s2 goes down?
Which role does the SDN controller play when it receives a notification of a link state change?
Which role does the SDN controller play when it receives a notification of a link state change?
In what scenario does the link-state routing application become active?
In what scenario does the link-state routing application become active?
What is the primary function of ICMP in networking?
What is the primary function of ICMP in networking?
What ICMP message does the ping program send to the specified host?
What ICMP message does the ping program send to the specified host?
How does the Internet Control Message Protocol (ICMP) relate to IP datagrams?
How does the Internet Control Message Protocol (ICMP) relate to IP datagrams?
What is one of the aims of network functions virtualization (NFV)?
What is one of the aims of network functions virtualization (NFV)?
Which of the following is NOT a step taken by the flow table manager after link-state changes?
Which of the following is NOT a step taken by the flow table manager after link-state changes?
What does Dijkstra’s algorithm specifically do in the context of SDN?
What does Dijkstra’s algorithm specifically do in the context of SDN?
What identifies an ICMP message, allowing it to function correctly?
What identifies an ICMP message, allowing it to function correctly?
What does the term 'eBGP' refer to?
What does the term 'eBGP' refer to?
Which statement about iBGP connections is correct?
Which statement about iBGP connections is correct?
What is included in a BGP message when advertising a prefix?
What is included in a BGP message when advertising a prefix?
How do routers typically exchange routing information in BGP?
How do routers typically exchange routing information in BGP?
What happens after gateway router 3a sends the eBGP message 'AS3 x'?
What happens after gateway router 3a sends the eBGP message 'AS3 x'?
Why might a router need to choose among different paths to reach a destination?
Why might a router need to choose among different paths to reach a destination?
What information does AS2 learn as it sends the message 'AS2 AS3 x' to AS1?
What information does AS2 learn as it sends the message 'AS2 AS3 x' to AS1?
What is the role of the NEXT-HOP attribute in BGP?
What is the role of the NEXT-HOP attribute in BGP?
When a router receives reachability information for multiple paths, what is one primary criterion it uses to determine the best path?
When a router receives reachability information for multiple paths, what is one primary criterion it uses to determine the best path?
Which attribute is primarily used for the initial route selection in BGP?
Which attribute is primarily used for the initial route selection in BGP?
What is used to break ties among routes with the same local preference value?
What is used to break ties among routes with the same local preference value?
What disadvantage does IP-anycast present when used with CDNs?
What disadvantage does IP-anycast present when used with CDNs?
How does BGP handle multiple route advertisements for the same IP address?
How does BGP handle multiple route advertisements for the same IP address?
What does the term 'hot potato routing' refer to in BGP?
What does the term 'hot potato routing' refer to in BGP?
Which mechanism is primarily used to direct DNS queries to the nearest root DNS server?
Which mechanism is primarily used to direct DNS queries to the nearest root DNS server?
What happens when a BGP router receives multiple routes from different ASs?
What happens when a BGP router receives multiple routes from different ASs?
What is the primary reason CDNs choose not to implement IP-anycast?
What is the primary reason CDNs choose not to implement IP-anycast?
Which of the following is not a criterion used in the BGP route-selection algorithm?
Which of the following is not a criterion used in the BGP route-selection algorithm?
In the event of a routing tie, which BGP attribute is utilized last in the route selection process?
In the event of a routing tie, which BGP attribute is utilized last in the route selection process?
Flashcards
BGP (Border Gateway Protocol)
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
Gateway Router
A router connected to other ASs at the edge of an AS.
Internal Router
Internal Router
A router located entirely within an AS, connecting hosts and other routers inside the AS.
BGP Route Advertisement
BGP Route Advertisement
Signup and view all the flashcards
BGP Route Selection
BGP Route Selection
Signup and view all the flashcards
Reachability Information Advertisement
Reachability Information Advertisement
Signup and view all the flashcards
BGP's Role in Reachability and Path Selection
BGP's Role in Reachability and Path Selection
Signup and view all the flashcards
Local Preference
Local Preference
Signup and view all the flashcards
AS-PATH
AS-PATH
Signup and view all the flashcards
Hot Potato Routing
Hot Potato Routing
Signup and view all the flashcards
BGP Identifiers
BGP Identifiers
Signup and view all the flashcards
Content Distribution Network (CDN)
Content Distribution Network (CDN)
Signup and view all the flashcards
Domain Name Service (DNS)
Domain Name Service (DNS)
Signup and view all the flashcards
IP-Anycast
IP-Anycast
Signup and view all the flashcards
DNS Replication
DNS Replication
Signup and view all the flashcards
BGP Routing Policy
BGP Routing Policy
Signup and view all the flashcards
BGP Route Selection Algorithm
BGP Route Selection Algorithm
Signup and view all the flashcards
What is an Autonomous System (AS)?
What is an Autonomous System (AS)?
Signup and view all the flashcards
What is BGP?
What is BGP?
Signup and view all the flashcards
What is the function of BGP messages?
What is the function of BGP messages?
Signup and view all the flashcards
How does an AS advertise a route to another AS?
How does an AS advertise a route to another AS?
Signup and view all the flashcards
What is the difference between eBGP and iBGP?
What is the difference between eBGP and iBGP?
Signup and view all the flashcards
How do routers determine the best route?
How do routers determine the best route?
Signup and view all the flashcards
What factor is important for selecting the best route in BGP?
What factor is important for selecting the best route in BGP?
Signup and view all the flashcards
How do routers use the learned routes?
How do routers use the learned routes?
Signup and view all the flashcards
Is BGP a static or dynamic protocol?
Is BGP a static or dynamic protocol?
Signup and view all the flashcards
Source Quench
Source Quench
Signup and view all the flashcards
Traceroute
Traceroute
Signup and view all the flashcards
Network Management
Network Management
Signup and view all the flashcards
Network Management Agent
Network Management Agent
Signup and view all the flashcards
Managing Server
Managing Server
Signup and view all the flashcards
ICMP (Internet Control Message Protocol)
ICMP (Internet Control Message Protocol)
Signup and view all the flashcards
ICMP Echo Request/Reply
ICMP Echo Request/Reply
Signup and view all the flashcards
Software-Defined Networking (SDN)
Software-Defined Networking (SDN)
Signup and view all the flashcards
OpenFlow
OpenFlow
Signup and view all the flashcards
Link-State Manager
Link-State Manager
Signup and view all the flashcards
Link-State Routing
Link-State Routing
Signup and view all the flashcards
Flow Table Manager
Flow Table Manager
Signup and view all the flashcards
Network Functions Virtualization (NFV)
Network Functions Virtualization (NFV)
Signup and view all the flashcards
OpenFlow Port-Status Message
OpenFlow Port-Status Message
Signup and view all the flashcards
Route Recalculation
Route Recalculation
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.
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.