2.1: LAN Switching
LAN Switching was introduced in our INTRO CCNA Course E509, the following section reviews this area
An Ethernet Switch functions in the same way as a Bridge but typically has more ports. The Switch essentially performs bridging, but this is done via hardware using an Application Specific Integrated Circuit (ASIC), with a high-capacity switching bus making a Switch much faster than a bridge
Each Port on an Ethernet Switch can be connected to a single user or to a shared segment that serves many users.
Both Bridges and Switches reside at the Data Link layer of the OSI Model (Layer 2) and use Media Access Control (MAC) addresses to identify devices and forward or filter frames of information
NOTE: A MAC address is 6 Bytes long (48 bits) the first 3 Bytes identifies the manufacturer the remaining 3 Bytes uniquely identifies the Network Interface Card (NIC) or device
The IEEE has defined 3 general categories of MAC Address on Ethernet
UNICAST - This is a MAC address that identifies a single device or network interface card
BROADCAST - This is sent to ALL devices on a LAN
MULTICAST - This is sent to a group of devices on the LAN
Basic Switch and Bridge forwarding logic is:
-
The frame is received
-
If the destination MAC address is a BROADCAST (FFFF.FFFF.FFFF in hexadecimal notation) or MULTICAST then it is forwarded to ALL ports EXCEPT to the port that it was received on
-
If the destination MAC address is a UNICAST and exists in the address table, the frame is forwarded out to the correct port
-
Otherwise the frame is filtered and NOT forwarded
