Your router routes. It also assigns IP addresses to devices. So no, you can't just connect a switch to a modem and be Online. It may be possible if your ISP gave you multiple IP addresses and you set them static to your devices, but you also do not want your private devices directly on public Internet.
Home Networking
A community to help people learn, install, set up or troubleshoot their home network equipment and solutions.
Rules
- Please stay on topic.
- Please use the search function to look for keywords related to what you want to ask before posting since most common issues have been answered.
- No Ads. This community is for support and discussion. Ads and self promotion are not welcome here.
- No product reviews or announcements. If you have a question about a product, be specific about what you want to know.
- Be civil. Don't be a jerk. Not being a jerk is surprisingly easy.
- No URL shorteners. URL shorteners tend to hide the real use of a link. For this reason, please use normal links, even if they're long.
- No affiliate links.
- No gatekeeping. With profession shall come professionalism. Extend help without judging others for their ignorance. The same goes for downvoting of comments or posts for "stupid questions" or not being as knowledgeable as others.
In most residential service, the ISP configured the modem to provide a single public IP address. Besides serving as the point of connection to the modem, a router serves a few critical purposes:
-
Provides a firewall to protect your network from malicious intrusion attempt from the Internet
-
Provides the needed DNS and DHCP services to devices on your network that allows them to have an IP address and the ability to find external sites
-
Manages the IP address translation and routing required to allow all of your network devices use a single public IP address
If you connect your modem directly to a switch that connects to your network, the first device that requests an IP address will get the single available IP address and none of the others will get a usable IP address and as a result, will not be able to access the Internet. They also will be lacking the services provided by a router as listed above.
Please get a router!
No, because a switch can't route traffic from one point to another. Specifically, it can't do NAT. Without NAT you can only have 1 device connected to the internet.
You need something to manage your clients on that network. If your modem can do that, good, you may not need a router. If the modem can't or it is not setup-ed and you can't access it, then you most likely would need one.
Technically possible with a layer 3 switch but routing is still required and best done with a purpose built router.
A modem modulates/demodulates. A router routes
Most modems these days are combined with a router. So yeah you can use the routing capabilities and plug into a smart/dumb switch and it will work
thanks for all the replies. very helpful
Unless you have purchased a VERY large block of external routable IPs, no. Your devices would have no idea how to get out to the rest of the world. Also, I know some switches can also route, but then they are essentially routers.
Yes you need one. And the world Router is self explanatory.