Routing Protocols: Dynamic, IGP, EGP, 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 function of dynamic routing protocols?

  • To assign IP addresses to network devices.
  • To manually configure static routes on each router.
  • To block all unknown network traffic for security purposes.
  • To automatically discover remote networks and maintain up-to-date routing information. (correct)

How do distance vector routing protocols share routing information?

  • By sending the entire routing table to all routers on the network.
  • By broadcasting routing information to all networks, regardless of routing protocol.
  • By using a central server to store and distribute routing information.
  • By sharing routing messages and routing information only with directly connected neighbors that are using the same routing protocol. (correct)

What is a key characteristic of link-state routing protocols regarding network updates?

  • They send periodic full routing table updates to all routers.
  • They only send updates when there is a change in the network topology. (correct)
  • They rely on a centralized server to manage and distribute routing updates.
  • They do not send updates; instead, they rebuild the entire routing table periodically.

Which of the following describes the primary difference between classful and classless routing protocols?

<p>Classless protocols include subnet mask information in routing updates, while classful protocols do not. (B)</p>
Signup and view all the answers

Which routing protocol metric is primarily used by RIP to determine the best path?

<p>Hop count (C)</p>
Signup and view all the answers

What could be a result of classful routing protocols in a network with discontiguous subnets?

<p>Routing loops and connectivity problems. (D)</p>
Signup and view all the answers

Which of the following is a characteristic of RIPv2 that distinguishes it from RIPv1?

<p>It supports VLSM and CIDR. (B)</p>
Signup and view all the answers

What is the main advantage of EIGRP's 'bounded triggered updates' feature?

<p>It sends updates only to routers that need the information, reducing unnecessary network traffic. (C)</p>
Signup and view all the answers

What is the purpose of the 'Hello' protocol in link-state routing protocols?

<p>To discover neighbors and establish adjacencies. (D)</p>
Signup and view all the answers

What does a router do with a Link-State Packet (LSP) after receiving it from a neighbor?

<p>Floods it to all neighbors, who then store the LSP's information in a database. (A)</p>
Signup and view all the answers

Which algorithm is used by link-state routing protocols to calculate the best path to all destination networks?

<p>Dijkstra's shortest path first (SPF) algorithm (B)</p>
Signup and view all the answers

Which of the following is a reason why a network administrator might choose to implement multiple areas in OSPF?

<p>To reduce the size of the link-state databases and isolate network instability. (A)</p>
Signup and view all the answers

What is a key difference between distance vector and link-state routing protocols regarding network knowledge?

<p>Link-state protocols maintain a complete view of the network topology, while distance vector protocols only know about their neighbors and the distance to remote networks through them. (D)</p>
Signup and view all the answers

Considering convergence time, which type of routing protocol generally converges faster?

<p>Link-state routing protocols (A)</p>
Signup and view all the answers

Which address is used by RIPv1 to send routing updates?

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

What is the administrative distance for RIPng?

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

In distance vector routing, what is 'split horizon' used for?

<p>To prevent routing loops by not advertising a route back to the neighbor from which it was learned. (C)</p>
Signup and view all the answers

Which of the following is a key advantage of using link-state routing protocols over distance vector protocols?

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

Which protocols are examples of Interior Gateway Protocols (IGPs)?

<p>RIP, EIGRP, OSPF, and IS-IS (B)</p>
Signup and view all the answers

What is the primary purpose of Exterior Gateway Protocols (EGPs)?

<p>Routing between different autonomous systems (C)</p>
Signup and view all the answers

What is the initial step a router takes during the 'cold start' process when using a distance vector protocol?

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

Which routing protocol uses the Diffusing Update Algorithm (DUAL)?

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

Link-state routing requires additional memory for which reason?

<p>Link-state protocols require additional memory to maintain topology tables and link-state databases. (C)</p>
Signup and view all the answers

What is the primary advantage of using multiple areas in a link-state routing protocol like OSPF?

<p>It allows for faster routing updates and better scalability. (C)</p>
Signup and view all the answers

Within link-state routing, what happens when a router stops receiving Hello packets from a neighbor?

<p>The router considers that neighbor unreachable. (B)</p>
Signup and view all the answers

To what does convergence generally refer, within the context of dynamic routing protocols?

<p>The time it takes routers to share information, calculate best paths, and update routing tables after a topology change. (B)</p>
Signup and view all the answers

What is the purpose of the Link State database in link-state routing protocols?

<p>The Link State database creates a topology map, used to compute the best path to destinations (C)</p>
Signup and view all the answers

In Enhanced Interior Gateway Routing Protocol (EIGRP), what is the role of the topology table?

<p>It maintains all routes received from neighbors (both the best paths and alternate routes) in a topology table. (A)</p>
Signup and view all the answers

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

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

IS-IS (Intermediate System-to-Intermediate System) is used by which entities?

<p>ISPs and carriers. (D)</p>
Signup and view all the answers

What is the metric for Open Shortest Path First (OSPF)?

<p>Cost based on cumulative bandwidth (C)</p>
Signup and view all the answers

When considering the speed of convergence, which is true?

<p>Link state protocols such as OSPF have a fast speed of convergence. (C)</p>
Signup and view all the answers

What is the IPv6 protocol called for RIP?

<p>RIPng (C)</p>
Signup and view all the answers

What is one characteristic of distance vector routing protocols?

<p>Routers are only aware of the network addresses of its own interfaces. (C)</p>
Signup and view all the answers

What is one of the first steps for link-state routing?

<p>Each router learns about each of its own directly connected networks. (A)</p>
Signup and view all the answers

What is one advantage that link-state routing has over distance vector routing?

<p>Link-state has faster convergence. (A)</p>
Signup and view all the answers

What version of OSPF is used for IPv4 networks?

<p>OSPFv2 (B)</p>
Signup and view all the answers

Which is true in regards to a Link State Packet (LSP)?

<p>Whenever there is a change in the topology, an LSP is sent. (B)</p>
Signup and view all the answers

Flashcards

Dynamic Routing Protocols

Protocols that dynamically discover remote networks, maintain up-to-date routing information, choose the best path, and find new paths if the current one fails.

Interior Gateway Protocols (IGP)

Protocols used for routing within a single Autonomous System (AS), like RIP, EIGRP, OSPF, and IS-IS.

Exterior Gateway Protocols (EGP)

Protocols used for routing between different Autonomous Systems (AS), mainly BGP.

Distance Vector Operation

A router sends and receives routing messages via its interfaces, sharing routing updates with other routers.

Signup and view all the flashcards

Link-State Routing (no periodic updates)

Routers exchange topology information only when there's a topology change. OSPF and IS-IS use this.

Signup and view all the flashcards

Classless Routing Protocols

Routing protocols that include subnet mask information in routing updates.

Signup and view all the flashcards

Classless IPv4 Routing Protocols

IPv4 routing protocols (RIPv2, EIGRP, OSPF, IS-IS) that sends subnet mask information in routing updates.

Signup and view all the flashcards

Routing Metric

Measurable value assigned by a routing protocol that determines the usefulness of a route.

Signup and view all the flashcards

OSPF or IS-IS

Fastest Speed of Convergence, Supports VLSM, High Resource Usage, Complex Implementation.

Signup and view all the flashcards

RIPv1

Slow Speed of Convergence, No VLSM support, Low Resource Usage and Simple Implementation.

Signup and view all the flashcards

Routing Cost

The best path has the lowest cost.

Signup and view all the flashcards

Cold Start in Routing

Process where a router boots, applies the saved configuration, and discovers its directly connected networks.

Signup and view all the flashcards

Split Horizon

Routers exchange routing table information, preventing information from being sent back out the interface it was received on, to avoid loops.

Signup and view all the flashcards

Network Convergence

All routers have complete and accurate information about the entire network.

Signup and view all the flashcards

Routing Neighbors

Routers that share a link and are configured to use the same routing protocol.

Signup and view all the flashcards

RIPv1 Updates

Sends updates using broadcasts to IP address 255.255.255.255, every 30 seconds.

Signup and view all the flashcards

RIPv2

Classless routing protocol that supports authentication, increased efficiency by sending updates to multicast address 224.0.0.9 .

Signup and view all the flashcards

EIGRP

Routing protocol that uses a composite metric of bandwidth and delay, delivering triggered updates.

Signup and view all the flashcards

Enhanced Interior Gateway Routing Protocol (EIGRP)

Replaced IGRP in 1992, maintaining a topology table of routes received from neighbors.

Signup and view all the flashcards

Shortest Path First (SPF)

Uses Dijkstra's algorithm (SPF) to calculate the best path route to all destination networks.

Signup and view all the flashcards

Link-State Routing Process

Process in which each router learns about its own directly connected networks, says hello to neighbors, and discovers their neighbors.

Signup and view all the flashcards

Link-State advantages

Immediate flooding used to achieve faster convergence, and only includes info about what has changed.

Signup and view all the flashcards

Link-State disadvantages

Memory, CPUs and Bandwidth can be adversely affect, requiring hierarchical design with areas.

Signup and view all the flashcards

Link-State Protocols

Two common link-state routing protocols are OSPF and IS-IS

Signup and view all the flashcards

Link-State Hello Protocol

Each router is responsible for 'saying hello' to its neighbors on directly connected networks, forming an adjacency.

Signup and view all the flashcards

Link-State Database

Built by receiving LSPS, final step in process that each router uses the database to construct a map of the topology.

Signup and view all the flashcards

SPF Algorithm

Final step after building a database, that enables the router to use algorithms to map its cost the network.

Signup and view all the flashcards

Study Notes

  • Dynamic routing protocols help discover remote networks
  • They maintain up-to-date routing information
  • Choose the best paths to destination networks
  • Find a new best path if the current one fails

Routing Protocols

  • Link-State, Distance Vector, and Path-Vector are all types of routing protocols

IGP and EGP Routing Protocols

  • Interior Gateway Protocols (IGP) are for routing within an Autonomous System (AS)
  • RIP, EIGRP, OSPF, and IS-IS are examples of IGPs
  • Exterior Gateway Protocols (EGP) provide routing between Autonomous Systems
  • BGP is an example of an EGP

Distance Vector Protocol

  • Routers send and receive information through their interfaces
  • Routers share routing details with others using the same protocol
  • Exchange helps learn network topologies
  • A topology change triggers advertisement of the change to other routers
  • Link-State routers use information received from other routers
  • Create topology maps
  • Select the best path to all destination networks in the topology
  • Link-state routing protocols don't typically use periodic updates; updates occur when a change exists in the topology
  • OSPF and IS-IS protocols are types of Link State

Classful vs Classless

  • Classless protocols include subnet mask info in routing updates
  • Classful ones do not send subnet mask information
  • Classful protocols can't support VLSMs and CIDR
  • They also cause issues in discontiguous networks
  • Classless IPv4 protocols like RIPv2, EIGRP, OSPF, and IS-IS include the subnet mask in routing updates
  • Classless protocols support VLSM and CIDR
  • IPv6 routing protocols are classless

Comparing Routing Protocols

  • Routing protocols characteristics can be compared, such as: convergence speed, scalability, VLSM use, resource usage, and implementation
  • RIPv1 and IGRP are no longer used

Routing Metric

  • A measurable value assigned by the routing protocol
  • Routes are assigned this value to measure usefulness
  • Routing metrics determine the "cost" of a path from source to destination
  • Best path is the one with the lowest cost
  • Metrics used by dynamic protocols:
  • HOP counts for RIP
  • Cost based on cumulative bandwidth for OSPF
  • Bandwidth, delay, load, and reliability for EIGRP

Distance Vector Operation

  • Dynamic routing sends and receives messages on its interfaces
  • Shares with other routers with routing is the same
  • Information is exchanged to learn remote network info
  • Topology changes are advertised to other routers

Cold Start

  • A router applies saved config on boot and discovers directly connected networks
  • Interface IP addresses added to routing table

Network Discovery

  • When a routing protocol is configured, the router exchanges routing updates to discover remote routes
  • The router sends an update packet to all interfaces regarding its routing table information
  • Receives updates from connected routers and adds the information to its routing tables
  • Example of RIP metric is Hop count

Exchanging Routing Information

  • Routers exchange the next round of periodic updates to move toward convergence
  • Distance vector protocols use split horizon to avoid loops
  • Split horizon blocks information that came from an interface to be sent out of that same interface

Achieving Convergence

  • A network has converged when all routers have complete and accurate information
  • Convergence time is the time to share information, calculate paths, and update tables
  • Routing protocols can be rated based on how quickly they converge; the faster, the better

Distance Vector Technologies

  • Neighbors are routers sharing a link, configured for the same routing protocol
  • Distance vector routing protocols update between neighbors
  • Distance vector routing routers use their own interface addresses, and remote network addresses reachable through neighbors
  • A distance vector routing protocol such as RIPv1 and RIPv2 sends periodic updates
  • RIPv1 sends updates as broadcasts to IP address 255.255.255.255
  • RIPv2 and EIGRP use multicast addresses to reach specific neighbors
  • EIGRP uses unicast to reach a neighbor, only sending updates when needed

Distance Vector Algorithm

  • Defines processes such as sending and receiving routing information
  • Mechanisms for calculating best paths and installing routing tables
  • Mechanisms for detecting and reacting to topology changes
  • The Bellowman-Ford Algorithm is used by RIP
  • Diffusing Update Algorithm (DUAL) is used by the EIGRP routing algorithm

Routing Information Protocol (RIP)

  • It is easy to congfigure
  • Routing updates broadcasted (255.255.255.255) every 30 seconds
  • Metric uses hop count
  • Is restricted to a 15 hop limit
  • RIPv2 offers classless routing and supports VLSM and CIDR
  • Sends updates via multicast address 224.0.0.9
  • Has reduced routing entries (supports manual route summarization)
  • Secure because it supports authentication
  • RIPng uses IPv6 for IP addresses, and has a 15 hop limit with an administrative distance of 120

Enhanced Interior Gateway Routing Protocol (EIGRP)

  • Has replaced IGRP in 1992, and includes features such as:
  • Bounded triggered updates (updates are only sent to routers that require it)
  • Hello keepalive mechanism, which exchanges Hello messages to maintain adjacencies
  • Maintains a topology table that maintains all routes it receives from neighbours (not only the best ones) in a topology table
  • Rapid convergence as it maintains alternate routes
  • Multiple network layer protocol support is in place for layer 3 protocols by using Protocol Dependent Modules (PDM)
  • Shortest Path First (SPF) calculates
  • Also known as shortest path protocols built around Edsger Dijkstra's algorithm
  • IPv4 link-state routing includes, Open Shortest Path First (OSPF) and Intermediate System-to-Intermediate System (IS-IS)

Dijkstra's Algorithm

  • Dijkstra’s algorithm is used to calculate the best path route
  • It uses accumulated costs along each path, from source to destination
  • Each router determine its own cost to each destination within the topology

SPF Example

  • A table displays shortest path and cost to reach destination networks from R4 perspective
  • Each router learns directly connected networks.
  • Each router says "hello" to neighbors in directly connected networks
  • Each router builds a Link-State Packet (LSP) storing state of each directly connected link
  • Each router floods LSP to all neighbors which stores all LSP's in a database
  • Each router uses the database to construct a map of the topology and computes the best path to each destination network
  • This process is the same, whether OSPF uses, IPv4 or IPv6
  • The first step for the link-state routing process is to learn about own connected network

Say Hello

  • Each router uses a Hello protocol to discover any neighbors on its links
  • Two link-state routers form an adjacency once they know they share a link
  • If a router stops recieving Hello packets from a neightbor, that neighbor is unreachable
  • Each router builds a link-state packet (LSP) with link-state info of its links

Flooding the LSP

  • Each router floods the LSP to all neighbors
  • LSP is sent either on router startup, or when topology changes
  • LSPs include sequence numbers and information on how old they are
  • The last step is that each router constructs a complete map of the topology and computes the best path

Building the SPF tree

  • Each router uses the link-state database and SPF algorithm to construct the SPF tree
  • R1 identifies its directly connected networks and costs, then adds any unknown networks and costs
  • SPF algorithm then calculates the shortest paths, with each router constructing its own SPF tree independently

Adding OSPF Routes

  • The shortest path information is added to the routing table
  • Directly connected and static routes are also added
  • Advantages include each router building its own topological map to find the shortest path
  • Immediate flooding of LSPS achieves faster convergence
  • LSPs only send when there is a topology change
  • Hierarchical design occurs when working with multiple areras
  • These protocols require additional memory and CPU processing
  • Flooding can affect bandwidth
  • Multiple areas can reduce the size of the Link-State databases and limit the amount of flooding
  • OSPFv2 works with IPv4 networks
  • OSPFv3 helps IPv6 networks
  • Integrated IS-IS supports IP networks and is primarily used 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

Computer 6
15 questions

Computer 6

SilentSeries avatar
SilentSeries
Use Quizgecko on...
Browser
Browser