Switches communicate using MAC Addressing, which belongs to Layer 2 (Data Link Layer) of the OSI Model. Some switches come with routing capabilities and can use Layer 3 (Network Layer) to communicate, these are conveniently known as Layer 3 Switches.
A network switch (also called switching hub, bridging hub, officially MAC bridge) is a computer networking device that connects devices on a computer network by using packet switching to receive, process, and forward data to the destination device.
A network switch is a multiport network bridge that uses hardware addresses to process and forward data at the data link layer (layer 2) of the OSI model. Some switches can also process data at the network …