The network layer selects a route for the message. It forms data into packets, counts them, and adds a header containing the sequence of packets and the address of the receiving computer.
The data-link layer supervises the transmission. It confirms the check sum, then addresses and duplicates the packets. This layer keeps a copy of each packet until it receives confirmation from the next point along the route the packet has arrived undamaged.