First page Back Continue Last page Image

Dynamic Routes in the Routing Table

Both entries also include the IP address of the next-hop router, via ip-address

R1# show ip route

Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

(output omitted for brevity)

O 10.0.4.0/24 [110/50] via 10.0.3.2, 00:24:22, Serial0/1/1

O 10.0.5.0/24 [110/50] via 10.0.3.2, 00:24:15, Serial0/1/1

R1# show ipv6 route

IPv6 Routing Table - default - 10 entries

(Output omitted)

NDr - Redirect, RL - RPL, O - OSPF Intra, OI - OSPF Inter

O 2001:DB8:ACAD:4::/64 [110/50]

via FE80::2:C, Serial0/1/1

O 2001:DB8:ACAD:5::/64 [110/50]

via FE80::2:C, Serial0/1/1

Note: IPv6 routing protocols use the link-local address of the next-hop router

Here is an example of using the OSPF Routing Protocol to dynamically learn all the networks connected to R1 and R2

The routing table entries use the status code of O to indicate the route was learned by the OSPF routing protocol