Ch 6: IP Routing Essentials Flashcards
Which of the following routing protocols is classified as an EGP?
a. RIP
b. EIGRP
c. OSPF
d. IS-IS
e. BGP
E. BGP is the only Exterior Gateway Protocol listed here.
Which of the following routing protocols are classified as IGPs? (Choose all that apply.)
a. RIP
b. EIGRP
c. OSPF
d. IS-IS
e. BGP
A, B, C, and D. RIP, EIGRP, OSPF, and IS-IS are all classified as Interior Gateway Protocols.
A path vector routing protocol finds the best loop-free path by using ______.
- hop count
- bandwidth
- delay
- interface cost
- path attributes
- BGP is a path vector routing protocol that selects the best path based on path attributes such as MED, local preference, and AS_PATH length.
A distance vector routing protocol finds the best loop-free path by using ______.
- hop count
- bandwidth
- delay
- interface cost
- path attributes
- Distance vector protocols, such as RIP, only use hop count to select the best path.
A link-state routing protocol finds the best loop free path by using ______.
- hop count
- bandwidth
- delay
- interface cost
- path attributes
- Link-state routing protocols use the interface cost as the metric for Shortest Path First (SPF) calculations.
A router uses _________ as the first criterion for forwarding packets.
- path metric
- administrative distance
- longest match
- hop count
- The Cisco CEF sorts all network prefixes from shortest match to longest match for programming of the FIB. The path with the longest match is more explicit than a generic path.
A router uses _________ as the second criterion for forwarding packets.
- path metric
- administrative distance
- longest match
- hop count
- When two different routing protocols attempt to install the same route into the RIB, the route with the lowest AD is installed into the RIB.
The ability to install multiple paths from the same routing protocol with the same path metric into the RIB is known as ______.
- per-packet load balancing
- round-robin load balancing
- equal-cost multipathing
- parallel link forwarding
- Equal-cost multipath is the installation of multiple paths (that are deemed the best path) into the RIB when they come from the same routing protocol.
Which static route should be used to avoid unintentional forwarding paths with an Ethernet link failure?
- A directly attached static route
- A recursive static route
- A fully specified static route
- A static null route
- Ethernet links should not use a directly attached static route, and a link failure could result in the resolution of the next-hop IP address resolving to an unintentional link. The fully specified static route ensures that the next hop is resolvable using only the specified interface.
Virtual routing and forwarding (VRF) is useful with _____ addresses.
- MAC
- IPv4
- IPv6
- IPv4 and IPv6
- VRFs support multiprotocol (IPv4 and IPv6) addressing.
T/F: BGP can function as both an IGP and and EGP
BGP is an EGP protocol but can also be used within an autonomous system. If BGP exchanges routes within an autonomous system, it is known as an interior BGP (iBGP) session. If it exchanges routes between different autonomous systems, it is known as an exterior BGP (eBGP) session.
T/F: A distance vector protocol selects paths purely based on distance
T: A distance vector protocol selects paths purely based on distance. It does not account for link speeds or other factors.
Which of the following is not correct about EIGRP?
- It offers rapid convergence time for changes in the network topology.
- It sends periodic full routing table updates like DV protocols
- It uses hellos and forms neighbor relationships just as link-state protocols do.
- It uses bandwidth, delay, reliability, load, and maximum transmission unit (MTU) size instead of hop count for path calculations.
- It has the option to load balance traffic across equal- or unequal-cost paths.
The diffusing update algorithm (DUAL) is an enhanced distance vector algorithm that EIGRP uses to calculate the shortest path to a destination within a network. EIGRP advertises network information to its neighbors as other distance vector protocols do, but it has some enhancements, as its name suggests. The following are some of the enhancements introduced into this algorithm compared to other distance vector algorithms:
- It offers rapid convergence time for changes in the network topology.
- It sends updates only when there is a change in the network. It does not send full routing table updates in a periodic fashion, as distance vector protocols do.
- It uses hellos and forms neighbor relationships just as link-state protocols do.
- It uses bandwidth, delay, reliability, load, and maximum transmission unit (MTU) size instead of hop count for path calculations.
- It has the option to load balance traffic across equal- or unequal-cost paths.
T/F: A link-state dynamic IP routing protocol advertises the link state and link metric for each of its connected links only to every directly connected neighbor router in it’s AS.
False.
A link-state dynamic IP routing protocol advertises the link state and link metric for each of its connected links and directly connected routers to every router in the network.
OSPF advertisements are called link-state advertisements (LSAs), and IS-IS uses link-state packets (LSPs) for its advertisements.
What is the LSDB?
As a router receives an advertisement from a neighbor, it stores the information in a local database called the link-state database (LSDB) and advertises the link-state information on to each of its neighbor routers exactly as it was received.
The link-state information is essentially flooded throughout the network, unchanged, from router to router, just as the originating router advertised it. This allows all the routers in the network to have a synchronized and identical map of the network.
What is the Dijkstra algorithm?
Using the complete map of the network, every router in the network then runs the Dijkstra shortest path first (SPF) algorithm to calculate the best shortest loop-free paths. The link-state algorithm then populates the routing table with this information.
T/F: In addition to using less memory and CPU, distance vector protocols are less prone to routing loops than link state protocols.
Due to having the complete map of the network, link-state protocols usually require more CPU and memory than distance vector protocols, but they are less prone to routing loops and make better path decisions.
T/F: A router identifies the path a packet should take by evaluating the prefix length that is programmed in the Forwarding Information Base (FIB).
True.
A router identifies the path a packet should take by evaluating the prefix length that is programmed in the Forwarding Information Base (FIB). The FIB is programmed through the routing table, which is also known as the Routing Information Base (RIB). The RIB is composed of routes presented from the routing protocol processes. Path selection has three main components:
- Prefix length: The prefix length represents the number of leading binary bits in the subnet mask that are in the on position.
- Administrative distance: Administrative distance (AD) is a rating of the trustworthiness of a routing information source. If a router learns about a route to a destination from more than one routing protocol, and all the routes have the same prefix length, then the AD is compared.
- Metrics: A metric is a unit of measure used by a routing protocol in the best-path calculation. The metrics vary from one routing protocol to another.
What are the ADs for the following routed protocols or connection types? hint: These are in the right order.
- Connected
- Static
- EIGRP summary route
- External BGP (eBGP)
- EIGRP (internal)
- OSPF
- IS-IS
- RIP
- EIGRP (external)
- Internal BGP (iBGP)
As each routing protocol receives routing updates and other routing information, it chooses the best path to any given destination and attempts to install this path into the routing table. Table 6-3 provides the default ADs for a variety of routing protocols.

When a route is to be added to the RIB, what must be true for the two cases that the route is added?
The RIB is programmed from the various routing protocol processes. Every routing protocol presents the same information to the RIB for insertion: the destination network, the next-hop IP address, the AD, and metric values. The RIB accepts or rejects a route based on the following logic:
- If the route does not exist in the RIB, the route is accepted.
- If the route exists in the RIB, the AD must be compared. If the AD of the route already in the RIB is lower than the process submitting the second route, the route is rejected. Then that routing process is notified.
- If the route exists in the RIB, the AD must be compared. If the AD of the route already in the RIB is higher than the routing process submitting the alternate entry, the route is accepted, and the current source protocol is notified of the removal of the entry from the RIB.
T/F: Changing the AD can cause routing loops.
True.
The default AD might not always be suitable for a network; for instance, there might be a requirement to adjust it so that OSPF routes are preferred over EIGRP routes. However, changing the AD on routing protocols can have severe consequences, such as routing loops and other odd behavior, in a network. It is recommended that the AD be changed only with extreme caution and only after what needs to be accomplished has been thoroughly thought out.
What is ECMP? T/F: RIP, EIGRP, OSPF, BGP and IS-IS all support ECMP.
Equal-Cost Multipathing
If a routing protocol identifies multiple paths as a best path and supports multiple path entries, the router installs the maximum number of paths allowed per destination. This is known as equal-cost multipathing (ECMP) and provides load sharing across all links. RIP, EIGRP, OSPF, and IS-IS all support ECMP. ECMP provides a mechanism to increase band- width across multiple paths by splitting traffic equally across the links.

T/F: The command sh ip route displays the FIB.
False. This will display the RIB, Routing Information Base.
RIB - Routing information base - sh ip route ( shows rib- Where routing table is built- CONTROL PLANE)
FIB - Forward Information base - sh ip cef (this is where RIB looks when deciding where to forward the traffic - DATA PLANE)
T/F: By default, routing protocols install only routes with the lowest path metric.
True.







