Final answer:
The data link layer provides two main services: managing access to the network media, and packaging Layer 3 PDUs into frames.
Step-by-step explanation:
The data link layer provides two main services:
- It manages the access of frames to the network media.
- It packages various Layer 3 PDUs into a frame format that is compatible with the network interface.
For the first service, the data link layer controls how devices access the media, ensuring that only one device transmits at a time to prevent collisions. It also provides error detection and correction mechanisms to ensure reliable transmission.
As for the second service, the data link layer takes the Layer 3 PDUs (Protocol Data Units) from the network layer and encapsulates them into frames that can be transmitted over the physical medium. This involves adding headers and trailers to the data to facilitate proper delivery.