{"id":28,"date":"2024-11-25T17:02:42","date_gmt":"2024-11-25T14:02:42","guid":{"rendered":"https:\/\/blogs.e-me-4all.eu\/GiorgosNic\/?p=28"},"modified":"2024-11-25T18:09:58","modified_gmt":"2024-11-25T15:09:58","slug":"networking-basics","status":"publish","type":"post","link":"https:\/\/blogs.e-me-4all.eu\/GiorgosNic\/2024\/11\/25\/networking-basics\/","title":{"rendered":"Networking Basics"},"content":{"rendered":"<p id=\"0f01\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">Welcome back! Previously, we went through some of the basics of an operating system. In this article, we will be covering Networking Basics. Oh yes, let\u2019s jump right in!<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw mx\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:496\/0*g7rqzQCKsDkU0JnK.png\" alt=\"\" width=\"372\" height=\"372\" \/><\/div>\n<\/figure>\n<h1 id=\"6590\" class=\"nf ng fq bf nh ni nj nk nl nm nn no np nq nr ns nt nu nv nw nx ny nz oa ob oc bk\" data-selectable-paragraph=\"\">Introduction<\/h1>\n<p id=\"7c5e\" class=\"pw-post-body-paragraph lx ly fq lz b ma od mc md me oe mg mh mi of mk ml mm og mo mp mq oh ms mt mu fj bk\" data-selectable-paragraph=\"\">When most people think of the Internet, they think of a magical cloud that lets you access your favorite websites, shop online, and your seemingly endless stream of movies and web series. But in reality, there isn\u2019t any magic involved. There\u2019s no mysterious entity that grants us an online resource. The Internet is just an interconnection of computers around the world, like a giant spider web that brings all of us together. We call the interconnection of computers, a network.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw oi\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:551\/0*eI9ERi1BcmmQR85n.jpg\" alt=\"\" width=\"413\" height=\"361\" \/><\/div>\n<\/figure>\n<p id=\"0e8c\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">Computers in a network can talk to each other and send data to one another. You can create a simple network with just two computers. In fact, you might already have your own network at home connecting all of your home devices. Let\u2019s think on a bigger scale. What about the computers at your school or workplace? Are they in a network? They sure are. All of the computers there are linked together in a network. Can we link your home, school and workplace networks together? We absolutely can. Your workplace connects to a bigger network, and that network connects to an even bigger network, and on and on. Eventually, you\u2019ve got billions of computers that are interconnected, making up what we call the Internet.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw oj\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:465\/0*PSArE4-ogk_1Q560.jpg\" alt=\"\" width=\"349\" height=\"349\" \/><\/div>\n<\/figure>\n<p id=\"e6f9\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">You, like most people, probably access the Internet through a browser, like Mozilla Firefox, Google Chrome, Microsoft Edge, or something else. This is done through the World Wide Web. But don\u2019t make the mistake of thinking the Internet is the World Wide Web. The Internet is the physical connection between computers and wires around the world. The Web is the information on the Internet. We use it to access the Internet through a link like\u00a0<a class=\"af ok\" href=\"http:\/\/www.google.com.\/\" target=\"_blank\" rel=\"noopener ugc nofollow\">www.google.com.<\/a>\u00a0The World Wide Web isn\u2019t the only way we can access the Internet. Your e-mail, chat, and file-sharing programs are also ways you can access the Internet.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw ol\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:391\/0*V1WieNfd8gVh0Jl-.png\" alt=\"\" width=\"293\" height=\"204\" \/><\/div>\n<\/figure>\n<p id=\"66e1\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">The Internet is composed of a massive network of satellites, cellular networks, and physical cables buried beneath the ground. We don\u2019t actually connect to the Internet directly. Instead, computers called servers connect directly to the Internet. Servers store the websites that we use, like Wikipedia, Google, Reddit, and BBC. These websites serve content. The machines that we use, like our mobile phones, laptops, video game, consoles and more, are called clients. Clients request the content, like pictures, websites, from the servers.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw om\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:573\/0*seONTROcou0D-P8a.jpg\" alt=\"\" width=\"430\" height=\"303\" \/><\/div>\n<\/figure>\n<p id=\"3988\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">Clients don\u2019t connect directly to the Internet. Instead, they connect to a network run by an Internet service provider or ISP, like Hathway, ACT, and so on. ISPs have already built networks and run all the necessary physical cabling that connects millions of computers together in one network. They also connect to other networks and other ISPs. These other networks connect to the networks of Google, Reddit, and universities. Basically, all the other networks in the world, together, they form one giant network of computers called the Internet.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw on\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:564\/0*NCJIcJ7zE27WYhx6.jpg\" alt=\"\" width=\"423\" height=\"272\" \/><\/div>\n<\/figure>\n<p id=\"ca30\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">But how do the clients know how to get to servers? Well, how would you send a letter to someone? You\u2019d put your address on the letter and send it to the address of the person, you\u2019re sending the letter to. Computers have addresses just like houses. Computers on a network have an identifier called an IP address.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw oo\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:747\/0*lJ8bzE6teLrvolOx.JPG\" alt=\"\" width=\"560\" height=\"160\" \/><\/div>\n<\/figure>\n<p id=\"631a\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">An IP address is composed of digits and numbers like 100.1.4.3. When we want to access a website like\u00a0<a class=\"af ok\" href=\"http:\/\/www.blogspot.com,\/\" target=\"_blank\" rel=\"noopener ugc nofollow\">www.blogspot.com,<\/a>\u00a0we\u2019re actually going to their IP address like 172.217.6.46. Devices that can connect to a network have another unique identifier called a MAC address. MAC addresses are generally permanent and hard-coded onto a device. When you send or receive data through a network, you need to have both an IP and a MAC address.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw op\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:621\/0*-I56x4PvvhCjRGAr.jpg\" alt=\"\" width=\"466\" height=\"233\" \/><\/div>\n<\/figure>\n<p id=\"551d\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">One thing to call out is that data that is sent through a network is sent through packets. There are little bits of data, and you guessed it, ones and zeros. It doesn\u2019t matter if they are pictures, email, music, or text. When we move data through the network, we break them down into packets. When a packet gets to its destination, it will rearrange itself back in order.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw oq\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:691\/0*X76AL7zNXieQ3NFl.png\" alt=\"\" width=\"518\" height=\"259\" \/><\/div>\n<\/figure>\n<h1 id=\"0de5\" class=\"nf ng fq bf nh ni nj nk nl nm nn no np nq nr ns nt nu nv nw nx ny nz oa ob oc bk\" data-selectable-paragraph=\"\">Networking Hardware<\/h1>\n<p id=\"e2fe\" class=\"pw-post-body-paragraph lx ly fq lz b ma od mc md me oe mg mh mi of mk ml mm og mo mp mq oh ms mt mu fj bk\" data-selectable-paragraph=\"\">Now that we understand what networks are, let\u2019s talk about how they\u2019re connected. There are a lot of ways you can connect computers to a network. We\u2019ll only cover a few of the major ones here. First, there is an Ethernet cable, which lets you physically connect to the network through a cable. On the back of the desktop, there\u2019s a network port that you plug your Ethernet cable into.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw or\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:648\/0*0ZGzUk4e3SwhGEik.jpg\" alt=\"\" width=\"486\" height=\"267\" \/><\/div>\n<\/figure>\n<p id=\"2d7c\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">Another way to connect to a network is through Wi-Fi, which is wireless networking. Most modern computing systems have wireless capabilities like mobile phones, smart televisions, and laptops. We connect to wireless networks through radios and antennas.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw os\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:607\/0*l0z3gejwWw538Ghl.jpg\" alt=\"\" width=\"455\" height=\"246\" \/><\/div>\n<\/figure>\n<p id=\"c18f\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">The last method will go over uses fiber optic cables to connect to a network. This is the most expensive method since fiber optic cables allow greater speeds than all the other methods. Fiber optic gets its name, because the cables contain glass fibers that move data through\u00a0<strong class=\"lz ot\">light<\/strong>\u00a0instead of electricity. This means that we send ones and zeros through a beam of light instead of an electrical current, through a copper wire. How cool is that?<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw ou\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:543\/0*AU-UEgWE4_4iXvwt.jpg\" alt=\"\" width=\"407\" height=\"255\" \/><\/div>\n<\/figure>\n<p id=\"6e08\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">But our cables have to connect to something. We don\u2019t just have millions of cables going in and out of computers to connect them together, instead, computers connect to a few different devices that help organize our network together. The first device that your computer connects to is a router. A router connects lots of different devices together and helps route network traffic. Let\u2019s say we have four computers, A, B, C, and D, connected together through a router in the same network. You want to send a file from Computer A to Computer B. Our packets go through the router and the router utilizes network protocols, to help determine where to send the packet. We\u2019ll cover network protocols soon. For now, just know that our router uses a set of rules to figure out where to send our data.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw ov\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:729\/0*JDeU1X7zdFnTB7O0.JPG\" alt=\"\" width=\"547\" height=\"229\" \/><\/div>\n<\/figure>\n<p id=\"3fd1\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">So, now our packet gets routed from Computer A to Computer B. What if you wanted to send a packet to a computer, not in our network? What if we wanted to send a packet to our friend Rahul\u2019s computer. Rahul is on a different network altogether. Fortunately, our router knows how to handle that too. The packet will get routed outsider network to our ISP\u2019s network. Using networking protocols, it\u2019s able to figure out where Rahul\u2019s computer is. During this process, our packet is traveling across many different routers switches, and hubs.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw ow\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:657\/0*hGXrJ-bn4NPBo5qK.png\" alt=\"\" width=\"493\" height=\"257\" \/><\/div>\n<\/figure>\n<p id=\"5e25\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\"><strong class=\"lz ot\">A hub<\/strong>\u00a0is the least expensive, least intelligent, and least complicated of the three. Its job is very simple:\u00a0<mark class=\"zm zn ao\">anything that comes in one port is sent out to the others. That\u2019s it.<\/mark><\/p>\n<p id=\"a88d\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\"><strong class=\"lz ot\">A switch<\/strong>\u00a0does what a hub does, but more efficiently. By paying attention to the traffic that comes across it, it learns which computers are connected to which port. We will go deeper into it in another blog, as far as the basics are concerned, these are more than enough!<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw ox\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:445\/0*qRPSt7MHwa9QYUgo.png\" alt=\"\" width=\"334\" height=\"148\" \/><\/div><figcaption class=\"oy oz pa mv mw pb pc bf b bg z dx\" data-selectable-paragraph=\"\"><em class=\"pd\">Network Stack<\/em><\/figcaption><\/figure>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"pf pg ed ph bh pi\" role=\"button\">\n<div class=\"mv mw pe\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:277\/0*Pzpelu3X5H85b3Du.png\" alt=\"\" width=\"208\" height=\"242\" \/><\/div>\n<\/div><figcaption class=\"oy oz pa mv mw pb pc bf b bg z dx\" data-selectable-paragraph=\"\"><em class=\"pd\">Protocol Stack<\/em><\/figcaption><\/figure>\n<p id=\"9828\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">If you really take networking too far, for instance, as your profession, It\u2019s likely that one day you\u2019ll have users reporting problems accessing the Internet. In such a situation you might want to investigate your way up the network stack. A network stack is just a set of hardware or software that provides the infrastructure for a computer. Similarly, we also have the protocol stack, which we will discuss in the upcoming blogs. So, the network stack is all the components that makeup computer networking. You might need to investigate the networks stack, You\u2019d start with making sure the end-user computers are working properly. Then you\u2019d turn your attention to other possible points of failure like the cabling, switches, and routers, that work together to access the Internet. We\u2019ll dive a little deeper into the different networking devices in the upcoming blogs.<\/p>\n<h1 id=\"d439\" class=\"nf ng fq bf nh ni nj nk nl nm nn no np nq nr ns nt nu nv nw nx ny nz oa ob oc bk\" data-selectable-paragraph=\"\">Language of the Internet<\/h1>\n<p id=\"e55e\" class=\"pw-post-body-paragraph lx ly fq lz b ma od mc md me oe mg mh mi of mk ml mm og mo mp mq oh ms mt mu fj bk\" data-selectable-paragraph=\"\">We talked briefly about the networking protocols our devices use to help our packets get from one destination to another destination, but what are they There are lots and lots of network protocols used and they\u2019re all necessary to help us get our packets in the right place. Think of network protocols as a set of rules for how we transfer data in a network. There are rules that make sure our packets are routed efficiently, aren\u2019t corrupted, are secure, go to the right machine, and are named appropriately. You get the idea. We\u2019ll cover specific network protocols later on, but there are two protocols that you need to know.\u00a0<strong class=\"lz ot\">The Transmission Control Protocol and the Internet Protocol, or TCP\/IP for short<\/strong>, which have become the predominant protocols of the Internet.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw pj\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:723\/0*0cCiHnawLzgz1YBX.JPG\" alt=\"\" width=\"542\" height=\"188\" \/><\/div>\n<\/figure>\n<p id=\"ba89\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">The Internet Protocol or IP, is responsible for delivering our packets to the right computers. Remember those addresses that computers use to find something on a network? They\u2019re called IP addresses or Internet protocol addresses.\u00a0<strong class=\"lz ot\">The Internet Protocol helps us route information.<\/strong><\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw pk\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:756\/0*MDO9d3-79A1WxvPF.JPG\" alt=\"\" width=\"567\" height=\"113\" \/><\/div>\n<\/figure>\n<p id=\"9631\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\"><strong class=\"lz ot\">The Transmission Control Protocol or TCP, is a protocol that handles reliable delivery of information from one network to another.\u00a0<\/strong>This protocol was an important part of the creation of the internet since it let us share information with other computers. We\u2019ll spend a lot of time diving into these protocols in our upcoming blogs, for now, this is all you need to know.<\/p>\n<h1 id=\"3784\" class=\"nf ng fq bf nh ni nj nk nl nm nn no np nq nr ns nt nu nv nw nx ny nz oa ob oc bk\" data-selectable-paragraph=\"\">The Web<\/h1>\n<p id=\"81a4\" class=\"pw-post-body-paragraph lx ly fq lz b ma od mc md me oe mg mh mi of mk ml mm og mo mp mq oh ms mt mu fj bk\" data-selectable-paragraph=\"\">There are lots of different ways to use the Internet, we all know that. But I want to cover one of the most prevalent ways that people access the Internet, and that\u2019s through the Web. All websites can be accessed through the Web. Websites are basically text documents that we format with HTML, or hypertext markup language. It\u2019s a language used to design the structure of the websites. Web pages are generally made up of very basic components. They contain multimedia content like text, images, audio, and video. When you want to navigate to a website, you would type in a URL like\u00a0<a class=\"af ok\" href=\"http:\/\/www.google.com.\/\" target=\"_blank\" rel=\"noopener ugc nofollow\">www.google.com.<\/a><\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw pl\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:613\/0*2uf0kIjyRodhLfib.png\" alt=\"\" width=\"460\" height=\"158\" \/><\/div>\n<\/figure>\n<p id=\"bb2d\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">A URL, which stands for\u00a0<strong class=\"lz ot\">Uniform Resource Locator<\/strong>, is just a web address similar to a home address. Notice the www in the URL? It stands for World Wide Web. The second portion, google.com, is something we call a domain name. Anyone can register a domain name. It\u2019s just our website name. Once a name is taken, it\u2019ll be registered to\u00a0<strong class=\"lz ot\">ICANN<\/strong>, the\u00a0<strong class=\"lz ot\">Internet Corporation for Assigned Names and Numbers<\/strong>. Once a domain name is registered with ICANN, no one else can take that name unless it becomes available again. The last part of the URL in this case is .com. But you can also use different domain endings like google.net or google.org. The different domain name endings are standards for what type of website it might be. So a domain that ends in .edu is mainly used for educational institutions.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw pm\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:467\/0*DTC7hSa-Cc29DX5p.png\" alt=\"\" width=\"350\" height=\"175\" \/><\/div>\n<\/figure>\n<p id=\"55eb\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\"><strong class=\"lz ot\">DNS (Domain Name System)<\/strong>\u00a0acts like our Internet\u2019s directory and lets us use human-readable words to map to an IP address. The computer doesn\u2019t know what google.com is. It only knows how to get to an IP address. With DNS, it\u2019s able to map Google\u2019s IP address with google.com. Every time you go on a website, your computer is performing a DNS lookup to find the IP address of the website name you typed in.<\/p>\n<h1 id=\"7324\" class=\"nf ng fq bf nh ni nj nk nl nm nn no np nq nr ns nt nu nv nw nx ny nz oa ob oc bk\" data-selectable-paragraph=\"\">History of the Internet<\/h1>\n<p id=\"18de\" class=\"pw-post-body-paragraph lx ly fq lz b ma od mc md me oe mg mh mi of mk ml mm og mo mp mq oh ms mt mu fj bk\" data-selectable-paragraph=\"\">The Internet has become an essential part of our lives. Our bank accounts, entertainment, news, and education are all on the Internet. It\u2019s important to learn the reason behind it since some of the original designs of the Internet have reached their limitations. Let\u2019s go back in time to the 1950s where it all started. Back then computers were huge and bulky. If you were a programmer, you needed to directly interact with these massive computers. That would get real old real fast, especially if you had several people who wanted to use the only computing resource available.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw pn\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:531\/0*HkKrz7pf6c69ypXX.jpg\" alt=\"\" width=\"398\" height=\"320\" \/><\/div>\n<\/figure>\n<p id=\"0ab1\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">In the late\u00a0<strong class=\"lz ot\">1960<\/strong>s, the US government spun up a project called\u00a0<strong class=\"lz ot\">DARPA<\/strong>. It went on to create the earliest version of the Internet that we see today with the\u00a0<strong class=\"lz ot\">ARPANET<\/strong>. Eventually, computer programmers were able to share a single computing resource by being able to remotely access the computer. But there was still a big problem. Networks couldn\u2019t talk to each other. It wasn\u2019t until the\u00a0<strong class=\"lz ot\">1970s<\/strong>\u00a0that we had a critical breakthrough in computer networking that fixed this problem. It was thanks to computer scientists\u00a0<strong class=\"lz ot\">Vinton Cerf and Bob Kahn<\/strong>, who created the method we call the\u00a0<strong class=\"lz ot\">Transmission Control Protocol and the Internet Protocol, or TCP\/IP.\u00a0<\/strong>First, only a handful of computer universities, governments, and businesses could adopt TCP\/IP, then hundreds. And then, in the span of 50 years, billions of computers. TCP\/IP is the protocol we use on the Internet today. Finally, people around the world could send data to one another, but there was still a problem. The information they sent was just text. It wasn\u2019t centralized and it was pretty ugly.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw po\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:567\/0*g6Dz4htYyZJtLljr.jpg\" alt=\"\" width=\"425\" height=\"273\" \/><\/div>\n<\/figure>\n<p id=\"68d2\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">Then, in the 1990s, a computer scientist by the name of Tim Berners-Lee invented the World Wide Web. It utilized different protocols for displaying information in webpages and became the predominant way of communication in accessing the Internet. Anyone who had an Internet connection at that time was able to access the information source of the World Wide Web. It\u2019s been 30 years since the creation of the World Wide Web. We\u2019ve gone from sending simple email messages and viewing basic webpages to having video chats and instant news updates, Order food, buy books, and even cars in a matter of seconds.<\/p>\n<h1 id=\"2bd3\" class=\"nf ng fq bf nh ni nj nk nl nm nn no np nq nr ns nt nu nv nw nx ny nz oa ob oc bk\" data-selectable-paragraph=\"\">IPV4, IPV6, and NAT<\/h1>\n<p id=\"3d8f\" class=\"pw-post-body-paragraph lx ly fq lz b ma od mc md me oe mg mh mi of mk ml mm og mo mp mq oh ms mt mu fj bk\" data-selectable-paragraph=\"\">So far we have come across IP addresses but we haven\u2019t actually gone into detail about them. They are actually different versions of IP addresses. The current Protocol, Internet Protocol version four or IPv4 is an address that consists of 32 bits separated into four groups. Even though it might seem like a lot of possible IPv4 addresses, there are less than 4.3 billion IPv4 addresses. There are way more than 4.3 billion websites out on the web today. Some IPv4 addresses are even reserved for special purposes. So, the number of usable IP addresses is even less. A device that wants to connect to the internet, needs to have an IP address but devices around the world have already exceeded those numbers. So, where have we been getting IP addresses? T hanks to IPv6 or Internet Protocol version six addresses. IPv6 addresses consist of a 128 bits, four times the amount that IPv4 uses. With IPv6 there are 2 to the 128 power possible IP addresses, It is a crazy large number. Just know that we will not be running out of IPv6 addresses anytime soon.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw pp\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:693\/0*vgYWHz0i6h0s3xWK.jpg\" alt=\"\" width=\"520\" height=\"260\" \/><\/div>\n<\/figure>\n<p id=\"bc84\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">Another mitigation tool that we have been able to use is the\u00a0<strong class=\"lz ot\">NAT or Network Address Translation<\/strong>. This lets organizations use one public IP address and many private IP addresses within the network. Think of NAT as a receptionist at a company. You know what number to dial to get to the company and once you reach the receptionist, she can transfer your call to one of the private numbers inside the company.<\/p>\n<figure class=\"my mz na nb nc nd mv mw paragraph-image\">\n<div class=\"mv mw pq\"><img loading=\"lazy\" decoding=\"async\" class=\"bh lf ne c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:605\/0*6X21S8F43Idsc9er.gif\" alt=\"\" width=\"454\" height=\"261\" \/><\/div>\n<\/figure>\n<p id=\"c32b\" class=\"pw-post-body-paragraph lx ly fq lz b ma mb mc md me mf mg mh mi mj mk ml mm mn mo mp mq mr ms mt mu fj bk\" data-selectable-paragraph=\"\">and with that being said, we have come to an end with the absolute basics of networking, I still want to stress the fact that these are just some of the major basics of networking, so if you are someone who really wants to get into networking, you can probably start with this article and move on with better resources, in fact, networking is a very broad concept and it may take years to master it! However, we will be revisiting networking further at a more intermediate level than this, until then take care \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome back! Previously, we went through some of the basics of an operating system. In this article, we will be covering Networking Basics. Oh yes, let\u2019s jump right in! Introduction When most people think of the Internet, they think of a magical cloud that lets you access your favorite websites, shop online, and your seemingly &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/blogs.e-me-4all.eu\/GiorgosNic\/2024\/11\/25\/networking-basics\/\">Continue reading<\/a><\/p>\n","protected":false},"author":55489,"featured_media":109,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-networks","item-wrap"],"_links":{"self":[{"href":"https:\/\/blogs.e-me-4all.eu\/GiorgosNic\/wp-json\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.e-me-4all.eu\/GiorgosNic\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.e-me-4all.eu\/GiorgosNic\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.e-me-4all.eu\/GiorgosNic\/wp-json\/wp\/v2\/users\/55489"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.e-me-4all.eu\/GiorgosNic\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":0,"href":"https:\/\/blogs.e-me-4all.eu\/GiorgosNic\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.e-me-4all.eu\/GiorgosNic\/wp-json\/wp\/v2\/media\/109"}],"wp:attachment":[{"href":"https:\/\/blogs.e-me-4all.eu\/GiorgosNic\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.e-me-4all.eu\/GiorgosNic\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.e-me-4all.eu\/GiorgosNic\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}