05-21-2011 11:57 PM - edited 03-06-2019 05:11 PM
HI,
while differentiating layer 2 and layer 3 device, it is said that layer 2 is based on mac address and layer 3 on IP.
But switch works on IP address, den how can we say that switch is layer 2 device?
05-22-2011 12:43 AM
Hi,
There are indeed L3 switches which can operate at L3 and above but a L2 switch only cares about L2 headers to forward unlike a L3 device which looks at L3 headers.
Regards.
Alain.
05-22-2011 05:15 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
while differentiating layer 2 and layer 3 device, it is said that layer 2 is based on mac address and layer 3 on IP.
Generally, that's correct.
But switch works on IP address, den how can we say that switch is layer 2 device?
That's not a given.
Actually switching is how the process of forwarding cells, frames and/or packets, etc., is performed. (NB: the term also extends beyond data networking, e.g. a telephone switch.) Since this method is most common at L2, devices that do it are commonly called just switches. Devices that perform this process other than L2 often get an adjective to clarify, e.g. L3 switch or multilayer switch.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide