Advertisement

[Stupid question] What is the internet?

Started by November 30, 2011 02:24 AM
16 comments, last by speciesUnknown 12 years, 9 months ago
OK, I know that it is a world-wide network of computers. My question is actually more low level and more or less concerns ISPs.

The way I look at an ISP is that it acts as a gate. On one side of the gate is the mysterious "source" and my computer is on the other side. The ISP allows data to travel from "the source" to my computer and vice versa.

The question is, what is "the source"? What does the ISP connect to? Where does the connection come from? Since an ISP is really nothing more than large computers with industrial routers, why am I unable to directly connect to "the source"? Why is it not possible to connect my router to this "source" and bypass the ISP?

It is a question that I have always wondered and have never found an answer.
Why is it not possible to connect my router to this "source" and bypass the ISP?

It is. Just hook up a cable to that "source" and you'll be done.
Problem is, that source may be on the other side of the world, so that must've been hell of a long cable. It is very expensive and inefficient for you (the only gain you'll get is direct access). We pay ISPs, many ISP just actually pay to the (usually) same wholesale provider; which sell by bandwidth.

With this system costs are reduced significantly and those wholesale providers are wired together. Sometimes these "providers" depends on the Government, that varies per Country.

Usually the communication is done all through satellite, with optical fiber cables going underground/underwater as a backup (satellite communication can be very unstable, depends on weather conditions on the ground, environmental hostility (i.e. a bird nest inside the satellite, I'm not kidding this happens too often), proper orientation, satellite availability and outer space conditions (i.e. solar flares).
Optical fibers are used as a backup because they are very expensive to maintain (underwater cables are somehow specially attractive for some creatures) and don't usually provide the same level of bandwidth. Not to mention it requires signal strength to be mantained, the longer it is, the more expensive it becomes.

Feel free to pay a giant bill to hook my router to yours if you want direct access to my PC. It's not a server so you won't find it very interesting though.

How the ISP knows which ISP to query to contact it's client , which will be the "source", based on just the IP number is a completely different question, and has to do about how the IP (Internet Protocol) works. TCP and UDP are built on IP as it's base.
Beware though, IP is an old protocol and works much more chaotic than one would think. Often people who know how it works ask themselves how the internet manages to hold together and stay functioning.

Cheers
Dark Sylinc

Edit:
To summarize, the connection goes (usually!) like this:
  1. PC -> ISP A
  2. ISP A -> Wholesale provider X
  3. Wholesale provider X -> Wholesale provider Y
  4. Wholesale provider Y -> ISP B
  5. ISP B -> PC "Source"
There aren't many providers (typically 1 to 3 per country). This communication is overly simplified since the IP protocol actually asks a lot of people before reaching the end, jumping (wasting) on a lot of computers first before reaching what you've called the "source". And the communication back may not follow the same route. Not even the same packet you've sent may follow the same route. Your ISP A doesn't magically know ISP B is your source's provider, so it has to start asking. And sometimes, those who have been asked don't know the answer but are aware of someone who may know, so they ask them too...


Advertisement
Ah. So, basically you're saying the answer is "magic". Gotcha!biggrin.gif
What ISPs mostly connect to is each other. The really simple version is that each ISP is given a block of IP addresses. They then assign the IP addresses to their own hardware and to their customers. Then each ISP maintains connections to one or more other ISPs. Through various protocols the ISPs tell each other which IPs they have access to. For more reading you might want to look up BGP (Border Gateway Protocol), which is mostly how ISPs communicate with each other. For comparison you may want to look up interior gateway protocols like OSPF or IS-IS.

Ah. So, basically you're saying the answer is "magic". Gotcha!biggrin.gif


From the user's point of view, yes! This is why we call it "the cloud", and even display it that way on network diagrams -- we just plug in at one end and are able to communicate with a device at the other -- we don't generally know or care the specifics of what happens in between. cool.gif


- Jason Astle-Adams

It's like a bunch of tubes. You pay to have a tube to your house so you can put stuff in it and send stuff. The term ISP is kind of hiding a lot of the details. There are hubs at street corners which aggregate and multiplex your data to put it in a single larger tube. Then the tubes go to ISP "offices". Then you have the giant fiber networks from chicago to washington DC to california etc. It ends up being a very complicated graph resulting in routing fun and a huge theory for proactive routing. If you have the time go take a few undergraduate/graduate level networking courses. They are fun. Also read Computer Networking a Top Down Approach. It's a very good primer.
Advertisement

Usually the communication is done all through satellite, with optical fiber cables going underground/underwater as a backup (satellite communication can be very unstable, depends on weather conditions on the ground, environmental hostility (i.e. a bird nest inside the satellite, I'm not kidding this happens too often), proper orientation, satellite availability and outer space conditions (i.e. solar flares).
Optical fibers are used as a backup because they are very expensive to maintain (underwater cables are somehow specially attractive for some creatures) and don't usually provide the same level of bandwidth. Not to mention it requires signal strength to be mantained, the longer it is, the more expensive it becomes.


It seems to me this opinion is rather wrong. Both satelite and cable are optical technology. Except that the cable takes a shorter and much more well defined path leading to vastly better signal to noise, can be boosted anywhere along the path without the constraints of outer-space technology, and probably many others im forgetting now.

The vast majority of data travels by cable. Only if you are on an oilrig does your data go by satelite; you pay dearly for it, and it lags like hell.

The question is, what is "the source"? What does the ISP connect to? Where does the connection come from?


The internet backbone. It works the same way as your home connection, just the cable is bigger, routers have more blinking lights and it's slightly regulated. Also, very expensive.

A simplified version is: internet connections between continents, countries and cities are one very thick cable. Then there is a house at either end with a bunch of very fancy routers into which all local ISPs connect with their cables. And that's it. And all the traffic from that country, city, even continent, goes through that one cable. So when that gets cut, millions of machines lose all connectivity.

Why is it not possible to connect my router to this "source" and bypass the ISP?[/quote]

You can. It's expensive, regulated and supervised, but you can. Most of the big universities are directly on the backbone, that is likely the easiest way.

bird nest inside the satellite, I'm not kidding this happens too often


Alien space bird breeding attack? The amazing feat of flying that high left aside, where do they find twigs to build their nests? :)

By the way, I can ping most machines on the other side of the Atlantic Ocean in little over 100-120ms, which strongly suggests that the data does not go via sattelite, which would be around 240ms one-way due to the mere speed of light (so 480ms round trip, assuming no additional router delay).

[quote name='Matias Goldberg' timestamp='1322621288' post='4888948']
bird nest inside the satellite, I'm not kidding this happens too often

Alien space bird breeding attack? The amazing feat of flying that high left aside, where do they find twigs to build their nests? :)[/quote]

Hahaha, sorry I was talking about the satellite dish. Today dishes are smaller because they're cheaper and easier to maintain; if there's some signal/bandwidth limitation, just add one more.
But the "ancient" dishes from the 60's onwards when they constructed everything in gigantic size, costing several millions, are still being used. Birds tend to build their nests near the center of the dish, and less often where the receiver is, provided it is big enough.
It's a PITA for the engineers in the ground stations because it's the last place they want to check. Orientation & satellite's route can be check from your desk; while a nest means going out and climbing to the dish to visually inspect it.
If it's raining, (side-note: ground station's locations are carefully chosen to reduce any environmental noise or hazard, like earthquakes, volcanos, radio interference, snow; but no place on earth offers a natural protection from everything at once) then it's easier to blame the weather conditions for the bad signal than rather go out with the rain and start climbing. Like I said, a major PITA.


By the way, I can ping most machines on the other side of the Atlantic Ocean in little over 100-120ms, which strongly suggests that the data does not go via sattelite, which would be around 240ms one-way due to the mere speed of light (so 480ms round trip, assuming no additional router delay).

Yeah, most likely over cable. Satellites have terrible latency. Perhaps I made a wrong choice of words. Used as "secondary" is probably a better word than "backup". Wholesale providers often supply all kinds of data (TV, Phone, VoIP, cell phone, Internet), not just internet. When satellites go down cable receives a lot of stress: TV channels down intermitently, failed international calls, slow internet (if not solved before peak hours).

This topic is closed to new replies.

Advertisement