Question: What is the difference between router, hub and switch?
Router is mainly used to route network traffic from one network to another network. Most of the home network router is NAT router, which is used to route traffic between home network and Internet. NAT (Network Address Translation) means all home network IPs will be translated to broadband WAN IP when accessing to Internet. Also you can see that home router is usually equipped with 4-8 switch ports.
How about hub and switch? Both are networking devices that commonly deployed to expand the existing network by connecting additional computers to router. If you have choice, use switch instead of hub. Why? Switch is more intelligent than hub! When a computer sends a packet, switch will only send that packet to the destination computer, whereas hub will broadcast that packet to all computers in the network and slow down the network speed. Check out here on how to expand network by using network switch.