See related link.
If devices are within the same network then they operate at the second layer.
The Access Layer
true
distribution
prevents collisions on a local network.
In this situation Network Layer may not be required. Data Link Layer can handle communication process. If two devices are communicating from different networks then Network Layer a is must. In this situation Data Link Layer is not enough for completing the communication process as it lacks Routing ability which is the primary function of Network Layer.
They are designed to interconnect local network segments.
network session layer Session Layer (Layer 5) The session layer permits two parties to hold ongoing communications called a session across a network.
All network devices have some component that operates at layer 1. Only hubs and repeaters operate entirely at layer 1.
A network card, or network adapter as it is sometimes called, allows a computer to connect to a network of other computers. These devices will usually have both a physical layer and a data link layer. Ethernet devices will most often have an 8P8C socket where the network cable can be connected.
Interfaces used on the system to connect to Network devices reside on Physical layer.
Physical layer = Hub, NIC, Repeater. Data Link Layer = Switch, Bridge. Network Layer = Router.