Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is the difference between Layer 2 and Layer 3 switches?

user-image
Question added by Amjad Alam , Sr. System Administrator , CampusEAI
Date Posted: 2013/09/28
Habeeb  Mohammed
by Habeeb Mohammed , System Administration lead , Abunayyan Holding Company.

Layer2 switches learn MAC addresses automatically, building a table which can be used to selectively forward packets.

Intelligent packet forwarding (routing) based on Layer3 information is traditionally the function of routers

 

Noushad Muhammed
by Noushad Muhammed , Technical Support Engineer (VoIP+Windows) , Hexwhale Technologies

Layer2 Switches (The Data-Link Layer)

Layer2 switches operate using physical network addresses. Physical addresses, also known as link-layer, hardware, or MAC-layer addresses, identify individual devices. Most hardware devices are permanently assigned this number during the manufacturing process. 

Switches operating at Layer2 are very fast because they’re just sorting physical addresses, but they usually aren’t very smart—that is, they don’t look at the data packet very closely to learn anything more about where it’s headed. 

Layer3 Switches (The Network Layer) 

Layer3 switches use network or IP addresses that identify locations on the network. They read network addresses more closely than Layer2 switches—they identify network locations as well as the physical device. A location can be a LAN workstation, a location in a computer’s memory, or even a different packet of data traveling through a network. 

 

Switches operating at Layer3 are smarter than Layer2 devices and incorporate routing functions to actively calculate the best way to send a packet to its destination. But although they’re smarter, they may not be as fast if their algorithms, fabric, and processor don’t support high speeds

 

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.