transcript

Basics Explained, H3Vtux - How does the Internet Work? Networks and addresses explained.

Thumbnail of the video “Basics Explained, H3Vtux - How does the Internet Work? Networks and addresses explained.”
Download Markdown
Community upload. AI output has not been independently verified.

If you're watching this video, then it's safe to assume that you know what the internet is to at least some degree. It's the place where YouTube, Facebook, Wikipedia, and all of your emails are sitting. But have you ever wondered how the internet does what it does? If you have, then this video is just for you.

A common problem many people have is thinking of the internet like this, as if it's one thing that all of our computers connect to. Things are either on the internet or on a computer. In reality, the internet looks like this: just a bunch of computers sending and receiving data from each other using the phone lines. The internet itself is really more of a concept than an actual thing. A website, YouTube video, or Facebook page doesn't exist on the internet. They exist on a computer somewhere in the world that is being accessed through the internet.

As a refresher from my video on binary, everything in your computer that makes up data is composed of a sequence of high and low voltage charges that are interpreted as binary numbers. Very early on in the existence of computers, programmers were able to send this data from one computer to another in the same room over a wire directly connecting the two. This type of connection is known as a local area network, or a LAN. You have data on one computer, you connect a wire from that computer to another, and the sequence of electrical pulses is sent across that wire and then stored on the second computer.

It wasn't long after this that computer scientists came up with the idea of sending these same signals over the telephone lines, to be able to theoretically send and receive data from any computer anywhere in the world, provided of course it was connected to the same phone lines. This concept went through many iterations and names but became known as the Internet around 1995, when it was made available for public use. The fundamental physical workings of the internet haven't really changed much from this model of computers just talking to each other over wires. The specifics have been updated and optimized, but the concept has remained the same.

So with the internet being this simple, what are websites, servers, ISPs, IP addresses, MAC addresses, or the cloud? Well, let's start with a website like YouTube. As I said earlier, your YouTube channel, the comments, videos, and likes don't exist on the internet. They exist on a computer somewhere that's connected to the internet. These computers that host the data that composes a website are known as servers, and these computers are made in a very specific way to be able to store lots and lots of data and to be able to send and receive it very quickly.

Take for example the video that you're watching right now. I made this video on my computer and then I uploaded it to YouTube. When I uploaded it to YouTube, the data composing this video was sent to a server somewhere that's owned by Google. Then, when you clicked on this video, your computer sent a request across the internet to the computer where this video was stored, which then sent the data composing this video back across the internet to your computer, where it's stored in your RAM sticks and possibly in temporary files on your hard drive. Once in your RAM, the other parts of your computer use that data to create the video and audio on your screens. This process of temporarily storing the video data in your RAM sticks is known as streaming.

Now let's move on to what an ISP is, also known as an Internet Service Provider. I like to use the analogy of roads here. You have interstate highways, and then you have two-lane highways that are smaller and connect to the interstate highways, and then from those you have even smaller roads that go to businesses, and even smaller ones that connect to your neighborhood and your driveway. The wires that make up the internet work very much the same way. There are companies that own and manage the wires, and sometimes satellites and other infrastructure, that transfer your data over massive distances, hundreds and thousands of miles. These are known as Tier 1 networks, and they're like the interstate highways of the internet.

It's not really practical for these companies to manage all of the smaller lines within your town that transfer the data directly to your house. In the same way that the people who build the highways aren't the same people who are going to build the road to your neighborhood, this is where Internet Service Providers come in. Internet Service Providers are networks that are either Tier 2 or Tier 3 networks, depending on how specific they are. A Tier 2 network contains the power lines that connect from the massive intercontinental ones to the smaller data centers that serve entire towns. A Tier 3 provider has cables that run from those data centers to the various houses and businesses in that town. Each tier essentially buys data from the tier above it and sells it to the tier below them. This allows the Tier 1 networks to focus on the management of very large-scale data transfer, and the Tier 2 and Tier 3 networks to focus on the smaller-scale ones.

Another way of thinking of this is in terms of government. The federal government manages everything in the country and allocates resources to state governments so that they can handle more local issues. State governments have town governments beneath them, and the town governments serve the businesses and residents of that town directly.

That wraps up Internet Service Providers, and this leads perfectly into IP addresses and MAC addresses. We've covered how data gets to your doorstep, but what happens from there? The coaxial outlet in your wall is the end of the cable that connects to the greater network we just talked about. The next step is the modem and then the router. While these are technically two separate entities, it's becoming more and more common for the two to be combined into a single device known as a gateway. For the sake of keeping things simple, I'm going to refer to these as a gateway. The gateway plugs into that coaxial outlet in the wall, and it contains several Ethernet ports and provides a Wi-Fi signal. Your computers, phones, and tablets can connect to the gateway with Ethernet cables or by connecting to the Wi-Fi.

A MAC address is the way the internet recognizes the address of your individual device, while an IP address is essentially the address for the gateway, or rather for the coaxial outlet it's plugged into. An IP address can change depending on which modem you have, which coaxial outlet it's plugged into, and depending on how your service provider likes to do things. But in summary, an IP address is basically the internet address for your place of residence. If you took your phone over to your friend's house and connected it to their Wi-Fi, you would now be using their IP address, but your phone would still have the same MAC address that it did at your house.

To review, let's take a look at what happened to get this video to play through your monitor and speakers. When I finished making this video and told it to upload to YouTube, the sequence of electrical charges that composed my video were sent from my computer's hard drive through my Ethernet cable to get to my gateway. Then from my gateway, they traveled through the coaxial cable and onto the Tier 3 network in my town, which led them to a Tier 3 data center. From there, they traveled on the Tier 2 network to a Tier 2 data center. From there, they traveled along the Tier 1 network over massive distances to a separate Tier 2 data center closer to Google's server farm, most likely in Lenoir, North Carolina. It then traveled on that Tier 2 network, then to a Tier 3 network, and then to the building where YouTube's servers are located. Then it traveled on to a server, where it's stored on a hard drive, just like the one that started in my apartment.

When you clicked on this video, your computer sent a request along that same path I just described. The request landed at the server, and then the server sent the electrical charges composing my video back along the network and into your computer's RAM, where it could be played.

The last thing to talk about is the term known as the cloud. All this really refers to is a system where your data, and sometimes even your computer processes, are run not on your device but on a server somewhere. Every time you save data to your device, a backup of that same data is sent to a server somewhere dedicated to your name. This means even if you lose your phone or your drive dies, you can retrieve all of your data from that server. It's called a cloud because it's essentially meant to provide the illusion that there is a cloud in the sky above your head with all your data. When really, as I just explained, the cloud itself isn't where your data is stored. It's just how your data gets to you, that is to say, through Wi-Fi signals or cell phone signals. I really don't care for this term because I consider it misleading and somewhat unhelpful. It's another example of something that's not all that new. It's just that it's gotten a lot more efficient and faster because technology has improved. The same exact concept used to be called hosting. The things that have changed are just the specifics: how much you can store, how frequently you can store, how much all of that costs, and how reliable it is to access that data. All this has really just changed as technology has improved, but the concept is almost as old as the internet itself.

So I think I'm going to conclude this video here. There are a lot of other things that could go into it, such as web browsers, search engines, or even the dark web. I would also like to give a huge thanks to everyone of you who has subscribed. I recently hit 25,000 subscribers, which is far more than I ever expected this channel to reach, especially in only a single year. I look forward to making more and more content for this channel and seeing where it goes from here. So have a great day, guys, and I'll see you next time.