Could someone explain why we can’t just plug the average PC etc into a ‘raw’ internet line (like just entering a house) and have a mini modem on the motherboard do the translation work?
I know there’s a limit to IP addresses, and that it’s maybe easier to have a little box do the work where it enters a building.
… but apart from that?
I think you wonder whether your PC can be connected directly to the internet. Yes, like every server, router, firewall, technically you can. You would need to set up your connection completely manually, as there is no one doing that for you.
However, connecting millions of people is an epic task in itself. You would need at least as many public IP addresses as consumers have devices, and find a way to drag ethernet cables over enormous distances… while these won’t exceed about iirc 120m until signal loss is killing the connection. Then you would need all those consumers to have intricate network knowledge too.
Hence why we’re modems that can use long distance connections (like DSL over phone lines), that can arrange internal network connectivity without you having any knowledge, and apply internal IP space instead of public. Also your ISP can apply efficient internal routing and even internal IP space to save on rare and expensive public space.
There is much more to this, but I wanted to keep it ELI5. HTH!
So theoretically if you didn’t need more than one device at your end connected, you could (in theory) plug the internet cable straight into a pc. In theory.
Yes. In fact, that is what a server does. It is much like your PC, just heavily optimised for providing services (like websites) to many users. There is no modem between the server and the first router, just straight ip with the router as the default gateway.
You can. In practice
If you have two or more network adapters in your computer it can do network address translation to share your connection with your other devices that would use private IP addresses. If one of those network adapters is WiFi, your computer can act as a wireless access point.
There’s no modem needed, actually. All of that can be done in software, and you can configure a desktop as a PPPoE client (that’s the protocol your router uses to log into your ISP’s network and receive internet connectivity). Obviously, you’d need to configure that PC as a router for other computers to also share the connection, and running a typical interactive system 24/7 as a router is hideously inefficient in terms of power use.
Some ISPs just hand out an IP with a DHCP server directly on the line, so it might be even simpler.
Setting up your own PPPoE client is extremely easy, so either way you most definitely can do what OP wishes for.
Most routers are actually small PCs, just optimized for the specific purpose of connecting to the internet over a phone or TV line, providing a separate internal network in your home and bridging the two. But you could do that with any regular PC with the right hardware.
Your ISP could also just provide you with a standard network connection, so you don’t have to use a modem to transmit data over a line that was originally built for a different purpose. This is not very common since most houses still predate the internet, but it might become the norm at some point.
The main benefit of having a separate network is that devices in it are not directly visible and accessible from outside. All others see is your router, and they can only access your devices if you establish the connection first or manually forward ports. You can also structure the local network however you like (e.g. assign IPs and domain names, create subnets), without being restricted by or affecting the outside world.
Thanks for all the responses. V interesting.
The other day while shopping for a new modem-router, we kept finding good deals only to realise that they were only routers. No fibre-to-the-house for us yet so dems no good. Don’t want to chase around finding a separate modem too. Got a TP-Link Deco in the end. It seemed the easiest / best thing available to the physical Saturday consumer in need.
Just to add a bit of discussion on the modem vs. modem + router thing. I know it’s a pain to have to get two devices; cost is higher; also two things to worry about hooking up/configuring.
At my previous place I bought a Motorola modem in 2012 or so. I kept that modem for 10 years and it chugged along delivering the speeds I paid for. Because it simply had an Ethernet port on the back of it, it meant that I went through 3 or 4 routers in that period. Some were replaced because I got a router for free from a friend and wanted to install custom firmware. Some were swapped in because the previous one failed, and the last one was added because I upgraded to a Ubiquiti Edge Router and two separate WAPs.
None of this would have been possible with a combo device.
Again, I’m not trying to convince you or anyone else that this is a path for everyone, just adding a different way of viewing the two devices situation. It offers you flexibility and plug-ability.
Sure. Sounds good. I saw lots of stand-alone routers on the shelves, but nary a solo modem.
My query was purely theoretical anyway.
yes, we can.
but it’s a niche market so you have to diy
If your ISP uses an Ethernet cable into your premises, then you most likely can do exactly that. Either you’ll get an IP from the ISP’s DHCP server or you’ll have to configure a PPPoE client with some login details before the ISP issues you an IP and connectivity.
To do that to every device on the globe you’ll need a much larger address space to IPv6 is your only choice.
That said, be mindful of the security that a router provides. Connecting your PC this way means you desperately need to keep it up to date and running restricted firewall.
Some ISPs run a coaxial cable into your house, though. Most of these use (Euro)DOCSIS and finding an interface card for a regular PC seems impossible.
All in all, it’s possible but it depends on the cabling standards and the protocols spoken. Don’t forget, at the end of the day, your modem is just a computer running Linux, most likely.
Check out OPNsense or OpenWRT if you’re interested in using a regular computer for routing. Alternatively just use Linux but it’s a lot more work.
That’s actually more or less how it used to work. You’d plug your computer directly to the internet and connect that way. You’d have to dial into the internet. Constantly being online was a novelty. Especially when you paid by the minute. But then people started having more than one PC and thus home routers became a thing.
deleted by creator
The PC’s modem uses the ethernet protocol, which is basically standard for computer networks. All PCs have onboard ethernet capability.
The internet itself, the network of networks, uses a bunch of different technologies/protocols to connect those networks together.
As an analogy, imagine a car, with its rubber wheels. Those rubber wheels are basically designed for pavement. There are some exceptions of course but basically our basic road design is pavement with rubber tires running on it. Every car’s got the rubber tire interface.
But then you don’t just have road networks, you’ve got the things that connect road networks together. In some places it’s an airplane, in others it’s a boat, or a bridge, or a train, or a spaceship.
Because of various challenges of connecting distant road networks together by connecting legs, we use various different technologies for it.
It’s a two-tier system. You’ve got networks, and then you’ve got the internet. Computers are designed to navigate the networks, via their onboard ethernet cards. The internet is designed to make the multiple networks operate like one network, by tunneling through the twisted vagaries of the real world. Because the internet is the part of that which crosses the real world, it’s the part of that which is the most varied in its forms.
The box at the wall is the interface between the predictable world of your home ethernet network, and the more varied world of long-range signal conduction.