I'm trying to understand the OSI Model.
On layer 3, we normally have the router which is responsible to route traffic to corresponding host by ip address.
In my home, I have all my devices connected to a router(some wireless, some wired), I don't have a switch installed at home. It seems with the router is already routing the traffic by ip address by itself, where is the layer 2 (switch) ?
Of course, I think switch must be involved somewhere, I just don't know. Can someone also explain how router and switch work together? It seems to me switch is useless, because router can already connect device, route traffic.