Routing Protocol Fundamentals
Routing: The process of forwarding packets from one network to another.
Routing Protocol: A set of rules and procedures that routers use to exchange information about network topology and determine the best path for data transmission.
Routing Table: A table stored in a router that lists the best paths to various network destinations.
|
Static Routing: Manually configured routes. Simple but not adaptable to network changes.
Dynamic Routing: Routes are automatically learned and updated by routing protocols. More complex but adaptable.
|
Convergence: The process by which routers agree on network topology and establish consistent routing tables after a change.
|
|
Share routing information with neighbors. Examples: RIP.
|
|
Maintain a complete map of the network. Examples: OSPF, IS-IS.
|
|
Share path information, including autonomous systems. Example: BGP.
|
Autonomous System (AS): A collection of networks under a common administration.
Interior Gateway Protocols (IGPs): Routing protocols used within an AS (e.g., OSPF, RIP, EIGRP).
Exterior Gateway Protocols (EGPs): Routing protocols used between ASs (e.g., BGP).
|
Distance Vector Protocols
|
A distance-vector routing protocol that uses hop count as a metric.
|
|
Limited to a maximum of 15 hops, making it unsuitable for large networks. 16 is considered infinity, thus unreachable.
|
|
Sends routing updates every 30 seconds.
|
|
Classful routing protocol (does not support VLSM).
|
|
Classless routing protocol (supports VLSM and authentication).
|
router rip
version 2
network <network-address>
no auto-summary # Disable auto summarization for VLSM support
|
Verification
show ip route
show ip protocols
|