Chapter 1 - Packet Forwarding - Day 4
Software switching is significantly slower than switching done in hardware. Packets are hardware switched whenever possible. ip_input process consults the routing table and ARP table to obtain next-hop's routers IP address, outgoing interface and MAC address. Then it overwrites the destination MAC address with the next-hop router's and the the source with MAC address with the outgoing L3 interface, decrements the IP TTL, recomputes the IP header checksum and delivers the packet to the next-hop router. RIB - Routing information Base - This is built from the info obtained from dynamic routing protocols, directly connected and static routes. CEF is Cisco proprietary and was developed to keep up with evolving networks. It has been the default on most Cisco platforms that doing switching using general CPU since 1990's/ CEF is the default switching used by all Cisco platforms that use ACIS and NPU;s for high packet throughput. General purpose CPU's on software and hardware ...