Routing Fundamentals - Trentkerr01/CCNA-UDEMY GitHub Wiki
Connected and Local Routes
16-02+Connected+and+Local+Routes.pdf
A Router has two main functions: Determing the best path to available networks Forwarding traffic to those networks
The best paths are listed in the routers routing table, this is where the router will decide the best path forward.
Connected and Local routers
The administator configures IP address on the routers interfaces. Command: R1# sh ip route
show ip route - Local Routes
From IOS 15, local routes will also be added to the routing table *Local Routes always have a /32 mask and show the IP address configured on the interface.
Static Routes
If a router receives traffic for a netwoork whihc it is not directly attached to, it needs to know how to get there in order to forward the traffic.
An admin would need to manualy add a static route to the destination or the router can learn it via routing protocol
Summarisation, Longest Prefix Match and Default Routes
16-06+Summarisation,+Longest+Prefix+Match,+and+Default+Routes.pdf For static routing, summary routes lessen administrative overhead and memory usage on the routers.
Longest prefix match
When there are overlapping routes, longest prefix will be selected. longest 255.255.255 etc.
Load Balancing
When multiple equal length reoutes are added for the same destination, the router will add them all to the routing table and load balance between them.
Default Route (Gateway of Last Resort)
ip route 0.0.0.0 0.0.0.0 203.0.113.2 (internet IP example) catch all for all specific traffic that doesn't match