What is a network protocol?
A network protocol defines the format and order of messages exchanged between network entities and specifies which actions are taken when messages are sent or received.
What is unicast communication?
Unicast is point-to-point communication: one sender communicates with one receiver.
What is multicast communication?
Multicast is point-to-multipoint communication: one sender transmits to a defined group of receivers.
What is broadcast communication?
Broadcast is point-to-multipoint communication in which one sender transmits to many or all receivers, often without knowing each receiver individually.
What is simplex communication?
In simplex communication, data flows in only one direction.
What is half-duplex communication?
In half-duplex communication, both sides can send, but not at the same time.
What is full-duplex communication?
In full-duplex communication, both sides can send simultaneously.
Why are communication systems organized in layers?
They are organized in layers because networks are complex, and layering structures the many communication tasks by function and lets each layer provide services to the layer above it.
What does layer transparency mean?
Layer transparency means that the Protocol Data Unit of layer N+1 is treated as payload by layer N; the lower layer does not interpret the higher-layer content.
What is the relationship between an (N+1)-PDU and an N-SDU?
The (N+1)-PDU becomes the N-SDU, meaning the higher-layer protocol data unit is passed as service data to the next lower layer.
Name the seven layers of the OSI model in order.
Physical, Data Link, Network, Transport, Session, Presentation, Application.
Which OSI layers are transport-oriented?
Layers 1 to 4 are transport-oriented because they focus on end-to-end transfer of data without considering application semantics.
Which OSI layers are application-oriented?
Layers 5 to 7 are application-oriented because they deal with semantics, structuring, presentation, and application cooperation.
What is the task of the physical layer?
The physical layer provides an unreliable connection for transmitting unstructured bit sequences over the physical medium and standardizes the physical interface.
What is the task of the data link layer?
The data link layer provides reliable transfer between two hosts by framing bit streams and handling errors with mechanisms such as acknowledgements, time/sequence monitoring, retransmission, or reset.
What is the task of the network layer?
The network layer connects different links and LANs into an internetwork and handles routing, and possibly congestion control.
What is the task of the transport layer?
The transport layer handles end-to-end data transfer between applications or users in end systems and provides transparency with respect to the underlying transfer technology.
How does the Internet reference model differ from the OSI model?
In the Internet model, OSI layers 5 and 6 are merged into the application layer, and OSI layers 1 and 2 are combined into the link/data link layer.
Name the layers of the Internet protocol stack.
Application, Transport, Network, Link, and Physical.
Give examples of protocols for the application, transport, network, and link layers.
Application: HTTP(S), DNS, SSH. Transport: TCP, UDP. Network: IPv4/IPv6. Link: Ethernet, IEEE 802.11.
Why is there no dedicated security layer in layered architectures?
Because security is not explicitly built into the layered architecture as its own separate layer; instead, security mechanisms are added across different layers or protocols.
What does an IP address identify?
An IP address identifies an interface, not a host or router as a whole.
Why can a router have multiple IP addresses?
Because a router typically has multiple interfaces, and IP addresses are associated with interfaces.
What are the two main parts of an IP address?
The higher-order bits form the network part, and the lower-order bits form the host part.