Question: what is the main difference between router and switch?
Answer: Difference between Router and Switch. Router and Switch are both network connecting devices. Router works at network layer and is responsibe to find the shortest path for a packet whereas Switch connects various devices in a network. Router connects devices across multiple networks.