NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Sathaye
Sep 02, 2017Aspirant
Can't connect desktop to INternet via Netgear GS105
I have recently got xfinity internet. My setup is as below: Cable Modem - Switch - Netgear N7000 Router - Desktop To be clear: Both router and the desktop are ...
- Sep 02, 2017
Yes, a switch connects multiple wired devices together.
But a router is a special type of device. You can't treat it like any other device, such as a computer. It's role in a home network is to share the Internet connection provided by the modem with multiple devices. In order for this to work, the router's WAN port needs to be directly connected to the modem.
In fact, a router has a built in switch, composed of all its LAN ports. You can connect another switch to one of the LAN ports on the router to effectively add extra LAN ports.
That's how this all works, so please change your setup.
Sathaye
Sep 02, 2017Aspirant
Isn't the switch supposed to distribute network connections within all wired devices? My understanding was the internet connection coming to the switch would be split within the router and the desktop and hence should work.
TheEther
Sep 02, 2017Guru
Yes, a switch connects multiple wired devices together.
But a router is a special type of device. You can't treat it like any other device, such as a computer. It's role in a home network is to share the Internet connection provided by the modem with multiple devices. In order for this to work, the router's WAN port needs to be directly connected to the modem.
In fact, a router has a built in switch, composed of all its LAN ports. You can connect another switch to one of the LAN ports on the router to effectively add extra LAN ports.
That's how this all works, so please change your setup.
- SathayeSep 02, 2017AspirantOk thanks! So looks like for my setup I will need to have a modem with atleast 2 ports. One for the switch and another for the router
- HopchenSep 02, 2017Prodigy
Hi,
I think you still misunderstand this. The router's WAN port should connect the modem. The switch and other devices should connect to the router LAN ports.
- HopchenSep 02, 2017Prodigy
- TheEtherSep 02, 2017Guru
Sathaye wrote:
Ok thanks! So looks like for my setup I will need to have a modem with atleast 2 ports. One for the switch and another for the routerWe're falling into the trap of the XY Problem. We're discussing solutions that don't really make sense or are strange but we're not even sure what problem you're trying to solve. It might help for you to state your problem. To save one more round of back and forth, I am going to guess what it is. Please make any corrections.
Problem Statement
You want Wi-Fi towards the back of the house but you have at least one wired computer at the front of the house, which is where your modem is located. Your modem is a pure modem (i.e. it has no built-in router).
Your proposed solutions
- Put the router at the back of the house and wire it and your computer to a switch. Wire the switch to the modem.
- Alternatively, get a 2-port modem, which will allow you to connect both your computer and router in a similar manner.
A digression: What is a router
What we call a router in the home networking market is actually an amalgam of several devices, which, in theory, can exist separately (and they often do in business networks):
- A firewall to block unwanted traffic arriving from the Internet
- A Network Address Translator (NAT) to share the, typically, one IP address provided by your ISP with all of your devices
- An Access Point to provide Wi-Fi service
- A DHCP server to assign IP addresses to devices connected to the LAN or Wi-Fi
- An Ethernet switch for wired devices
- And a router to connect different IP networks together (specifically, the home IP and ISP networks).
In recent years, vendors have also added other functions, such as a print services, media sharing and USB drive sharing, but these are not relevant to the discussion.
Issues with your solutions
I explained previously that nothing should go between the modem and the router. From the above, it should now be clear why. If you put a computer on the "Internet" side of the router, it will be outside the firewall, so it won't be protected. The router won't assign it an IP address because the DHCP server only assigns IP addresses to devices connected to the router's LAN or Wi-Fi. ISPs only provide you with one IP address. If your computer were to grab it, well, tough luck to your router and all devices behind it. If your router grabs it, then your computer has no Internet access. This is why your computer couldn't get an IP address with your original setup.
There are some modems with 2 Ethernet ports. The new DOCSIS 3.1 cable modems, for example, have these but the dual Ethernet ports are for link aggregation. They dont have a built-in router, so you will have the same issues as above. Things will work if there is a built-in router. This is one of the solutions, below.
Solutions
There are a few ways to solve the problem, as I have stated.
- Connect the router directly to the modem. Run a wire from the router to the computer. You probably didn't want to do this because you would have had to run two Ethernet cables from the front to the back of the house.
- Move the router to the front of the house. Connect the computer to it. Install a Wi-Fi Access Point in the back of house and wire it back to the router. Bonus, you will have Wi-Fi coverage in the front and back of the house.
- Replace the modem with an all-in-one modem/router. Connect the computer to it. Repurpose your existing router as an Access Point. Remember that's one of its functions, and you can actually disable/bypass the firewall, NAT and DHCP server functions in a router. Same bonus as #2.
- Remember when I mentioned that for the vast majority of people, the setup should be modem->router->switch->devices? Well, there is a way to put a switch between the modem and router. You have to use a managed switch and a router that supports VLANs. I won't go over the details because it's an advanced technique that can be tricky to set up. It's also slightly suboptimal because traffic for your computer will have to travel twice between the switch and router.
Again, I have made a guess at what your real problem is (i.e. the X in the XY Problem). If my problem statement is incorrect, then we'll have to start over.
- SathayeSep 02, 2017Aspirant
Exactly what I wanted to convey and thank you for taking the time to pen it down! :)
You are right in that the VLAN method seems advanced and not something for me. For now the below setup works for me:
Modem -> Router -> Desktop Computer. I have a Netgear AP device. WIll just use that in the back of the house.
Ultimately I think I would like to move the above router (N7000) to the back and replace the modem with a modem / router.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!