The data from one device gets routed to another device in a different network based on the information that is gathered in the following three tables:
- Address Resolution Protocol (ARP) table,
- MAC table and
- Route table
All the hosts in a network and router uses both ARP and Route tables, where as a switch uses only MAC table in this routing process as shown in below picture.
In this section, let us understand, how the required information gets gathered in these tables and how that information helps in L3 routing process.