Home > Ask the Networking Experts > Networking fundamentals Questions & Answers > Is it possible to convert a Layer 2 switch to a Layer 3 switch?
Ask The Networking Expert: Questions & Answers
EMAIL THIS

Is it possible to convert a Layer 2 switch to a Layer 3 switch?

Chris Partsenidis EXPERT RESPONSE FROM: Chris Partsenidis

Pose a Question
Other Networking Categories
Meet all Networking Experts
Become an Expert for this site


Routing and switching news, advice and technical information
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 03 January 2007

Is there any way to convert a Layer 2 switch to Layer 3 switch? This is a question posed to me by an interviewer.


>

Dear G.Srinivas,

It's very important to understand what a Layer 2 and Layer 3 switch is. Once we define them, the differences will become evident.

Taking into consideration the OSI model, a Layer 2 switch will forward packets to their destination using Layer 2 information embedded within the packet(s) it is forwarding. This information contains the source and destination MAC (Media Access Control) address, 48 bits long -- or 6 bytes. A layer 2 switch will temporarily store this information in its MAC address table so it is aware of the location of each MAC address.

A Layer 3 switch on the other hand will forward packets to their destination using Layer 2 and Layer 3 information of the packets it's forwarding. As you might recall, Layer 3 of the OSI model contains the IP Header information -- in other words, the source and destination IP Address of the two hosts exchanging information (packets).

Because of this additional functionality, Layer 3 switches are usually able to direct packets between different IP networks, essentially performing a router's role. Routing packets between different IP networks is usually desired when we've implemented VLANs in our network. This allows all VLANs to communicate with each other, without additional routers.

It is clear that the architecture between Layer 2 and Layer 3 switches is totally different. This is also evident in the price differences between the two, where Layer 3 switches are considered a big investment while you can pickup a small Layer 2 switch for less than $50 these days! Large Layer 3 switches such as Cisco's 4500 and 6500 series are able to perform as Layer 2 and Layer 3 switches by simply entering a series of commands, but keep in mind that we are talking about switches whose cost is in the thousands of dollars.

Summing up, if we are talking about large expensive switches, it might be possible to have them work as either Layer 2 or Layer 3 switches -- this depends on the switch's features and in your case -- your interviewer's knowledge :)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Networking fundamentals
VLANs versus IP subnets: Why use a VLAN over IP subnetting?
Difference between circuit-switching and packet-switching in examples
Can Network Address Translation work without static IP addresses?
Can building T3 lines using satellite be cheaper than a carriers'?
Can IP addresses of LANs that make up a WAN be the same?
How each wireless technology differs: Wi-Fi, WiMax and WLANs
Do multiple router interfaces affect the amount of IP addresses?
How can I prevent collisions on my network?
What makes a WAN different from a LAN and MAN?
The difference between half-duplex and full-duplex

The OSI Model
Which OSI layers are network managers responsible for?
What network monitoring tools monitor all OSI layers?
How do routers and switches differ in the OSI model?
How can I define the layered approach to protocols?
How does a Layer 3 switch work in a network?
OSI -- Securing the stack
OSI: Securing the Stack, Layer 8 -- Social engineering and security policy
OSI: Securing the Stack, Layer 7 -- Applications
OSI: Securing the Stack, Layer 6 -- Encryption
Network security -- Taking the layered approach

Network Hardware
Unified wireless network still a work in progress for vendors
3Com acquisition confirms HP-Cisco battle for China
Juniper to CIOs: Invest in internal cloud computing networks
802.11n wireless APs bring IP video to sprawling Illinois high school
802.11n upgrade: College ditches legacy network for new vendor
Network device management overload: Engineers managing too many boxes
What is network infrastructure and what is a hybrid network?
What preventative maintenance procedures for network devices exist?
Can wireless adapters operate as client access points to make SoftAPs?
Is there VLAN software recommend for Realtek NICs?
Network Hardware Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
ES-IS  (WhatIs.com)
FTAM  (SearchNetworking.com)
layer 2  (SearchNetworking.com)
Network layer  (SearchNetworking.com)
OSI  (SearchNetworking.com)
physical layer  (SearchNetworking.com)
Session layer  (SearchNetworking.com)
Technical Office Protocol  (SearchNetworking.com)
TP0-TP4  (SearchNetworking.com)
Transport Services Access Point  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Expert networking advice and tips for IT professionals
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts