What is the function of the data link layer in a network?
1) It packages various Layer 3 PDUs into a frame format that is compatible with the network interface.
2) It manages the access of frames to the network media.
3) It converts data from analog to digital format.
4) It establishes a connection between two devices in a network.