How do routers and switches differ in the OSI model?

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

    By submitting your registration information to SearchNetworking.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchNetworking.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

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