Protocols Flashcards
What do protocols do?
determine the way of operation and define the procedure and rules that are governing
What is a network protocol?
a predefined set of messaging rules and message structures that the communicating entities in a computer network must follow
What is a protocol layer?
A group of related functions that are performed in a given level of a hierarchy of groups of related functions
What is protocol layering?
The division of complex network protocols into simple network protocols
How do protocols in different levels make use of each other?
Protocols in higher levels make use of protocols in lower levels
What is a layered protocol stack?
A set of horizontal protocols together with the interactions between the different layers
What is a vertical/monolithic protocol design? What does it avoid? When is it preferable?
An alternative protocol design that does not use protocol layering, and a single protocol instead governs everything
Overhead created by layering
Where resource management and optimisation are the main concerns
What are the two most widely-known network protocol stacks?
Internet TCP/IP Model
Open Systems Interconnection (OSI) Reference Model
How many layers does the Internet Model consist of? What are these layers ordered from highest to lowest?
Five Layers:
Application, Transport, Network, Link, Physical
What does the Application Layer of the Internet Model do? What does it ensure if all applications have the same underlying protocol?
Provides message formats and a well-defined interface to applications/software running on end devices
That they all communicate to web servers using the same rules and message formats
What are the packets of the Application Layer called? What are they? For example?
Messages
Structured data units exchanged between application programs across a network
HTTP Request Message:”Browser asks the server: ‘Please send me the homepage (index.html).
‘“HTTP Response Message:”Server replies to the browser: ‘Here is the homepage content.’”
SMTP Email Sending Message:”Email client says to the mail server: ‘I want to send an email from alice@example.com to bob@example.com.’
“SMTP Email Received Message:”Mail server says to the email client: ‘You have a new email from alice@example.com.’
FTP File Download Request:”User says to the FTP server: ‘I want to download the file report.pdf.’
“FTP File Download Response:”FTP server replies: ‘Here is the file report.pdf.’
DNS Query Message:”User’s computer asks the DNS server: ‘What is the IP address of www.example.com?’
“DNS Response Message:”DNS server replies: ‘The IP address of www.example.com is 192.0.2.1.’”
What is the Transport Layer responsible for? What does it keep track of and what does it do with it?
Responsible for the transport of application layer messages between remote processes
Keeps track application data from several processes and packages it in transport layer packets
What are the processes between which the transport layer ensures the transport of messages?
Programs or applications running on computers that communicate over a network
What are Transport Layer packets called? Crucially, what do these include?
Segments
Labelling
What are further responsibilities of the Transport Layer?
Reliable Data Transfer
Flow Control
Congestion control
What is flow control?
Matching the speed between the sender and the receiver