The Differences Between Routers Switches and Hubs

The Differences Between Routers Switches and Hubs

The Differences Between Routers, Switches, and Hubs GA S REGULAR Menu Lifewire Tech for Humans Newsletter! Search Close GO Internet, Networking, & Security > Home Networking 98 98 people found this article helpful

The Differences Between Routers, Switches, and Hubs

They may look alike, but their functions differ

By Bradley Mitchell Bradley Mitchell Writer Massachusetts Institute of Technology University of Illinois An MIT graduate who brings years of technical experience to articles on SEO, computers, and wireless networking. lifewire's editorial guidelines Updated on June 25, 2021 Tweet Share Email Tweet Share Email

In This Article

Expand Jump to a Section Routers Are Gateways Routers and Home Networks Other Routers Features Switches vs Hubs Wi-Fi Switches and Hubs Network routers, switches, and hubs are standard components of wired Ethernet networks. These devices have several things in common. All are small, boxy electronic devices made of plastic or metal that enable communication between devices via Internet Protocol. Plus, they have physical ports for electrical power, network device connections, and LED lights for status displays. Given these similarities, routers, switches, and hubs may appear identical at first, but they have important distinctions.

Routers Forward Network Data More Intelligently

While hubs, switches, and routers share physical appearances, routers differ substantially in their inner workings and contain significantly more logic. Traditional routers are designed to join together multiple local area networks (LANs) with a wide area network (WAN). Routers serve as intermediate destinations for network traffic. They receive incoming network packets, look inside each packet to identify the source and target network addresses, then forward these packets where needed to ensure the data reaches its final destination. Neither switches nor hubs can do these things.

Routers Help Connect Home Networks to the Internet

Routers for home networks (often called broadband routers) join the home network to the internet for the purpose of internet connectivity. In contrast, switches (and hubs) are not capable of joining multiple networks or sharing an internet connection. A network with only switches and hubs must instead designate one computer as the gateway to the internet, and that device must possess two network adapters for sharing—one for the home-facing connection and one for the internet-facing connection. With a router, all home computers connect to the router as peers, and the router handles all such internet gateway functions.

Routers Are Smarter in Other Ways Too

Additionally, broadband routers contain several features beyond those of traditional routers, such as integrated DHCP server and network firewall support. Wireless broadband routers even incorporate a built-in Ethernet switch for supporting wired computer connections (and enabling network expansion via connecting additional switches if needed).

Switches vs Hubs

Switches are higher-performance alternatives to hubs. Both pass data between devices connected to them. Hubs do so by broadcasting the data to all other connected devices, while switches first determine which device is the intended recipient of the data and then send it to that one device directly via a "virtual circuit." When four computers are connected to a hub, for example, and two of those computers communicate with each other, hubs pass through all network traffic to each of the four computers. Switches, on the other hand, are capable of determining the destination of each individual traffic element (such as an Ethernet frame) and selectively forwarding data to the one computer that actually needs it. This behavior allows switches to generate less overall network traffic compared to hubs—an advantage on busy networks. How Is a Router Different From a Switch?

What About Wi-Fi Switches and Hubs

Home Wi-Fi networks utilize routers but technically do not have the concept of a wireless switch or hub. A wireless access point functions similarly (but not identically) to a wired switch. Was this page helpful? Thanks for letting us know! Get the Latest Tech News Delivered Every Day Subscribe Tell us why! Other Not enough details Hard to understand Submit More from Lifewire What Is a Switch? Computer Networking Can't Connect to the Internet? Try These 10 Tips Ethernet Cables, How They Work and How to Choose the Right One How to Set Up a Router How to Connect Two Routers on a Home Network One Home Network Sharing Two Internet Connections Can Two Routers Be Used on the Same Home Network? Can I Share Dial Up Internet Service Over a Wireless Network? What Is an Uplink Port in Computer Networking? The Ultimate Router Buying Guide What Is a Hub in a Computer Network? How Many Devices Can One Wireless Router Handle? What Is a LAN (Local Area Network)? Wired vs. Wireless Networking How Is a Router Different From a Switch? How to Use an IP Address to Find a MAC Address Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Cookies Settings Accept All Cookies
Share:
0 comments

Comments (0)

Leave a Comment

Minimum 10 characters required

* All fields are required. Comments are moderated before appearing.

No comments yet. Be the first to comment!

The Differences Between Routers Switches and Hubs | Trend Now | Trend Now