What is the difference between a layer 2 and a layer 3 switch?
The difference between Layer 2 and Layer 3 switching is the type
of information inside the frame that is used to determine the
correct output interface. With Layer 2 switching, frames are
switched based on MAC address information. With Layer 3 switching,
frames are switched based on network-layer information.