TCP/IP Flashcards

(7 cards)

1
Q

Protocol

A

Set of rules that specify how computes can communicate with each other.

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

Encapsulation

A

In the TCP/IP stack, when data is received, its ‘wrapped’ in the information the layer has to offer, then passed to the layer below. Like putting the information in an envelope, writing something on the outside then passing it to the layer below.

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

Application layer

A

Wraps the data with the correct protocol based on the application. Then passes it to the layer below.

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

Transport layer

A

Receives the data from the application layer, then segments it into packets.
If data is needed to be complete, like a webpage or email, then it wraps it in the TCP protocol, which keeps track of each packet to ensure it isn’t lost by numbering each segment, then the receiver can tell them which numbers didn’t arrive, so they can be resent. If not all data is absolutely needed and speed can be prioritised, then UDP is used, like in streaming etc. A port number is also wrapped on, before this is then passed down to the layer below.

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

Internet layer

A

Receives data, and encapsulates it all in the IP, and also adds the headers of the IP destination, the source and the number of packets

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

Link layer

A

Encapsulates the data into a ethernet frame. Also adds the MAC address for the destination router, which is hardwired into the NIC (network interface card). Passes it to the link layer of the destination.

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

Reception of the data.

A

The packets first arrive in the link layer, and work there way up, decapsulating the relevant information on each layer.

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