INF4032 Networking: Routing Concepts

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What characterizes eBGP sessions in a network?

  • eBGP sessions can have non-directly connected neighbors.
  • eBGP sessions require directly connected peers. (correct)
  • eBGP sessions are used for routing within a single ISP.
  • eBGP sessions occur between routers in the same AS.

Which statement accurately describes the role of internal neighbors in iBGP sessions?

  • Internal neighbors are always directly connected.
  • Internal neighbors can only be in different ASes.
  • Internal neighbors belong to the same AS. (correct)
  • Internal neighbors communicate inherently through eBGP.

What is true about the addresses of the networks shown in the eBGP section?

  • The addresses are only for internal network configurations.
  • The addresses represent a single AS for all connected peers.
  • Each address belongs to separate and distinct ASes. (correct)
  • They include both public and private address allocations.

Which aspect distinguishes iBGP from eBGP?

<p>iBGP does not require direct physical connection. (D)</p> Signup and view all the answers

What is the subnet representation for Client A as shown in the illustration?

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

What metric does the OSPF protocol use for routing decisions?

<p>Cumulative bandwidth cost (B)</p> Signup and view all the answers

Which of the following is a characteristic of the EIGRP routing protocol?

<p>Includes bandwidth and delay in its calculations (C)</p> Signup and view all the answers

What is the first action a router takes after starting up correctly?

<p>Applying the stored configuration (D)</p> Signup and view all the answers

How does a router discover remote networks when using a routing protocol?

<p>By exchanging routing updates with other routers (B)</p> Signup and view all the answers

What happens when a router detects a topology change?

<p>The routing protocol announces the change to other routers (C)</p> Signup and view all the answers

Which statement best describes the function of routing messages in dynamic routing protocols?

<p>They allow routers to share and update routing information (A)</p> Signup and view all the answers

What is the main function of a router in a network?

<p>To route data packets between different networks based on information in the routing table (A)</p> Signup and view all the answers

Which metric is utilized by the RIP routing protocol?

<p>Number of hops (A)</p> Signup and view all the answers

What algorithm does IGRP and EIGRP use for routing?

<p>DUAL (Diffusing Update Algorithm) (A)</p> Signup and view all the answers

Which of the following protocols supports classless inter-domain routing (CIDR)?

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

How often does RIP broadcast routing updates?

<p>Every 30 seconds (D)</p> Signup and view all the answers

What is the maximum number of hops that RIP can support?

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

Which feature is NOT supported by EIGRP?

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

Which of the following is a key feature of EIGRP?

<p>Support for multiple network layer protocols (B)</p> Signup and view all the answers

What does the administrative distance of RIP and RIPv2 equal to?

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

What is the primary advantage of triggered updates in EIGRP?

<p>Sends updates only to routers that need them (A)</p> Signup and view all the answers

What type of network does R1 have directly connected?

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

When is an LSP sent by a router?

<p>Upon a topology change (D)</p> Signup and view all the answers

What does an LSP contain for routers to determine if they have received it?

<p>Sequence numbers and freshness information (B)</p> Signup and view all the answers

What is the final step in the link-state routing process?

<p>Building a complete topological map (D)</p> Signup and view all the answers

What algorithm is used by routers to construct the SPF tree?

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

What is included in the link information in the LSP?

<p>Cost associated with each network (B)</p> Signup and view all the answers

Which router has the highest link cost associated with its connections according to the provided information?

<p>R4 (A), R2 (B)</p> Signup and view all the answers

What role does the link-state database serve in the routing process?

<p>To help calculate the best path to each destination (A)</p> Signup and view all the answers

Which of the following best describes the role of Hello packets in link-state routing?

<p>They are used to establish direct connections with neighboring routers. (A)</p> Signup and view all the answers

What happens if a router stops receiving Hello packets from a neighboring router?

<p>The neighboring router is considered unreachable. (A)</p> Signup and view all the answers

Which statement is true about link-state routing protocols?

<p>The process is the same for both OSPF for IPv4 and OSPF for IPv6. (D)</p> Signup and view all the answers

What is included in a link-state packet (LSP)?

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

What is the primary purpose of the link-state routing process?

<p>To maintain a full picture of the network topology. (C)</p> Signup and view all the answers

During the routing process, what is the significance of discovering neighbors?

<p>It ensures that a router can communicate and exchange routing information. (B)</p> Signup and view all the answers

What characterizes the link-state routing method compared to distance-vector routing?

<p>Each router maintains a complete map of the network topology. (D)</p> Signup and view all the answers

What does the initialization step of Dijkstra’s algorithm do?

<p>Sets distances of adjacent nodes to the cost from the current node (B)</p> Signup and view all the answers

In which step of Dijkstra’s algorithm is a node added to the set N'?

<p>After identifying the node with minimum D value (D)</p> Signup and view all the answers

What condition must be met for D(v) to be updated in step 12?

<p>D(v) is greater than D(w) plus the cost from w to v (B)</p> Signup and view all the answers

What is the role of the variable N' in Dijkstra’s algorithm?

<p>It represents the set of all nodes visited so far (D)</p> Signup and view all the answers

In the context of Dijkstra's algorithm, what does the term 'ties can exist' imply?

<p>There are multiple paths with the same cost (A)</p> Signup and view all the answers

What happens to the distances of nodes that are not adjacent to the current node during initialization?

<p>They are set to infinity (B)</p> Signup and view all the answers

What is the final outcome of Dijkstra’s algorithm?

<p>A tree showing the shortest paths from the starting node (B)</p> Signup and view all the answers

Which step is performed after finding the node with the minimum D value in Dijkstra’s algorithm?

<p>Update distances for nodes adjacent to the current node (B)</p> Signup and view all the answers

Flashcards

What metric does RIP use?

RIP uses the number of hops as a metric to determine the best route.

What metric does OSPF use?

OSPF uses a cost based on cumulative bandwidth to determine the best route.

What metrics does EIGRP use?

EIGRP uses bandwidth, delay, load, and reliability to determine the best route.

What is a dynamic routing protocol?

A dynamic routing protocol allows routers to learn about networks and update their routing tables automatically.

Signup and view all the flashcards

How do routers use dynamic routing protocols?

A router uses dynamic routing protocols to exchange routing information with other routers on the network.

Signup and view all the flashcards

How does a router discover its directly connected networks?

A router learns about directly connected networks by adding the IP addresses of its interfaces to its routing table.

Signup and view all the flashcards

How does a router discover remote networks?

A router uses routing updates to discover remote networks and update its routing table.

Signup and view all the flashcards

What happens when a router starts?

When a router starts up, it uses its configuration to learn about its directly connected networks and then begins to exchange routing updates with other routers.

Signup and view all the flashcards

Shortest Path First (SPF) Table

The shortest path and total cost to reach identified destinations from R4's perspective. This table is used to illustrate how routing protocols like OSPF work.

Signup and view all the flashcards

Link-State Routing Process

The process of how link-state routing protocols like OSPF determine the best routes in a network by sharing information about connected networks and link costs.

Signup and view all the flashcards

Link and Link State Discovery

The initial step where each router learns about its directly connected networks. This sets the stage for the entire link-state routing process.

Signup and view all the flashcards

Hello Protocol

A message sent by a router to find out whether other routers are present on the same network, effectively establishing a connection.

Signup and view all the flashcards

Adjacency

A connection between two routers that have successfully exchanged Hello packets, confirming they are active neighbors.

Signup and view all the flashcards

Link-State Packet (LSP)

A packet containing the state of all links directly connected to a router. It's a key component of the link-state routing process.

Signup and view all the flashcards

Link-State Database Construction

The process where routers use their connection status and link costs to build a map of the entire network. This map is used to make informed routing decisions.

Signup and view all the flashcards

LSP Flooding

The process of sending LSPs across the network to update each router's view of the network topology. This ensures all routers have the latest information about the network.

Signup and view all the flashcards

RIP (Routing Information Protocol)

A distance-vector routing protocol that is easy to configure and uses a hop count metric. It broadcasts routing updates every 30 seconds to all devices on the network using a specific broadcast address.

Signup and view all the flashcards

RIPv2

An enhanced version of RIP that supports features such as variable length subnet masking (VLSM) and Classless Inter-Domain Routing (CIDR). It uses a specific multicast address for updates to reduce network traffic.

Signup and view all the flashcards

RIPng

The IPv6 version of RIP. It supports a hop count limit of 15 and has an administrative distance of 120.

Signup and view all the flashcards

IGRP (Interior Gateway Routing Protocol)

A Cisco-developed distance-vector routing protocol that uses the DUAL (Diffusing Update Algorithm) for routing decisions.

Signup and view all the flashcards

EIGRP (Enhanced Interior Gateway Routing Protocol)

An enhanced version of IGRP, introduced by Cisco in 1992. It features triggered updates, hello messages for neighbor discovery, a topological table for all routes, and supports multiple network layer protocols.

Signup and view all the flashcards

Link-State Routing

A method of routing that utilizes link-state information to create a complete map of the network. It allows routers to calculate the optimal paths to destinations based on the current network topology instead of relying on hop counts.

Signup and view all the flashcards

Routing Metric

A metric that represents the cost of a route in routing calculations. It is used by routing protocols to determine the best route to a destination.

Signup and view all the flashcards

Routing Table

A table that stores information about all known routes in a network, including their destinations, costs, and next hops. It is used by routing protocols to make routing decisions.

Signup and view all the flashcards

What is eBGP?

A session between two BGP routers in different autonomous systems (AS). eBGP is used for routing information between different networks.

Signup and view all the flashcards

What is iBGP?

A session between two BGP routers within the same autonomous system (AS). iBGP is used for routing information within the same network.

Signup and view all the flashcards

What is a BGP router?

A router that can connect to other BGP routers in different autonomous systems.

Signup and view all the flashcards

What is an Autonomous System (AS)?

A group of routers that share the same routing information and policies.

Signup and view all the flashcards

Why do eBGP neighbors have to be directly connected?

eBGP neighbors must be directly connected. This means that there must be a physical link between the two routers.

Signup and view all the flashcards

What is an LSP (Link-State Packet)?

A Link-State Packet (LSP) is a message exchanged between routers in a link-state routing protocol. It contains information about the router's directly connected networks, the cost to reach them, and other routing information. LSPs are essential for creating a comprehensive network map and finding the best paths to destinations.

Signup and view all the flashcards

How are Link-State Packets created?

Each router running a link-state protocol creates a Link-State Packet (LSP) that contains information about its directly connected networks and associated costs. It also includes information about any other routers it's aware of.

Signup and view all the flashcards

What happens to an LSP after creation?

Once an LSP is created, it is flooded or broadcast to all of the router's neighboring routers. This ensures that all routers have a complete picture of the network topology.

Signup and view all the flashcards

What is a Link-State Database (LSDB)?

Each router periodically builds and updates its Link-State Database (LSDB). This database contains all of the LSPs received from other routers, effectively creating a complete picture of the network topology.

Signup and view all the flashcards

How are shortest paths to destinations calculated?

Link-state routing algorithms, like OSPF, use Dijkstra's algorithm to calculate the shortest path between routers based on the information in the Link-State Database, which is a collection of LSPs.

Signup and view all the flashcards

What is the Shortest Path First (SPF) tree?

Link-state routing uses a Shortest Path First (SPF) tree algorithm to calculate the most efficient path to each destination network. SPF tree helps to build a route tree based on shortest paths.

Signup and view all the flashcards

What is the overall goal of Link-State Routing?

A Link-State Routing protocol's goal is to find the best path for data packets, similar to a GPS system, by building a network map using LSPs and finding the shortest paths with SPF.

Signup and view all the flashcards

What is the main difference between Link-State and Distance Vector routing protocols?

The main difference between routing protocols is how they discover network information and share it. Distance Vector routing protocols share information through messages about the distance to destinations, while Link-State protocols share information through network topology maps.

Signup and view all the flashcards

What is Dijkstra's algorithm?

Dijkstra's algorithm is a greedy algorithm that finds the shortest path between two nodes in a graph. It works by iteratively selecting the node with the smallest distance from the source node and updating the distances of its neighbors. The algorithm continues until all nodes have been visited.

Signup and view all the flashcards

How does Dijkstra's algorithm initialize?

The algorithm starts by initializing the distance to the source node to 0 and the distances to all other nodes to infinity. It then creates a set of visited nodes, initially containing only the source node.

Signup and view all the flashcards

How does Dijkstra's algorithm find the shortest path?

The algorithm iteratively selects the node with the smallest distance from the source node that has not been visited yet. It then updates the distances of its neighbors by calculating the distance from the source node through the current node.

Signup and view all the flashcards

How does Dijkstra's algorithm stop?

The algorithm terminates when all nodes have been visited. The shortest path from the source node to any other node can then be obtained by tracing back through the predecessor nodes.

Signup and view all the flashcards

How does Dijkstra's algorithm update distances?

The algorithm updates the distances of the neighbors of the current node by calculating the sum of the distance to the current node and the distance from the current node to the neighbor. If this sum is smaller than the current distance to the neighbor, the distance to the neighbor is updated.

Signup and view all the flashcards

What does the visited node set do?

The algorithm uses a set of visited nodes to keep track of which nodes have already been explored. The set is initially empty and is updated with each iteration of the algorithm.

Signup and view all the flashcards

What does the unvisited node set do?

The algorithm uses a set of unvisited nodes to identify the next node to be visited. The node with the smallest distance from the source node that has not been visited yet is selected.

Signup and view all the flashcards

What are some applications of Dijkstra's algorithm?

Dijkstra's algorithm is widely used in network routing, finding the shortest path in a map, and other applications where the optimal path needs to be determined.

Signup and view all the flashcards

Study Notes

Course Information

  • Course title: INF4032 Réseaux Informatiques
  • Instructor: Bassem Haidar
  • Course location: esiea (École d'Ingénieurs du Monde Numérique)

Dynamic Routing

  • Dynamic routing is an automatic process that updates routing tables
  • Static routes are manually entered
  • Dynamic routing adapts to changes in network topology
  • Dynamic routing uses routing protocols
  • Routing protocols discover networks remotely, update routing information
  • Routing protocols choose the best path to the destination networks
  • Routing protocols allow for a new best path if existing paths become unavailable

Static Routing

  • Static routing is manually configured and not automatically updated
  • It is a good option for small networks that don't change often
  • The configuration needs to be updated manually in case of changes
  • It is less complex so it can be used in simpler networks
  • Static routes are appropriate for small networks that don't grow
  • Networks that have a single path or a limited number of options might need static routing
  • One route per destination is required when using a static route
  • A default route is needed to forward traffic to networks not listed in the routing table

Stub Networks and Stub Routers

  • Stub networks access a single route
  • A stub network has only one neighboring router
  • It is important to understand how to route statically to and from stub networks

Types of Static Routes

  • Static routes are used for network connection, summarizing routing table entries
  • The size of route announcements in the routing table is reduced
  • Static routes create a backup route if a main route option becomes unavailable

Protocols of Dynamic Routing

  • Interior Gateway Protocols (IGP) are used inside an autonomous system (AS)
  • Exterior Gateway Protocols (EGP) are used between autonomous systems (ASes)
  • Types of IGP include RIP, IGRP, OSPF, and IS-IS
  • Types of EGP include BGP

Autonomous System (AS)

  • An autonomous system (AS) is a group of routers and networks managed by the same organization
  • The ASes exchange data via the same routing protocol
  • AS numbers distinguish and identify the different network groupings

Routing Protocols Based on Class

  • Classless routing protocols include subnet mask information when updating routing information
  • Classful routing protocols do not contain this information

Routing Protocols Vector Distance

  • Vector distance routing protocols specify the distance to the destination in a given network
  • The vector provides information regarding the route to the destination
  • Link state routing protocols have each router maintain a database of other routers' connection statuses and use that information to determine the optimal paths to each network
  • These protocols don't refresh routing information regularly - only when network changes occur

BGP - Border Gateway Protocol

  • BGP is an external protocol for routing between Autonomous Systems (ASes)
  • BGP is not a technical protocol, it is used for strategic routing policy, managing AS groups

Additional Concepts

  • Network topology changes, configuration, and complexity
  • Security
  • Resource usage
  • Predictability
  • Routing protocols comparison

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