Local Routes refer to an entry in the router's routing table that represents an IP address assigned to one of its own interfaces
Physical interface and loopback addresses are considered a local route entry on a router
Note: A loopback address is defined in a logical interface that is always in an up/up state used for management and routing protocol purposes often to represent the router's identity
When an IP address or network is assigned on a router's interface, it is automatically added as a local route in the routing table and is essential for the router to route traffic to itself and for network stability
For example in the topology below, when defining the 3 directly connected networks on R1, local routes will automatically be created representing the IP addresses of the router interfaces themselves
In this lab scenario, we will define the directly connected networks on R1 and will identify the local routes created
Lab Topology
Configuration
Local Routes: R1
Notes:
From R1, we have defined networks on interfaces Gi0/0, Gi0/1, Gi0/2
You can view any configured IP addresses using the 'show ip interface brief' command
You can view all available networks using the 'show ip route' command
From the 'show ip route' command, the 'L' routes indicate local routes of each of the mapped interfaces