A computer network is similar to the U.S. highway and interstate system. It is an interconnected set of information highways and superhighways that allows for the transport of parcels of information. These highways are the basis for the entire internet, they are the “backbone” of the internet.
To best understand how a computer network works we will use an example.
How Do Computers Communicate?
Imagine you live in Georgia, and you are sending a letter to your friend in California. That letter has to go through a series of steps to get from your house to your friend’s house. A brief example would be go like this:
- You write the letter
- You put the letter in your mailbox
- The mail person pick up your letter
- The letter is transferred to your local post office
- The letter is forwarded to a regional distribution hub in Georgia
- The letter is transported to a regional distribution hub in California
- The letter is transported to your friend’s local post office
- The mail person runs and puts the letter in your friend’s mailbox
- Your friend receives and reads the letter
This is exactly how a computer network works, and leads me to my next point. All computers have an address. An IP Address.
An Internet Protocol (IP) address is like your mailing address. It is how the mail person tells your house from your neighbor’s to deliver your mail accurately and reliably.
There are two types of IP addresses (most of the details of which are beyond the scope of this article) IP Version 4 (IPv4) and IP Version 6 (IPv6). I will give a brief overview of IPv4 and save IPv6 for a later article.
Okay, I kinda get it..
An IPv4 address has 4 parts separated by periods. An example would be ‘192.168.0.1’ (without the quotes). Now, this address tells computers where to send information. Every computer has one. Following our mail example, say you are sending and email to your friend in California. Your email will be forwarded to a router, which acts as your local post office. The router is typically a book sized box (Usually labeled ‘Comcast’, ‘Xfinity’, ‘AT&T’, ‘Netgear’ or something similar) connected to the wall by a cable. The router then forwards your email to a datacenter (which acts as the regional distribution center from the example above). The routers in the datacenter forward the email to other datacenters until the email arrived at your friend’s IP address.
Now you know how a network works, you need to learn the basic types of networks. There are two very basic network types:
- Local Area Network (LAN)
- Wide Area Network (WAN)
A LAN is a small internal network similar to a city block. A WAN is a large broad network composed of many LANs akin to city blocks in a state (e.g. California). The internet is considered a WAN.
So far we have covered what a network is, how computers communicate, and the types of networks. Now I am going to wrap up this post by typing it all together with one last example.
Walking through step-by-step, we will use the example of accessing this blog from you computer browser.
- You open your preferred web browser
- You type in techtalksbynoah.com
- Your computer sends a request to your router on your Local Area Network
- Your router looks at the request and notes that you want to go to techtalksbynoah.com
- Your router forwards the request to a datacenter
- The data center router looks at the request and says techtalksbynoah.com has a server address of 192.168.x.x (this is not my real server IP just a made-up number for example’s sake)
- The datacenter router then figures out the most efficient path through the internet (a WAN) to get to 192.168.x.x (a.k.a. techtalksbynoah.com)
- The datacenter router then sends your computer’s request along the path it just determined
- Your computer’s request arrives at my servers IP address (my server’s ‘home address’)
- My server replies to your computers request for my website’s homepage
- My server sends it’s reply the same way that your computer sent it’s request (through the datacenter router) in reverse
- My website appears in your browser for you to learn wonderful things about tech 🙂
The amazing thing is that all of these steps happen in just a matter of seconds. Technology is a marvelous thing isn’t it?
Stay tuned for more great content!
1 thought on “What Is a Computer Network?”