Routing Protocols: IGP, EGP, and Distance Vector

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which of the following is a primary purpose of dynamic routing protocols?

  • To discover remote networks and maintain up-to-date routing information. (correct)
  • To manually configure static routes on each router.
  • To prevent any changes in the network topology.
  • To limit network traffic to directly connected devices.

What distinguishes Interior Gateway Protocols (IGPs) from Exterior Gateway Protocols (EGPs)?

  • EGPs are always link-state routing protocols, while IGPs are distance vector protocols.
  • IGPs are used for routing within an autonomous system, while EGPs are used for routing between autonomous systems. (correct)
  • EGPs have faster convergence times compared to IGPs.
  • IGPs are used for routing between autonomous systems, while EGPs are used within an autonomous system.

In distance vector routing, what information is exchanged between routers?

  • The complete topology map of the entire network.
  • Only the directly connected routes every 5 minutes.
  • A list of all routers in the autonomous system.
  • Routing messages and routing information with other routers using the same routing protocol. (correct)

How does a link-state router use the information it receives from other routers?

<p>To create a topology map and select the best path to all destination networks. (D)</p>
Signup and view all the answers

Which characteristic differentiates classless routing protocols from classful routing protocols?

<p>Classless routing protocols include subnet mask information in the routing updates. (C)</p>
Signup and view all the answers

Which routing protocol metric focuses solely on the number of hops to a destination network?

<p>RIP hop count (A)</p>
Signup and view all the answers

What happens immediately after a router successfully boots up in a network using distance vector routing?

<p>It applies the saved configuration and discovers its own directly connected networks. (A)</p>
Signup and view all the answers

What is the purpose of 'split horizon' in distance vector routing protocols?

<p>To prevent routing loops by not sending information out the same interface from which it was received. (A)</p>
Signup and view all the answers

What condition signifies that a network has converged when using a distance vector routing protocol?

<p>All routers have a complete and accurate information about the entire network. (C)</p>
Signup and view all the answers

Which of the following is a characteristic of distance vector routing protocols regarding network topology awareness?

<p>Routers are only aware of the network addresses of their own interfaces and remote networks they can reach through neighbors. (A)</p>
Signup and view all the answers

Which algorithm does RIP use to determine the best path for routing?

<p>Bellman-Ford algorithm (C)</p>
Signup and view all the answers

Which of the following multicast addresses does RIPv2 use to send routing updates?

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

What enhancements did EIGRP introduce compared to IGRP?

<p>Bounded triggered updates and maintenance of a topology table. (C)</p>
Signup and view all the answers

What is the primary function of the Diffusing Update Algorithm (DUAL) in EIGRP?

<p>To ensure loop-free paths and fast convergence in response to topology changes. (A)</p>
Signup and view all the answers

What is another name for link-state routing protocols?

<p>Shortest Path First Protocols (B)</p>
Signup and view all the answers

What algorithm do link-state routing protocols use to calculate the best path route?

<p>Dijkstra's algorithm (A)</p>
Signup and view all the answers

In link-state routing, what is contained in a Link-State Packet (LSP)?

<p>The state of each directly connected link. (D)</p>
Signup and view all the answers

What is the purpose of flooding LSPs in link-state routing protocols?

<p>To distribute the LSP to all neighbors so they can update their databases. (B)</p>
Signup and view all the answers

What does a router do after receiving an LSP from its neighbor in a link-state routing environment?

<p>Adds the information from the LSP to construct a map of the network topology. (B)</p>
Signup and view all the answers

Which of the following is a key benefit of using link-state routing protocols?

<p>Faster convergence due to immediate flooding of LSPs. (B)</p>
Signup and view all the answers

Which of the following is a disadvantage of link-state routing protocols?

<p>High memory requirement. (A)</p>
Signup and view all the answers

Which of the following is an IPv4 link-state routing protocol?

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

Which IPv6 link-state routing protocols are used?

<p>OSPFv3 and Integrated IS-IS (D)</p>
Signup and view all the answers

Which function is performed by a link-state router after learning its own directly connected networks?

<p>It uses a Hello protocol to discover neighbors on its links. (B)</p>
Signup and view all the answers

What is the term for the adjacency formed when two link-state routers identify each other?

<p>Adjacency (D)</p>
Signup and view all the answers

In the context of link-state routing protocols, what action does a router take if it stops receiving Hello packets from a neighbor?

<p>It assumes the neighbor is unreachable. (C)</p>
Signup and view all the answers

Which process describes how an LSU packet is disseminated to all neighbors?

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

What are the two primary uses of sequencing numbers and aging information in LSUs?

<p>Track already received LSUs and establish if newer information exists. (A)</p>
Signup and view all the answers

Under which condition does a router, operating the link-state routing protocol, need to send an LSP?

<p>During the router's initial startup or anytime there is a topology change. (C)</p>
Signup and view all the answers

Which operation does a router perform using its link-state database?

<p>Construct a view of the network to compute the best path. (D)</p>
Signup and view all the answers

What factor can reduce the size of the link-state data?

<p>Splitting an AS into multiple areas. (D)</p>
Signup and view all the answers

How are routing protocols able to determine the usefulness of a route?

<p>By collecting the metric associated with the route. (A)</p>
Signup and view all the answers

Which of the following occurs when distance vector routing detects a topology change?

<p>The routing protocol advertises the change to the other routers. (A)</p>
Signup and view all the answers

In a cold start what happens to the directly connected interface IP addresses on a router?

<p>It adds the IPs to the routing table. (B)</p>
Signup and view all the answers

How does a router determine from the information in its routing table, where to forward a packet?

<p>It finds the destination network address in the routing table to determine the best path. (B)</p>
Signup and view all the answers

How does EIGRP specifically achieve a fast network convergence?

<p>By maintaining alternate routes. (D)</p>
Signup and view all the answers

Which dynamic routing attribute is used to ascertain the overall "cost" of a path from source to destination?

<p>Routing metrics (D)</p>
Signup and view all the answers

How can an LSP, link-state packet, be used by each router?

<p>To determine if it has already received the LSP. (B)</p>
Signup and view all the answers

Flashcards

Interior Gateway Protocols (IGP)

Protocols used for routing within an Autonomous System.

Exterior Gateway Protocols (EGP)

Protocols used for routing between Autonomous Systems.

Routing Metric

A measurable value assigned by a routing protocol to different routes, indicating their usefulness.

Distance Vector Operation

A routing operation that relies on exchanging routing messages on its interfaces.

Signup and view all the flashcards

Cold Start

The initial state where a router discovers its own directly connected networks.

Signup and view all the flashcards

Split Horizon

A technique where a router doesn't send information back out the interface it was received on.

Signup and view all the flashcards

Network Convergence

When all routers have complete and accurate routing information.

Signup and view all the flashcards

Convergence Time

The time required for all routers to share information, calculate best paths, and update routing tables.

Signup and view all the flashcards

RIP and EIGRP Addresses

RIPv1 uses broadcasts, RIPv2/EIGRP use multicast. EIGRP can use Unicast.

Signup and view all the flashcards

RIP Routing Algorithm

A routing protocol that uses the Bellman-Ford algorithm.

Signup and view all the flashcards

DUAL

The algorithm used by EIGRP.

Signup and view all the flashcards

Bounded Triggered Updates

Sends updates only to the routers that need the information, rather than broadcasting to all routers.

Signup and view all the flashcards

Topology Table

Maintains all routes from neighbors (best and alternates).

Signup and view all the flashcards

Hello Keepalive Mechanism

Messages exchanged periodically to maintain adjacencies.

Signup and view all the flashcards

Link-state Routing

Shortest path first protocols.

Signup and view all the flashcards

Dijkstra's Algorithm

This algorithm is used to calculate shortest paths.

Signup and view all the flashcards

Start of the Link-state.

Learning directly-connected networks.

Signup and view all the flashcards

Hello protocol discovery

Each router uses a Hello protocol to discover any neighbors on its links.

Signup and view all the flashcards

Flooding the LSP

Each router floods the LSP to all neighbors.

Signup and view all the flashcards

OSPFv2

A protocol for IPv4 networks.

Signup and view all the flashcards

OSPFv3

A protocol for IPv6 networks.

Signup and view all the flashcards

Study Notes

Classifying Routing Protocols

  • Dynamic routing protocols discover remote networks.
  • Dynamic routing protocols maintain up-to-date routing information.
  • Dynamic routing protocols choose the best path to destination networks.
  • Dynamic routing protocols find new best paths when the current one is unavailable.
  • Types of routing protocols include Link-State, Distance Vector, and Path-Vector.

IGP and EGP Routing Protocols

  • Interior Gateway Protocols (IGP) route within an Autonomous System (AS).
  • Examples of IGPs include RIP, EIGRP, OSPF, and IS-IS.
  • Exterior Gateway Protocols (EGP) route between Autonomous Systems.
  • An example of an EGP is BGP.

Distance Vector Fundamentals

  • Distance Vector Operation includes sending and receiving routing messages on interfaces.
  • Routers share routing messages and information with others using the same protocol.
  • Routers exchange routing information to learn about remote networks.
  • When a router detects a topology change, the routing protocol advertises this change.
  • A Link-State router uses received link-state information.
  • A Link-State router creates a topology map and selects the best path to all destination networks in the topology.
  • Link-state routing protocols send updates only when there's a topology change.
  • OSPF and IS-IS are examples of Link-state routing protocols.

Classful vs Classless Routing Protocols

  • Classless routing protocols include subnet mask information in updates.
  • Classful routing protocols, do not send subnet mask information in routing updates.
  • Classful routing protocols do not support variable-length subnet masks (VLSMs) and classless interdomain routing (CIDR).
  • Classful routing protocols can create problems in discontiguous networks.
  • Classless IPv4 protocols (RIPv2, EIGRP, OSPF, IS-IS) include subnet mask information in updates.
  • Classless routing protocols support VLSM and CIDR.
  • IPv6 protocols are classless

Routing Protocol Characteristics

  • Routing protocols can be compared based on characteristics such as convergence speed.
  • Routing protocols can be compared based on characteristics such as scalability.
  • Routing protocols can be compared based on characteristics such as VLSM support.
  • RIPv1 and IGRP are not used anymore.

Routing Protocol Metrics

  • A metric is a measurable value assigned by the routing protocol for different routes, based on usefulness.
  • Routing metrics are for determining the "cost" of a path from source to destination.
  • The best path is the route with the lowest cost.
  • RIP uses hop count, OSPF uses cost based on bandwidth, and EIGRP uses bandwidth, delay, load and reliability as metrics.

Distance Vector Operation

  • Routers send and receive routing messages on their interfaces.
  • Routers share messages and routing information using the same routing protocol.
  • Routers exchange routing information to learn about remote networks.
  • Routing protocols can advertise topology changes too other routers.

Cold Start

  • Routers apply saved configuration and discover directly connected networks after booting.
  • The router adds any directly connected interface IP addresses to its routing table.

Network Discovery

  • If configured, a routing protocol exchanges updates to learn about any remote routes.
  • Routers send update packets with routing table information out of all interfaces.
  • Routers also receive information from directly connected neighbors and add the information to the routing table.

Exchanging Routing Information

  • Routers exchange the next round of periodic updates.
  • Distance vector routing protocols use split horizon to avoid loops.
  • Split horizon prevents information from being sent out the same interface from which it was received.

Achieving Convergence

  • The network has converged when every router has accurate information about the entire network.
  • Convergence time is how long it takes to share, calculate, and update routing tables.
  • Routing protocols can be rated by convergence speed; the faster, the better.

Distance Vector Technologies

  • Neighbors share a link and use the same routing protocol.
  • Distance vector routing protocols share updates between neighbors.
  • Routers are only aware of their own interfaces' addresses and remote network addresses reach through their neighbors.
  • RIPv1 and RIPv2 send periodic updates, while RIPv1 uses 255.255.255.255 broadcasts.
  • RIPv2 and EIGRP can use multicast to send updates to specific neighbors, and EIGRP can use a unicast message.
  • EIGRP sends updates only when needed.

Distance Vector Algorithm

  • Mechanism to send and receive routing information.
  • Mechanism to calculate best paths and install routes in the routing table.
  • Mechanism for detecting and reacting to topology changes.
  • RIP uses the Bellman-Ford algorithm as its routing algorithm.
  • EIGRP uses the Diffusing Update Algorithm (DUAL).

Routing Information Protocol (RIP)

  • RIP is easy to configure.
  • RIP sends updates (255.255.255.255) every 30 seconds.
  • RIP uses hop count as a metric and has a 15 hop limit.
  • RIPv2 is a classless routing protocol and supports VLSM and CIDR.
  • RIPng is an IPv6 version of RIP with a 15 hop limit and administrative distance of 120.
  • RIPv2 is more efficient, using multicast address 224.0.0.9 for updates.
  • RIPv2 supports manual summarization/authentication.

Enhanced Interior-Gateway Routing Protocol

  • EIGRP replaced IGRP in 1992, and only sends updates to routers that need it.
  • EIGRP uses hello messages to maintain adjacencies and uses a topology table that contains all the received routes.
  • EIGRP offers rapid convergence using alternate routes and multiple network layer protocol support.

Shortest Path First Protocols (SPF)

  • Link-state routing protocols are known as shortest path first protocols.
  • They use Edsger Dijkstra's shortest path first algorithm (SPF).
  • IPv4 Link-State routing protocols: Open Shortest Path First (OSPF) and Intermediate System-to-Intermediate System (IS-IS).

Dijkstra's Algorithm

  • All link-state protocols apply Dijkstra's algorithm to calculate the best path route.
  • Uses accumulated costs along each path, from source to destination.
  • Each router determines its own cost to each destination in the topology.

SPF Example

  • The table displays shortest path and cost from the perspective of R4.
  • Routers learn about each own's directly connected networks and say hello to neighbors.
  • Routers build Link-State Packets (LSP) with the state of each directly connected link.
  • Each router floods the LSP to all neighbors, who store all LSP's in a database.
  • The LSP data is used to construct a complete topology map and compute the best path to each destination network.
  • The process for IPv4 and IPv6 OSPF are the same
  • The first step in link-state routing is for each router to learns it's own directly connected networks.

Say Hello

  • The second step requires each router uses the Hello protocol to see any neighbors on it's links.
  • When 2 link-state routers learn they are neighbors, they form an adjacency.
  • If a router does not receive Hello packets from a neighbor, it is considered unreachable.
  • The third step is that each router builds a LSP that contains link-state information about it's links.

Flooding the LSP

  • The fourth step is that each router floods the LSP to all neighbors.
  • An LSP needs to be sent when the router boots or restarts, or when there's a change in the topology
  • LSPs need sequence numbers and aging information in order for each router to understand if its already seen something, or what the older/newer data is.
  • Each router constructs a complete topology map and computes the best path to each destination.

Building the SPF Tree

  • Each router uses the link-state database and SPF algorithm to build a tree.
  • Routers add directly connected networks/costs, as well as any unknown info.
  • The Shortest Path First algorithm calculates the shortest paths resulting in the SPF tree.
  • Each router makes its own SPF tree, independantly.

Adding OSPF Routes to the Routing Table

  • The shortest path information determined by the SPF algorithm is added to the routing table.
  • Directly connected and static routes are also included in the routing table.
  • Each router builds a topological map of the network to determine the shortest path.
  • Immediate flooding of LSPs achieves faster convergence, and they are only sent when there is a change.
  • Hierarchical design is used when implementing multiple areas.
  • Link-state protocols require additional memory and more CPU processing.
  • Flooding of link-state packets can adversely affect bandwidth.
  • Using multiple areas can reduce the size of the link-state databases and may limit amount of data sent out.
  • Two protocols use Link State: OSPF and IS-IS
  • Open Shortest Path First is a popular implementation that has 2 versions: OSPFv2 for IPv4 and OSPFv3 for IPv6.
  • Integrated IS-IS includes support for IP networks, and it is used mainly by ISPs and carriers.

Studying That Suits You

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

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser