14.1 Protocols Flashcards
What is a protocol?
A protocol is a set of rules which govern how data is meant to be sent, received, transmitted, and interpreted.
What is a protocol suite?
A collection of protocols which act together
What is the physical/application layer of the TCP/IP Protocol Suite?
The physical layer is concerned with sending data through a physical medium from one device to another. Physical-layer protocols are typically low-level.
Physical/application-layer protocols may be subcategorised into:
Mechanical protocols
Electrical/Optical protocols
Functional protocols
Procedural protocols
Mechanical protocols
Protocols about the size and shape of the connector.
Electrical/Optical protocols
Protocols that determine which voltage levels represent the data values of 0 and 1.
Functional protocols
Protocols which determine what each pin of the connector is responsible for.
Procedural protocols
Protocols which define the sequence of actions that need to take place in order to send data.
For a given network, physical-layer protocols may determine:
Data rate Bit synchronisation Configuration Topology Mode
Data rate
The number of bits to expect in a given amount of time.
Bit synchronisation
A method of ensuring that the sender and receiver are at the same data rate.
Configuration
Whether the links between systems are point-to-point or multipoint connections.
Topology
How the end-systems in a network are connected to one another.
Mode
Whether the connections are simplex (one way), half-duplex (both ways, but not at the same time), or full-duplex (both ways simultaneously).
What is the Data-Link layer of the TCP/IP Protocol Suite?
The data-link layer is responsible for framing data so that it is ready to be transmitted in the physical layer. The data-link layer adds both a header and a trailer to the data coming from the network layer.
Frame header
The frame header consists of the physical addresses of the source and destination devices. These physical addresses are usually Media Access Control (MAC) addresses, which uniquely identify a Network Interface Card (NIC) that is used to connect a device to the network
Frame trailer
The frame trailer may contain an error control mechanism, such as parity checking.
What happens when data is being transmitted across the network?
frames are used to bring data from one system to the next. This is known as hop-by-hop forwarding.
hop-by-hop forwarding
When data is sent through many intermediate systems, each intermediate system receives a frame, removes the original frame header and trailer, frames the data with a new header and trailer for the next hop, and forwards it to the next system.
What are the four layers of the TCP?
Physical/Application layer
Data-Link layer
Network layer
Transport layer