Layer 3 Routing Models - RIPv1 RIPv2 EIGRP OSPF


How a router starts the RIP process

The router generates a RIP request packet to be sent out all ports. The packet will successfully exit a port if the port is (all):

 

 

RIP versions

The router deals with RIP packets differently depending on what version of RIP it is running.

 

 

How a router sends RIP updates

There are two types of RIP updates: regular and triggered.

 

 

How a router processes incoming RIP packets

When a router receives a RIP packet (flowchart here):

 

 

How a router processes incoming EIGRP packets

When a router receives an EIGRP packet (flowchart here):

 

When an EIGRP process receives an EIGRP packet:

 

When an EIGRP process processes a Hello packet:

 

When an EIGRP process processes an Update packet:

 

When an EIGRP process processes a Query packet:

 

When an EIGRP process processes a Reply packet:

 

When an EIGRP process processes a last Reply packet to a query:

 

When an EIGRP process updates the topology table with a route:

 

 

How a router processes incoming OSPF packets

When a router receives an OSPF packet (flowchart here):

 

When an OSPF process receives an OSPF packet (flowchart here):

 

When an OSPF process processes a Hello packet (flowchart here):

 

When an OSPF process processes a Database Description packet (flowchart here):

 

When an OSPF process processes a Link State Request (LSR) packet (flowchart here):

 

When an OSPF process processes a Link State Update (LSU) packet (flowchart here):

 

When an OSPF process processes a Link State Acknowledgment packet (flowchart here):

 

When an OSPF process updates the routing table with a route (flowchart here):

 

 

How routes are Redistributed using Redistribution feature.

 

How CEF works

 

IPv6 Routing and Routing Protocols

 

How a router processes incoming BGP packets

When a BGP peer receives an open packet (flowchart here):

 

 

When a BGP peer receives a notification packet (flowchart here):

 

 

When a BGP peer receives an update packet: (flowchart here):

 

 

When a BGP peer receives a keepalive packet: (flowchart here):

 

 

BGP Decision Process: (flowchart here):