Switch

A network switch is a device that connects multiple devices in a LAN and efficiently forwards data to the correct destination using MAC addresses.

Elaboration:

  • Unlike hubs, switches do not broadcast data to all devices but only send it to the intended recipient.
  • Uses MAC addresses stored in a MAC address table to switch data frames.
  • Operates at Layer 2 (Data Link Layer) of the OSI Model, but some advanced switches function at Layer 3 (Network Layer).

Example:

An Ethernet switch in an office connects multiple computers, ensuring fast and secure communication.