Mastering Network Routing Protocols and Concepts

Understanding Core Network Routing Concepts

Key Routing Terminology

  • Router: A computing device comprising hardware and software, including a CPU, RAM, ROM, and an operating system. Its primary function is to connect multiple networks and forward data packets between them.
  • Routing Table: A data file stored in RAM that contains route information for both directly connected and remote networks.
  • Remote Network: A network that can only be reached by forwarding data packets through another router.
  • Static Routes: Manually configured routes with a next-hop IP address, typically the IP address of the next router in the path. They have an administrative distance of “1”.
  • Metric: A value used to determine the most preferable route when multiple paths exist to the same remote network.
  • Administrative Distance (AD): A value that allows a router to select the best path to a destination network when it learns about that network from two or more different routing sources.

Exploring Dynamic Routing Protocols

Distance Vector Protocols

  • RIP (Routing Information Protocol)

    Features:

    • Uses hop count as its metric for route selection.
    • It is a classful protocol.
    • If the hop count to a network exceeds 15, RIP cannot provide a route for that network.
    • Sends broadcast or multicast routing updates every 30 seconds.
  • RIPv2

    Features:

    • Includes subnet masks in routing updates, making it a classless routing protocol.
    • Supports integrated authentication for securing routing table updates.
    • Accommodates Variable Length Subnet Masks (VLSM).
    • Uses multicast addresses instead of broadcast for updates.
    • Supports manual route summarization.
  • IGRP (Interior Gateway Routing Protocol)

    A Cisco proprietary protocol.

    Features:

    • Considers bandwidth, delay, load, and reliability to calculate a composite metric.
    • Sends broadcast routing updates every 90 seconds.
    • IGRP is the predecessor to EIGRP.

Advanced Routing Protocols

  • EIGRP (Enhanced Interior Gateway Routing Protocol)

    A Cisco proprietary protocol.

    Features:

    • Performs unequal-cost load balancing.
    • Uses the Diffusing Update Algorithm (DUAL) to calculate the shortest path.
    • Does not send regular updates; routing updates are sent only when a change in the network topology occurs.
    • Uses the following values in its composite metric to calculate the preferred route to a network:
      1. Bandwidth
      2. Delay
      3. Reliability
      4. Load

Essential Cisco Routing Commands

  • show ip route: Used to verify network convergence and view the routing table.
  • show ip interface brief: Quickly checks the status and IP addresses of all interfaces.
  • show ip protocols: Displays essential routing protocol parameters, including the state of automatic summarization and networks included in the routing process. The routing information sources listed at the bottom of the output indicate RIP neighbors from which the router is receiving updates.

Advanced Networking Concepts

  • CIDR (Classless Inter-Domain Routing): Allows the creation of supernets. A supernet is a group of network addresses summarized into a single network address with a mask shorter than the default classful mask.
  • Routing Loop: A condition where a data packet is continuously transmitted over a series of routers without ever reaching its intended destination network.
  • VLSM (Variable Length Subnet Masking): Allows the use of different subnet masks for different subnets within the same network. VLSM is essentially subnetting a subnet.
  • DUAL (Diffusing Update Algorithm): An algorithm used by EIGRP. DUAL determines the best loop-free path and calculates loop-free backup routes. DUAL uses several key terms: Successor, Feasible Distance (FD), Feasible Successor (FS), Reported Distance (RD), and Feasibility Condition (FC).

Configuring RIP on Cisco Routers

Follow these steps to configure RIP:

Router> enable
Router# configure terminal
Router(config)# router rip
Router(config-router)# network 192.168.1.0
Router(config-router)# network 192.168.2.0
Router(config-router)# version 2

Explanation of Commands:

  • Router> enable: Enters privileged EXEC mode.
  • Router# configure terminal: Enters global configuration mode.
  • Router(config)# router rip: Enables the RIP routing process.
  • Router(config-router)# network 192.168.1.0: Advertises a directly connected network (e.g., 192.168.1.0) via RIP.
  • Router(config-router)# network 192.168.2.0: Advertises another directly connected network (e.g., 192.168.2.0) via RIP.
  • Router(config-router)# version 2: Configures RIP to use version 2, enabling classless routing.