1.5 Protocol Layers and their service models Flashcards
Define protocol stack.
When taken together, the protocols of the various layers are called the protocol stack.
What does the Internet protocol stack consist of?
The internet protocol stack consists of five layers:
- physical
- link
- network
- transport
- application
Application layer.
Is where network apps and their app-layer protocols reside.
An app-layer protocol is distributed over many systems, with the application in one end system using the protocol to exchange packets of information (messages) with the app. in another end system.
Mention app-layer protocols.
- HTTP
- SMTP
- FTP
- DNS
Transport Layer
It transports app-layer msgs between application endpoints.
Transport layer packet: segment.
Transport protocols.
- TCP
- UDP
Link layer
To move the packet from one node (host or router) to the next node in the route, the network layer relies on the services of the link layer. In particular, at each node, the network layer passes the datagram down to the link layer, which delivers the datagram to the next node along the route. At this next one, the link-layer passes the datagram up to the network layer.
Examples: Ethernet, WiFi, DOCSIS
Link-layer packets: frames.
Physical layer
Its role is to move the individual bits from one node to the next.
The OSI model.
1970s: ISO proposed that computer nets. be organized around 7 layers called the Open Systems Communication (OSI) model.
The functionality of 5 of these 7 layers is roughly the same as their similarly named Internet counterparts.
What are the layers of the OSI model?
- application
- presentation
- session
- transport
- network
- data
- physical
Describe the two remaining layers.
- Presentation layer: provides services that allow communicating applications to interpret the meaning of data exchanged.
These services include data compression and encryption, as well as data description. - session layer: provides for delimiting and synchronization of data exchange, including the means to build a checkpointing and recovery scheme.
Encapsulation
At the sending host, an app-layer msg is passed to the transport layer. In the simplest case, the transport layer takes the msg and appends transport - layer header info that will be used by the receiver side transport layer.
App layer msg + transport layer header = transport layer segment.
The transport layer then passes the segment to the net. layer, which adds net.-layer header info. (such as source and destination end system addresses) creating a network layer datagram.
The datagram is then passed to the link layer, which will add its own link-layer header info. and create a link-layer frame.
At each layer, a packet has two types of fields: header fields and a payload field.