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
What is congestion control?
Keeping the network load below capacity
What is the network layer responsible for? What is a network layer packet called?
End-to-end packet delivery between two devices that are attached to different (sub)networks
Datagram
What is a network layer packet called? What is its payload?
Datagram
Transport layer segments
What are the other functions of the network layer?
Logical Addressing
Routing
Error Handling
Quality of Service Control - capability of networks to provide different priority levels to different types of network traffic, ensuring that certain traffic receives preferential treatment over others
What does a datagram pass through on its route?
Many routers and link between routers
What is the primary responsibility of the data link layer? What are its other responsibilities? What are the two types of links?
Carrying network layer datagrams to the next node (either a router or the destination host) on the end-to-end route
Physical addressing, medium access control (MAC), link flow control, and error handling
Wired, Wireless
What is the set of all devices interconnected via the link layer called?
Network/Subnet
What is the primary responsibility of the physical layer?
The transmission of individual bits from one node to the next