1.5 Protocol Layers and their service models Flashcards

1
Q

Define protocol stack.

A

When taken together, the protocols of the various layers are called the protocol stack.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the Internet protocol stack consist of?

A

The internet protocol stack consists of five layers:

  • physical
  • link
  • network
  • transport
  • application
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Application layer.

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Mention app-layer protocols.

A
  • HTTP
  • SMTP
  • FTP
  • DNS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Transport Layer

A

It transports app-layer msgs between application endpoints.

Transport layer packet: segment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Transport protocols.

A
  • TCP

- UDP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Link layer

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Physical layer

A

Its role is to move the individual bits from one node to the next.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The OSI model.

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the layers of the OSI model?

A
  • application
  • presentation
  • session
  • transport
  • network
  • data
  • physical
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Describe the two remaining layers.

A
  • 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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Encapsulation

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly