Routing Table Example


Example of Directly Connected, Static, and Default Route Entries in a Routing Table

3 routers connected in a series:

  • Consider routing table for router A:
    • router is directly connected to networks:
      • 10.0.1.0/24 (via interface G0)
      • 10.0.2.0/24 (via interface G1)
    • router has been configured with static routes to:
      • 10.0.3.0/24
      • 10.0.4.0/24
      • both are reachable via interface G1
  • Router B is configured in same way, but
    • the networks 10.0.2.0/24 and 10.0.3.0/24 are directly connected
    • the paths to 10.0.1.0/24 and 10.0.4.0/24 are configured as static entries
  • Router C is configured differently
    • it is directly connected to 10.0.3.0/24 and 10.0.4.0/24 but
      • the only static route configured is for 0.0.0.0/0
        • this is the default route
    • router has no specific knowledge of networks 10.0.1.0/24 and 10.0.2.0/24
      • but can forward packets for these destinations over its G0 interface