Router maintains a routing table. This table is stored in it's RAM. The common fields in a routing table are:
1. Network Destination
2. Netmask or subnet mask
3. IP address of the next hop or gateway.
4. Interface - On which port the networks are connected.
5. Metric - On the basis of metric no. router identifies the best path for routing the packet.