IP routing is the method of sending packets from a host on one network to another host on a different farther network. Routers look at the destination IP address of a packet…