Podcast
Questions and Answers
What is the primary function of BGP in inter-domain routing?
What is the primary function of BGP in inter-domain routing?
What is internal routing?
What is internal routing?
What is the advantage of using internal routing protocols such as OSPF?
What is the advantage of using internal routing protocols such as OSPF?
What is the purpose of external routing?
What is the purpose of external routing?
Signup and view all the answers
What is AS_Path tree?
What is AS_Path tree?
Signup and view all the answers
What is the purpose of BGP in your network?
What is the purpose of BGP in your network?
Signup and view all the answers
What is the advantage of using BGP?
What is the advantage of using BGP?
Signup and view all the answers
Why is internal routing critical?
Why is internal routing critical?
Signup and view all the answers
What is the purpose of the BGP Decision Algorithm?
What is the purpose of the BGP Decision Algorithm?
Signup and view all the answers
What is the purpose of the Origin Attribute in BGP?
What is the purpose of the Origin Attribute in BGP?
Signup and view all the answers
What is the purpose of the KEEPALIVE message in BGP?
What is the purpose of the KEEPALIVE message in BGP?
Signup and view all the answers
What is the function of the Version field in the OPEN Message format?
What is the function of the Version field in the OPEN Message format?
Signup and view all the answers
What is the purpose of the AS path Attribute in BGP?
What is the purpose of the AS path Attribute in BGP?
Signup and view all the answers
What is the purpose of the Next Hop Attribute in BGP?
What is the purpose of the Next Hop Attribute in BGP?
Signup and view all the answers
What is the maximum time in seconds that may elapse between the receipt of successive KEEPALIVE or update messages?
What is the maximum time in seconds that may elapse between the receipt of successive KEEPALIVE or update messages?
Signup and view all the answers
What is the purpose of the Multi-Exit Discriminator Attribute in BGP?
What is the purpose of the Multi-Exit Discriminator Attribute in BGP?
Signup and view all the answers
What is the BGP Identifier?
What is the BGP Identifier?
Signup and view all the answers
What is the purpose of the Local Preference Attribute in BGP?
What is the purpose of the Local Preference Attribute in BGP?
Signup and view all the answers
What is the purpose of the NOTIFICATION MESSAGE in BGP?
What is the purpose of the NOTIFICATION MESSAGE in BGP?
Signup and view all the answers
What is the Optional Parameter field in the OPEN Message format?
What is the Optional Parameter field in the OPEN Message format?
Signup and view all the answers
What are the possible values of the Origin Attribute in BGP?
What are the possible values of the Origin Attribute in BGP?
Signup and view all the answers
How does an AS advertise the networks that it originates in BGP?
How does an AS advertise the networks that it originates in BGP?
Signup and view all the answers
What is the size of the My Autonomous System field in the OPEN Message format?
What is the size of the My Autonomous System field in the OPEN Message format?
Signup and view all the answers
What is the Loopback address?
What is the Loopback address?
Signup and view all the answers
What is the main advantage of CIDR over BGP3?
What is the main advantage of CIDR over BGP3?
Signup and view all the answers
What is the process of combining several different routes into a single route called?
What is the process of combining several different routes into a single route called?
Signup and view all the answers
What is required for a router to aggregate an address?
What is required for a router to aggregate an address?
Signup and view all the answers
What is the purpose of confederations in BGP?
What is the purpose of confederations in BGP?
Signup and view all the answers
How are mini-ASs connected in a confederation?
How are mini-ASs connected in a confederation?
Signup and view all the answers
What is represented by the /16 in the CIDR notation 192.213.0.0/16?
What is represented by the /16 in the CIDR notation 192.213.0.0/16?
Signup and view all the answers
What is the result of aggregating routes in BGP?
What is the result of aggregating routes in BGP?
Signup and view all the answers
What is the relationship between peer group members and configuration options?
What is the relationship between peer group members and configuration options?
Signup and view all the answers
Why would you speak BGP to a single upstream provider?
Why would you speak BGP to a single upstream provider?
Signup and view all the answers
What is a valid reason to configure BGP as a single-homed network?
What is a valid reason to configure BGP as a single-homed network?
Signup and view all the answers
What is the goal of multi-homing?
What is the goal of multi-homing?
Signup and view all the answers
What is 'fail-over' routing?
What is 'fail-over' routing?
Signup and view all the answers
Why might an upstream provider not want to configure BGP with a single-homed network?
Why might an upstream provider not want to configure BGP with a single-homed network?
Signup and view all the answers
What might happen if a single-homed network announces its routes more specifically?
What might happen if a single-homed network announces its routes more specifically?
Signup and view all the answers
What is a consideration when deciding whether to announce routes more specifically as a single-homed network?
What is a consideration when deciding whether to announce routes more specifically as a single-homed network?
Signup and view all the answers
What should you do if you want to configure BGP as a single-homed network?
What should you do if you want to configure BGP as a single-homed network?
Signup and view all the answers
What is the main advantage of CIDR over BGP3?
What is the main advantage of CIDR over BGP3?
Signup and view all the answers
What is required for a router to aggregate an address?
What is required for a router to aggregate an address?
Signup and view all the answers
What is the purpose of confederations in BGP?
What is the purpose of confederations in BGP?
Signup and view all the answers
What is represented by the /16 in the CIDR notation 192.213.0.0/16?
What is represented by the /16 in the CIDR notation 192.213.0.0/16?
Signup and view all the answers
What is the result of aggregating routes in BGP?
What is the result of aggregating routes in BGP?
Signup and view all the answers
What is the relationship between peer group members and configuration options?
What is the relationship between peer group members and configuration options?
Signup and view all the answers
What is the process of combining several different routes into a single route called?
What is the process of combining several different routes into a single route called?
Signup and view all the answers
How are mini-ASs connected in a confederation?
How are mini-ASs connected in a confederation?
Signup and view all the answers
What happens if Router A does not redistribute network 170.10.0.0 into an IGP?
What happens if Router A does not redistribute network 170.10.0.0 into an IGP?
Signup and view all the answers
Why does Router B send traffic to Router E to reach network 170.10.0.0?
Why does Router B send traffic to Router E to reach network 170.10.0.0?
Signup and view all the answers
What will happen if Router B advertises to AS 400 that it can reach 170.10.0.0 before Router E learns about the network via IGP?
What will happen if Router B advertises to AS 400 that it can reach 170.10.0.0 before Router E learns about the network via IGP?
Signup and view all the answers
What is the purpose of redistribution in the context of Figure 60?
What is the purpose of redistribution in the context of Figure 60?
Signup and view all the answers
In the context of Figure 60, what is the role of Router C?
In the context of Figure 60, what is the role of Router C?
Signup and view all the answers
Why does Router E drop packets destined for 170.10.0.0?
Why does Router E drop packets destined for 170.10.0.0?
Signup and view all the answers
What is the consequence of router B advertising to AS 400 that it can reach 170.10.0.0 before Router E learns about the network via IGP?
What is the consequence of router B advertising to AS 400 that it can reach 170.10.0.0 before Router E learns about the network via IGP?
Signup and view all the answers
What is the relationship between Router A and Router B?
What is the relationship between Router A and Router B?
Signup and view all the answers
What is the term used to describe a route with a particular starting point and a particular specificity?
What is the term used to describe a route with a particular starting point and a particular specificity?
Signup and view all the answers
What is the protocol used to carry routing information between autonomous systems?
What is the protocol used to carry routing information between autonomous systems?
Signup and view all the answers
What is the purpose of the initial exchange of all candidate BGP routes between peer routers?
What is the purpose of the initial exchange of all candidate BGP routes between peer routers?
Signup and view all the answers
What is the result of not having strict enough filters on the routes you advertise?
What is the result of not having strict enough filters on the routes you advertise?
Signup and view all the answers
What is the transport protocol used by BGP?
What is the transport protocol used by BGP?
Signup and view all the answers
What is the term used to describe the sequence of AS numbers that indicates the path a route has traversed?
What is the term used to describe the sequence of AS numbers that indicates the path a route has traversed?
Signup and view all the answers
What is the purpose of incremental updates in BGP?
What is the purpose of incremental updates in BGP?
Signup and view all the answers
What is the relationship between two BGP routers that have formed a transport protocol connection?
What is the relationship between two BGP routers that have formed a transport protocol connection?
Signup and view all the answers
Which protocol does BGP use as its transport protocol?
Which protocol does BGP use as its transport protocol?
Signup and view all the answers
What is the purpose of redistributing BGP routing information to Interior Gateway Protocols (IGPs) within an AS?
What is the purpose of redistributing BGP routing information to Interior Gateway Protocols (IGPs) within an AS?
Signup and view all the answers
What is the term for any two routers that have opened a TCP connection to each other for the purpose of exchanging routing information?
What is the term for any two routers that have opened a TCP connection to each other for the purpose of exchanging routing information?
Signup and view all the answers
What is the purpose of the AS_Path attribute in BGP?
What is the purpose of the AS_Path attribute in BGP?
Signup and view all the answers
What is the result of aggregating routes in BGP?
What is the result of aggregating routes in BGP?
Signup and view all the answers
What is the purpose of EBGP in external routing?
What is the purpose of EBGP in external routing?
Signup and view all the answers
What is the term for the process of combining several different routes into a single route?
What is the term for the process of combining several different routes into a single route?
Signup and view all the answers
What is the purpose of CIDR in IP routing?
What is the purpose of CIDR in IP routing?
Signup and view all the answers
What is the primary purpose of advertising routes to other networks (Autonomous Systems) in BGP?
What is the primary purpose of advertising routes to other networks (Autonomous Systems) in BGP?
Signup and view all the answers
What is the result of advertising routes that you don't know how to get to in BGP?
What is the result of advertising routes that you don't know how to get to in BGP?
Signup and view all the answers
What is an Autonomous System (AS) in the context of BGP?
What is an Autonomous System (AS) in the context of BGP?
Signup and view all the answers
What is the purpose of a Network Operations Center (NOC) in an Autonomous System?
What is the purpose of a Network Operations Center (NOC) in an Autonomous System?
Signup and view all the answers
What is the benefit of advertising routes to other networks in BGP?
What is the benefit of advertising routes to other networks in BGP?
Signup and view all the answers
What is the consequence of advertising routes more specifically as a single-homed network?
What is the consequence of advertising routes more specifically as a single-homed network?
Signup and view all the answers
What is the purpose of a border router in an Autonomous System?
What is the purpose of a border router in an Autonomous System?
Signup and view all the answers
What is the importance of knowing how to get to a route in BGP?
What is the importance of knowing how to get to a route in BGP?
Signup and view all the answers
What is the primary function of an Autonomous System (AS)?
What is the primary function of an Autonomous System (AS)?
Signup and view all the answers
What is the benefit of BGP4 over earlier versions of BGP?
What is the benefit of BGP4 over earlier versions of BGP?
Signup and view all the answers
What is the purpose of BGP in inter-domain routing?
What is the purpose of BGP in inter-domain routing?
Signup and view all the answers
What is the result of aggregating routes in BGP?
What is the result of aggregating routes in BGP?
Signup and view all the answers
What is the relationship between BGP and internal routing?
What is the relationship between BGP and internal routing?
Signup and view all the answers
What is the role of confederations in BGP?
What is the role of confederations in BGP?
Signup and view all the answers
What is represented by the /16 in the CIDR notation 192.213.0.0/16?
What is represented by the /16 in the CIDR notation 192.213.0.0/16?
Signup and view all the answers
What is the purpose of BGP neighbors?
What is the purpose of BGP neighbors?
Signup and view all the answers
What type of BGP is used to exchange BGP updates within an AS?
What type of BGP is used to exchange BGP updates within an AS?
Signup and view all the answers
Why is IBGP more flexible than redistributing routes into IGP?
Why is IBGP more flexible than redistributing routes into IGP?
Signup and view all the answers
What type of BGP is used between routers A and B in Figure 9?
What type of BGP is used between routers A and B in Figure 9?
Signup and view all the answers
What is the purpose of keepalive messages in BGP?
What is the purpose of keepalive messages in BGP?
Signup and view all the answers
What is required for IBGP peers to communicate with each other?
What is required for IBGP peers to communicate with each other?
Signup and view all the answers
What is AS 200 in Figure 9?
What is AS 200 in Figure 9?
Signup and view all the answers
What is the main advantage of using IBGP over redistributing routes into IGP?
What is the main advantage of using IBGP over redistributing routes into IGP?
Signup and view all the answers
What is the requirement for BGP speakers within an AS?
What is the requirement for BGP speakers within an AS?
Signup and view all the answers
What is the primary goal of internal routing?
What is the primary goal of internal routing?
Signup and view all the answers
What is the benefit of using internal routing protocols such as OSPF?
What is the benefit of using internal routing protocols such as OSPF?
Signup and view all the answers
What is the purpose of BGP in a network with multiple providers?
What is the purpose of BGP in a network with multiple providers?
Signup and view all the answers
What is the result of not having a running and happy network?
What is the result of not having a running and happy network?
Signup and view all the answers
What is the advantage of having routing data for parts of the Internet in your routers?
What is the advantage of having routing data for parts of the Internet in your routers?
Signup and view all the answers
What is required for a router to know how to get to every location in the network?
What is required for a router to know how to get to every location in the network?
Signup and view all the answers
What is the size of the Version field in the OPEN Message format?
What is the size of the Version field in the OPEN Message format?
Signup and view all the answers
What is the benefit of using BGP in a network?
What is the benefit of using BGP in a network?
Signup and view all the answers
What is the purpose of the KEEPALIVE message in BGP?
What is the purpose of the KEEPALIVE message in BGP?
Signup and view all the answers
What is represented by the triplet in the Optional Parameter field?
What is represented by the triplet in the Optional Parameter field?
Signup and view all the answers
What is the primary purpose of having internal routing in a network?
What is the primary purpose of having internal routing in a network?
Signup and view all the answers
What is the purpose of the NOTIFICATION message in BGP?
What is the purpose of the NOTIFICATION message in BGP?
Signup and view all the answers
What is the maximum time in seconds that may elapse between the receipt of successive KEEPALIVE or update messages?
What is the maximum time in seconds that may elapse between the receipt of successive KEEPALIVE or update messages?
Signup and view all the answers
What is the BGP Identifier?
What is the BGP Identifier?
Signup and view all the answers
What is the size of the My Autonomous System field in the OPEN Message format?
What is the size of the My Autonomous System field in the OPEN Message format?
Signup and view all the answers
What is the purpose of the Loopback address?
What is the purpose of the Loopback address?
Signup and view all the answers
What happens when a single-homed network announces its routes more specifically?
What happens when a single-homed network announces its routes more specifically?
Signup and view all the answers
What is the purpose of an upstream provider redistributing static routes into their IGP?
What is the purpose of an upstream provider redistributing static routes into their IGP?
Signup and view all the answers
What happens if a single-homed network is connected to the Internet without speaking BGP to the upstream provider?
What happens if a single-homed network is connected to the Internet without speaking BGP to the upstream provider?
Signup and view all the answers
What is the net difference between using BGP and not using BGP with an upstream provider?
What is the net difference between using BGP and not using BGP with an upstream provider?
Signup and view all the answers
What happens if an upstream provider withdraws a single-homed network's routes every time the link flips up and down a few times?
What happens if an upstream provider withdraws a single-homed network's routes every time the link flips up and down a few times?
Signup and view all the answers
Why might an upstream provider not want to configure BGP with a single-homed network?
Why might an upstream provider not want to configure BGP with a single-homed network?
Signup and view all the answers
What is required for a single-homed network to announce its routes more specifically?
What is required for a single-homed network to announce its routes more specifically?
Signup and view all the answers
What happens when a single-homed network has address space 'inside' of the upstream provider's larger 'netblock'?
What happens when a single-homed network has address space 'inside' of the upstream provider's larger 'netblock'?
Signup and view all the answers
Study Notes
OSPF Configuration and BGP
- OSPF configuration involves normal, stub, totally stub, and NSSA types, as well as RIP redistribution.
Internal and External Routing
- Internal routing involves configuring routers within a network to reach all destinations, using static routes or internal routing protocols like RIP, RIPv2, OSPF, and IS-IS.
- External routing involves peering with other providers or multi-homing to multiple providers, using BGP to take control of where data goes on the Internet.
BGP
- BGP ensures loop-free inter-domain routing and maintains routing data for parts of the Internet in routers.
- BGP configuration involves OPEN messages, which contain version, autonomous system, hold time, BGP identifier, and optional parameters.
OPEN Message Format
- Version: a 1-byte field indicating the BGP protocol version (e.g., BGP3 or BGP4).
- My Autonomous System: a 2-byte field indicating the AS number of the BGP router.
- Hold Time: the maximum time in seconds between KEEPALIVE or update messages.
- BGP Identifier: a 4-byte field indicating the sender's ID (router ID), calculated as the highest IP address on the router or the highest loopback address at BGP session startup.
- Optional Parameters: represented by triplets, including authentication information parameters.
BGP Messages
- Notification Message: sent when an error is detected, and the peer connection is closed.
- KEEPALIVE Message: exchanged periodically to determine peer reachability.
BGP Decision Algorithm
- BGP chooses the single best path for reaching a destination based on attributes:
- AS Path Attribute
- Origin Attribute
- Next Hop Attribute
- Weight Attribute
- Local Preference Attribute
- Multi-Exit Discriminator Attribute
- Community Attribute
BGP Attribute Details
- ORIGIN: specifies the route origin (IGP, EGP, or Incomplete).
- AS_PATH: a list of ASNs traversed by the route.
- NEXT_HOP: the IP address where data destined for the route should be sent.
- MULTI_EXIT_DISC: a weight designed for routing outside and inside an ASN.
- LOCAL_PREF: a weight not designed to be propagated outside an ASN.
CIDR and Aggregate Addresses
- BGP4 supports classless interdomain routing (CIDR), improving over BGP3.
- CIDR eliminates the concept of classes (A, B, C, etc.), making it easier to aggregate routes.
Confederations
- Confederations reduce the IBGP mesh inside an AS by dividing it into multiple mini-ASs.
- Each mini-AS is fully meshed, running IBGP among members, with connections to other mini-ASs in the confederation.
BGP and Single-Homed Networks
- Single-homed networks may not need BGP, but it can be useful for advertising routes and having more control.
Multi-Homing and Load Balancing
- Multi-homing involves using both connections in the same manner and load-balancing them.
- The goal is to have roughly half the traffic go through each connection and maintain fail-over routing in case one connection goes down.
BGP Configuration Options
- Peer group members can configure to override options that do not affect outgoing updates, but only for incoming updates.
CIDR and Aggregate Addresses
- BGP4 supports Classless Interdomain Routing (CIDR), also known as supernetting.
- CIDR eliminates the concept of classes (Class A, Class B, etc.) and allows for more flexible IP address representation.
- CIDR notation consists of an IP address and a subnet mask (e.g., 192.213.0.0/16).
- Aggregation is the process of combining multiple routes into a single route, minimizing routing table size.
- A router cannot aggregate an address without a more specific route in the BGP routing table.
Confederations
- A confederation is a technique to reduce the IBGP mesh inside an Autonomous System (AS).
- Confederations divide the AS into multiple mini-ASs, each fully meshed with IBGP, and assign them to a confederation.
- Each mini-AS has a connection to other mini-ASs within the confederation.
How BGP Works
- BGP is a path vector protocol used to carry routing information between Autonomous Systems (ASs).
- BGP uses TCP as its transport protocol (port 179) for reliability.
- Two BGP routers form a transport protocol connection, exchanging messages to open and confirm connection parameters.
- Peer routers exchange multiple messages, and in case of disagreement, notification errors are sent, and the peer connection is not established.
IBGP and EBGP
- IBGP (Internal BGP) is used among routers within an AS, and EBGP (External BGP) is used between ASs.
- IBGP is run among members of a mini-AS in a confederation.
- Redistributing BGP routing information to Interior Gateway Protocols (IGPs) allows routers within an AS to learn about routes.
Autonomous Systems
- An Autonomous System (AS) is a network with a point of contact (NOC) and one or multiple border routers.
- An AS has an internal routing scheme that allows every router to know how to get to every other router and destination within the AS.
- Advertising routes to other ASs is like making a promise to carry data to the advertised IP space.
- The primary purpose of BGP4 is to advertise routes to other networks (ASs).
Border Gateway Protocol (BGP)
- BGP is a protocol that provides loop-free interdomain routing between autonomous systems (AS).
- BGP is often used among networks of Internet Service Providers (ISPs).
- BGP4 is the current version, which handles aggregation (CIDR) and supernetting, and allows the announcement of "classless routes".
Autonomous System (AS)
- An autonomous system is a set of routers that operate under the same administration.
- Each AS is identified by an AS number.
- BGP constructs a graph of autonomous systems based on the information exchanged between BGP neighbors.
Routing: Internal and External
- Internal routing is the process of routing within a network.
- Internal routing protocols include RIP, RIPv2, OSPF, and IS-IS.
- External routing involves routing between different autonomous systems, often using BGP.
BGP Message Header Format
- The BGP message header format includes:
- Version (1-byte field that indicates the version of BGP protocol)
- My Autonomous System (2-byte field that indicates the AS number of the BGP router)
- Hold Time (maximum time in seconds that may elapse between the receipt of successive KEEPALIVE or update messages)
- BGP Identifier (4-byte field that indicates the sender's ID, calculated as the highest IP address on the router or the highest loopback address at BGP session startup)
OPEN Message
- The OPEN message is used to establish a BGP connection.
- The OPEN message includes the BGP message header format and optional parameters.
Notification Message
- A notification message is sent whenever an error is detected, and the peer connection is closed.
- Notification messages are used to determine the specific nature of errors that emerge in the routing protocol.
KEEPALIVE Message
- KEEPALIVE messages are periodic messages exchanged between peers to determine whether peers are reachable.
- BGP peers initially exchange their full BGP routing tables, and thereafter, send incremental updates only.
EBGP and IBGP
- EBGP (External BGP) is used for routing between different autonomous systems.
- IBGP (Internal BGP) is used for routing within an autonomous system.
- EBGP peers are usually directly connected, while IBGP peers do not have to be directly connected.
Confederations and Route Reflectors
- Confederations and route reflectors are techniques that alleviate the requirement for a logical full mesh in IBGP.
- These techniques allow for more efficient and flexible routing within an autonomous system.
Internal BGP (IBGP)
- IBGP is used to exchange BGP updates within an autonomous system.
- IBGP provides more flexible and efficient ways of controlling the exchange of information within the AS, and presents a consistent view of the AS to external neighbors.
Internet Connectivity without BGP
- Without BGP, a default route can be created towards an upstream provider, and all non-local packets go out the interface specified by the route.
- The upstream provider probably puts static routes towards the customer on their side, and redistributes those static routes into their IGP, and then probably redistributes their IGP into BGP.
- With BGP, the upstream provider gives the customer all of the routes they have, and listens to the customer's route announcements and then redistributes some or all of those to their peers and customers.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
This quiz covers the configuration of OSPF and BGP routing protocols, including normal, stub, totally stub, and NSSA areas, as well as RIP redistribution. It also touches on the role of BGP in maintaining loop-free inter-domain routing.