Tracing a packet from keyboard to the reader’s display screen
A person types in an open format. In this case- someone is sending an email to their friend. They seek out an online site on google.com. The computer, at layer 7, sticks an HTTP- a HyperText Transfer Protocol- tag on the request. This is like sticking a travel stamp on a passport.
The Presentation layer takes place inside the computer. The Request is formatted and then encrypted with TLS- Transport Layer Security Protocol. The TLS protocol uses a handshake, and certificates and keys to encrypt all the information so that it remains private between the sender and receiver.
The Session Layer manages opening and closing of ports and sockets, both within the single computer and between two computers. These are the stevedores of the computer interaction stack. They manage how much information gets transmitted. They shut down and disconnect sessions.
The Transport Layer segments the data. One million pounds of coal can be shipped from the mine to the city. It goes in multiple train cars, not in one large heap on one large coal car. In the same way, information gets segmented. Each segment has a TCP- Transmission Control Protocol- header. The header is like the top segment of a business letter. It has the same information, more or less. There is an address for the sender, and a name and address for the receiver. There’s other information, but that is the best analogy.
The Network Layer is the post office layer. It is where the network provider tags the information with IP- Internet Protocol- addresses. This is the information the router uses to send the information onward on the network to the next router. Routers are more public. Routers find switches, and switches are the private space. Routers move packets of information.
The Data Link Layer has a tag on the information, too. This is the tag that is based on the individual computer’s MAC- Medium Access Control- number. The MAC number is burned on to the computer’s NIC- Network Interface Card- that connects the computer to the internet.
The Physical Layer- this is the layer of wires and connectors, metal spun fine as thread, and sand spun into glass, to make ropes that wrap around our entire world.