This just in from the 'Rod For Your Own Back' department
- 2 minutes read - 400 wordsFollowing on from a previous post in which I banged on at some length about how useless questions about the ISO 7-layer model are, I went for an interview where that was the first question. That’ll teach me (or perhaps not).
As such, I decided I’d explain somewhat. You may find the Wikipedia article on the OSI model helpful. A crucial point to remember is that the OSI model is key to the whole Open Systems Interconnection effort, which was a way to standardise communication between computers. A good way to judge the success of that effort is that you are reading this using TCP/IP, which owes nothing at all to the OSI.
When I was studying for my first MCSE, under Ian Cunningham, I was taught a somewhat simpler model, having three layers. This is based on TCP/IP, and thus corresponds more to what we do in the real world. (I’m doing this from memory of around 14 years ago, so I apologise for any mistakes in advance).
The lowest layer is the Physical layer. This is the cable you plug in, or more likely these days, the basic wi-fi connection from your computer to the access point. That allows signals to move between computers, and without that, you haven’t really got a network at all.
The middle layer is the Protocol layer. These days, the protocol layer is always TCP/IP. Now, TCP/IP is in fact two layers, but for the purposes of this explanation that doesn’t really matter. TCP/IP defines network addresses on the Internet, usually one per connected device. The machine you’re using now, whether it’s a laptop or a smartphone, has an IP address, and that’s how it talks to the Internet, and to this blog server.
The top layer is the Application layer. That defines what you’re saying to the machine on the other end of the connection. HTTP is an application, and it’s the way that computers send web pages back and forth. SMTP is another application, used for sending emails. And so on.
That’s basically it. Obviously the whole process of how a web page gets to your computer is a little more complicated. However, this is a basic description of how your computer (or smartphone, or tablet, or…) connects to the Internet and gets information. I hope that helped.
Meanwhile, I’m off to learn those damn layers (may not be 100% true).