⟩ What is Difference between Router and Switch?
ROUTER interconnecting on layer 3, and SWITCH does it on layer 2.
ROUTER can access to different LANs, versus that the SWITCH can work only in the same LAN.
ROUTER changes the MAC addresses when pass from one LAN to another, versus that the
SWITCH can’t change it.
ROUTER do look on the IP address, versus that the SWITCH don’t care form the IP address,
SWITCH look on IP address as regular Data inside the frame.
ROUTER is defining the border of Broadcast Domain; versus that SWITCH define the border of
Collision Domain.