2078 8

CSC263 ยท 2078 ยท 5 marks

What is routing table? Differentiate static routing table with dynamic routing table.

What is routing table? Differentiate static routing table with dynamic routing table. [5]

Computer NetworksChapter 4: Network LayerTypes of Routing

Quick answer

A routing table is a data structure stored in a router (or networked device) that lists the routes to particular network destinations. Routers use this table to make decisions on how to forward data packets based on their IP addresses. The routing table contains information such as destination network, next hop address, and interface to use. Routers normally connect LANs and WANs together and have a routing table based on which they make decisions on routing the data packets.

Routing Table: Static vs Dynamic Routing

Routing Table


Static Routing Table

A static routing table is one in which routes are manually added and configured by a network administrator. The routes remain fixed unless manually updated or reconfigured.

Key characteristics:

  • Routes are configured manually by the administrator
  • Used when there are very few devices to configure
  • Suitable when routes are known and are unlikely to change
  • Does not handle network failures well, because any lost connectivity must be manually repaired or reconfigured
  • No routing protocol is needed

Dynamic Routing Table

A dynamic routing table is one in which routes are automatically adjusted according to the current state of the network. It uses routing protocols to discover network destinations and the best routes to reach them.

Key characteristics:

  • Routes are updated automatically based on current network conditions
  • Uses routing protocols such as RIP, OSPF, and BGP to discover routes
  • If one route goes down, automatic adjustment is made to find an alternate route
  • Suitable for large and complex networks
  • Requires more processing and bandwidth due to protocol overhead

Difference Between Static and Dynamic Routing Table

BasisStatic Routing TableDynamic Routing Table
ConfigurationManually configured by administratorAutomatically configured using protocols
AdaptabilityCannot adapt to network changes automaticallyAutomatically adapts to network changes
Failure HandlingPoor; requires manual reconfiguration on failureHandles failures automatically by finding alternate routes
Protocols UsedNo routing protocol requiredUses protocols like RIP, OSPF, BGP
ScalabilitySuitable for small networks with few devicesSuitable for large and complex networks
Administrative OverheadHigh (manual updates needed)Low (self-updating)
Resource UsageLess CPU and bandwidth usageMore CPU and bandwidth usage due to protocol overhead

Summary: Static routing is simple but inflexible, best for small stable networks. Dynamic routing is flexible and self-managing, best for large networks where topology may change frequently.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.