1-Layer 2 (Data Link Layer) is responsible for the physical transmission of data between devices on the same network. It provides a way to establish, maintain, and terminate connections between devices .
Addressing Layer 2 uses MAC addresses to identify devices on the same network. MAC addresses are assigned by the manufacturer and are unique to each device.
Protocols Layer 2 uses protocols such as Ethernet, Token Ring, and PPP to manage the physical transmission of data.
Devices Layer 2 operates on switches and bridges that connect devices within the same network.
2-Layer 3 (Network Layer) is responsible for routing data packets between different networks. It determines the best path for data to travel from the source to the destination.
Addressing Layer 3 uses IP addresses to identify devices on different networks. IP addresses are used to route data across different networks and are assigned by the network administrator.
Protocols Layer 3 uses protocols such as IP, ICMP, and ARP to route and manage data across networks.
Devices Layer 3 operates on routers that connect different networks and determine the best path for data to travel.