I am looking to better understand, what happens within the router when an L3 packet arrives at a router interface and egresses via the exit interface.
For e.g consider the below, assume Hundred Gig 3/1 is ingress interface, while Hundred Gig 3/2 is the egress interface. What are sequence of steps that are actually performed , from ingress till egress.
Some of the things, that i have read about are
- Performing IPv4 Header checksum
- If header checksum is correct, decrement the TTL.
- check if TTL is > 0. if not, drop the packet.
- Compute and update the new IP header checksum.
but i am looking to understand. more details, in terms of internal transition/sequence of steps/flow diagram that happens within the router. Different vendors/OEMs may have different implemenations, but is there anything generic that i can follow. One of the references i found here, but is there more generic implemenation, that gives a uber level view.