Problem solve Get help with specific problems with your technologies, process and projects.

How do IP addresses work on Layer 2 switches?

Learn how IP addresses work on Layer 2 switches from our networking fundamentals expert.

How does an IP address work on a Layer 2 switch?

Layer 2 switches can "read" only Layer 2 information, which means they can understand the source and destination MAC address of a frame, but are unable to process any Layer 3 (IP header) information.

When a Layer 2 switch receives a frame, it will lookup its MAC address table and forward the frame out the correct port, based on the frame's destination MAC address.

Layer 3 switches work in a similar way, but are also able to process Layer 3 information effectively. This means they can perform IP routing between subnets or virtual LANs (VLANs).

For more information:

This was last published in November 2007

Dig Deeper on IP Networking

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.