3.2b: Protocols & Layers
A protocol is a set of rules that allow devices on a network to communicate with each other.
TCP / IP
(Transmission Control Protocol / Internet Protocol)
TCP / IP is actually two separate protocols that combine together.
TCP is a protocol that allows packets to be sent and received between computer systems.
It breaks the data into packets and reassembles them back into the original data at the destination.
IP is a protocol in charge of routing and addressing data packets. This ensures data packets are sent across networks to the correct destination.
It is also an addressing system - every device on a network is given a unique IP address so data packets can be sent to the correct computer system.
HTTP is used to transfer web pages over the Internet so that users can view them in a web browser.
All URLs start with either HTTP or HTTPS
HTTPS is a more secure version of HTTP that works with another protocol called SSL (Secure Sockets Layer) to transfer encrypted data.
You should see a padlock symbol in the URL bar if your connection to that website is secure.
(Hypertext Transfer Protocol)
FTP (File Transfer Protocol) is used to transfer files across a network. It is commonly used to upload or download files to/from a web server.
SMTP (Simple Mail Transfer Protocol) is a protocol used to send emails to a mail server and between mail servers.
POP (Post Office Protocol) and IMAP (Internet Message Access Protocol) are both protocols for receiving and storing emails from a mail server.
POP will delete an email once it has been downloaded to a device.
IMAP syncs the message with an email server so it can be accessed by different devices.
IP vs MAC Address
There are two versions of IP addressing currently used - IPv4 and IPv6.
IPv4 uses a 32-bit address that allows for over 4 billion unique addresses.
IPv4 uses a numeric dot-decimal notation like this: 184.108.40.206
4 billion unique addresses may sound like a lot but there are nearly 8 billion people in the world. Therefore a newer version - IPv6 - was developed with a 128-bit address, represented in hexadecimal that allows for a mind-boggling number of unique addresses.
A MAC address is a unique hexadecimal number assigned to each network interface card inside a networked device e.g. a router or a laptop.
While an IP address may change, the MAC address can’t be changed.
Networking standards are rules that allow computer systems to communicate across networks. Standards have been created to ensure devices can exchange data and work together.
4-Layer TCP/IP Model
The TCP/IP model is split into 4 layers. The model is used to visualise the different parts of a network as each of the four layers has a specific role.
Splitting a network design into layers is beneficial to programmers as it simplifies design, making it easier to modify and use.
Each layer has a certain purpose and is associated with different protocols.
The four layers are explained below:
Allows humans and software applications to use the network e.g. browsers (HTTP/HTTPS) and email (SMTP) and file transfer (FTP).
TCP breaks the data down into data packets. This layer makes sure the data is sent and received in the correct order and reassembled at the destination without errors.
IP is responsible for addressing and routing data packets. The optimal route for the data to take is calculated in this layer.
Also known as the 'Internet Layer'.
Ethernet sets out the format of data packets. This layer handles transmission errors and passes data to the physical layer.
3.2b - Protocols & Layers:
1. Describe each of the following protocols. It might be helpful to also draw an icon or small diagram for each one:
a. TCP 
b. IP 
c. HTTP & HTTPS 
d. FTP 
e. SMTP 
f. POP3 & IMAP 
2. State which protocol would be used in the following scenarios:
a. Transferring a music file to a friend over the internet. 
b. Sending an email to a family member in America. 
c. Using a webpage to enter a password securely. 
d. Receiving an email from a bank. 
3a. What are networking standards? 
3b. Describe why network designs are split into layers. 
4. Create a diagram similar to the one above and describe each layer of the TCP/IP Model. 
5. Look at the statements below and name the layer that is being described:
a. This layer ensures data packets are sent and received correctly.
b. This layer checks for errors in transmission and sets out the data packet format.
c. This layer allows software like web browsers to interact with the network.
d. This layer uses addresses to ensure data packets take the correct route.