Routing Algorithms

    Master this deck with 21 terms through effective study methods.

    Generated from uploaded pdf

    Created by @lortarcze

    What is the primary function of a routing algorithm?

    A routing algorithm determines the best path for data packets to travel across a network. It makes decisions based on pre-configured information or data obtained from routing protocols.

    What are the required properties of a routing algorithm?

    The required properties include simplicity, robustness, stability, fairness, and optimality. However, some properties may contradict each other, necessitating prioritization.

    How is a routing table structured?

    A routing table maintains records in the format: <Destination(network+mask), outgoing-interface/next_hop, metric>. It uses destination addresses or network prefixes to route packets.

    Why is it important to check all records in a routing table for each packet?

    In IP networks, the routing table must be checked for the record that matches the most bits of the destination address to ensure accurate packet routing, which can be a time-consuming process.

    What are the differences between routing protocols?

    Differences include the utilized metric, the level of routers' knowledge of network topology, the scheme of routing information propagation, and the technical implementation of sending routing information.

    What are the two main classes of routing protocols?

    The two main classes are Distance Vector protocols, which are older and easier to implement, and Link State protocols, which are more complex but offer faster convergence.

    What is the basic principle of Distance Vector Algorithms (DVA)?

    In DVA, routers do not have knowledge of the entire network topology; they only know the outgoing interfaces for individual destinations and share this information with neighboring routers.

    What is the Count-to-Infinity problem in routing?

    The Count-to-Infinity problem occurs when routers continuously increase the metric of a route to a destination, leading to incorrect routing information that can propagate indefinitely.

    How can the Count-to-Infinity problem be mitigated?

    It can be mitigated by limiting the maximum value of a route's metric to a finite value that represents infinity, and by implementing the Split Horizon rule, which prevents routes from being advertised out of the interface they were learned from.

    What role does a default gateway play in a network?

    A default gateway serves as an access point or IP router that a networked device uses to send data to a destination outside its local subnet.

    What is hierarchical routing and why is it used?

    Hierarchical routing organizes routers into a hierarchy to reduce the complexity of routing tables and improve scalability, allowing for more efficient routing in large networks.

    What is the significance of route aggregation in routing?

    Route aggregation reduces the number of routes in a routing table by combining multiple routes into a single entry, which simplifies routing and improves efficiency.

    What is the purpose of a routing protocol?

    A routing protocol is used to exchange routing information between routers, allowing them to dynamically update their routing tables and adapt to changes in the network topology.

    How does a Link State protocol differ from a Distance Vector protocol?

    Link State protocols maintain a complete view of the network topology and share this information with all routers, leading to faster convergence and more reliable routing compared to Distance Vector protocols.

    What is the impact of routing information propagation schemes?

    The scheme of routing information propagation affects how quickly routers learn about changes in the network, influencing the overall convergence time and stability of the routing tables.

    What challenges arise from the time-consuming process of checking routing tables?

    The need to check all records in the routing table for each packet can lead to increased latency and reduced performance, especially in large networks with extensive routing tables.

    What is the role of metrics in routing protocols?

    Metrics are used to determine the cost of a route, influencing the decision-making process of routing algorithms to select the most efficient path for data transmission.

    How do routing protocols achieve fast convergence?

    Routing protocols achieve fast convergence by quickly disseminating routing information and updating routing tables in response to changes in the network topology.

    What is the function of a routing table in packet-switched networks?

    In packet-switched networks, the routing table is used to determine the next hop for data packets based on their destination addresses, ensuring efficient data delivery.

    What are the implications of using various address prefixes in IP networks?

    Using various address prefixes allows for more flexible routing and can optimize the use of IP address space, but it also requires careful management of routing tables.

    Why is it necessary to prioritize certain properties of routing algorithms?

    Prioritizing certain properties is necessary because some properties, such as optimality and robustness, may conflict with each other, requiring a balance based on the specific needs of the network.