what are the responsibilities of network layer?
The network layer is responsible for routing, which is moving packets (the fundamental unit of data transport on modern computer networks) across the network using the most appropriate paths. It also addresses messages and translates logical addresses (i.e., IP addresses) into physical addresses (i.e., MAC addresses).