Ask the Expert

How do routers and switches differ in the OSI model?

What is the difference between the switch and the router in relation to the OSI model?

    Requires Free Membership to View

A traditional Layer 2 switch is dealing with Ethernet frame data -- specifically, MAC addresses. A switch has a CAM (content addressable memory) table that is used to hold MAC addresses and then make a decision as to what switch port to forward to. Routers are Layer 3 devices and are concerned with routing protocols, such as OSPF, and routable protocols such as IP. Another distinction is that while switches look at physical frames, routers deal with routable addresses like 12.16.1.1.

This was first published in August 2007

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: