Internet Routing III Flashcards
Why is BGP important?
BGP is the backbone of the global routing infrastructure, serving as the primary protocol for inter-domain routing.
BGP is the primary protocol responsible for directing data traffic between different autonomous systems (ASes) that comprise the Internet.
It ensures that data packets take the most optimal paths as they traverse various ASes, making BGP a fundamental component of the Internet’s operations.
And more…
Why do we not use OSPF everywhere such as in inter-domain protocols and not only in intra-domain routing protocols?
What is used instead?
OSPF doesn’t scale to the internet since it needs to know the whole topology. And more?
BGP is used instead.
Autonomous Systems participate in which protocol? (This question is kinda sus see answer)
ASes participate in the Exterior Gateway Protocol (EGP), a crucial component of inter-domain routing that enables efficient communication between different ASes.
Sus because EGP is not used any more, BGP is used instead.
The Border Gateway Protocol (BGP) operates using a conceptual framework that involves the maintenance of three sets of state, each serving a specific purpose within the routing process:
Which are these?
Adj-RIBs-In
- Stands for “Adjacent Routing Information Base, Incoming”
- Has unprocessed routes learned from other BGP speakers
- Contains both reachable and unreachable routes
in case the latter later becomes reachable and can be added to Loc-RIB
Loc-RIB (Local RIB)
- Contains routes from Adj-RIBs-In selected by policy
- First hop of each route must be reachable by Interior Gateway Protocol (IGP) or static route
Adj-RIBs-Out (Adj-RIBs, Outgoing)
- Subset of Loc-RIB to be advertised to peer speakers
What are the implications or challenges of the Border Gateway Protocol (BGP)?
Explicit AS Path for Loop Prevention: BGP uses AS path for loop-free routing but can face challenges with AS churn or misconfigurations.
Incomplete Path Knowledge: ASes might not have complete path information due to BGP's decentralized nature. AS Abstraction Issues: BGP abstracts routers and links within an AS, which can lead to suboptimal routing decisions. Non-Guaranteed Shortest AS Path: BGP decisions might not always prioritize the shortest path due to factors like policies and local preferences. Scaling Challenges: BGP must manage a growing number of ASes and prefixes, which can be challenging. Prefix Aggregation: This technique reduces the number of prefixes but can decrease routing granularity. Policy and Security Concerns: BGP allows complex routing policies which can lead to intricate configurations, and it has vulnerabilities like prefix hijacking.
Which protocol does the Border Gateway Protocol (BGP) operate on top of?
Transmission Control Protocol (TCP)
The Border Gateway Protocol (BGP) defines four main types of messages. Which?
OPEN: Used to establish a connection with a BGP peer. It carries information such as the BGP version, the sender’s autonomous system (AS) number, and the hold time.
UPDATE: Used to advertise new routes or withdraw previously advertised routes. It provides information about a path to a particular network and the attributes of that path. KEEPALIVE: Sent periodically between peers to ensure the connection is alive. If a router doesn't receive a Keepalive (or any other message) from its peer within the hold time, it will assume the connection is dead. NOTIFICATION: Sent when an error is detected. It indicates to the peer that a fault has occurred and describes the nature of the error. After sending a Notification message, the BGP connection is typically closed.
What happens if a next-hop address in BGP is not reachable?
The route becomes invalid for the current BGP speaker.
In BGP route selection, what is the fundamental consideration before evaluating other attributes?
Whether the next-hop address of the route is reachable.
In BGP route selection, why are routes with shorter AS paths preferred?
Routes with shorter AS paths are preferred as they often indicate a more direct path to the destination.
What is the “AS Path” in the context of BGP?
The AS path is the sequence of ASes that the route has traversed.
What does the “End-to-End Principle” in network design suggest?
Important functionality should be placed at the endpoints of the network rather than in the core. This promotes flexibility and innovation at the edges of the network.
How does “Layering” contribute to network design?
Network functionality is divided into layers, with each layer responsible for specific tasks. This modular approach simplifies management, maintenance, and upgrades.
What does the principle of “Abstraction” mean in network design?
The details of lower layers are hidden from higher layers, with each layer providing a well-defined interface for the layer above. It promotes separation of concerns and modularity.
Describe the principle of “Decentralization” in the context of the Internet.
The Internet is a collection of interconnected networks without a central controlling authority, promoting scalability, robustness, and adaptability.