S3. What is encapsulation, decapsulation, and tunneling? Flashcards

1
Q

What are encapsulation, decapsulation, and tunneling?

A

Encapsulation, decapsulation, and tunneling are concepts pertaining to the facilitation of transmission of data across networks

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

What is encapsulation?

A

Encapsulation is the process of adding protocol-specific information, in the form of headers and sometimes trailers, to data as it moves down the network stack

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

Give an example of how data is encapsulated

A

When data is sent from an application and it is passed down to the transport layer, it is encapsulated with transport protocol headers. Then, at the network layer, IP headers are added, providing information about the destination IP address of the data. Finally, a frame header and trailer are added at the link layer, with eg a checksum

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

What kind of information do headers contain?

A

Important information, such as destination addresses, error-checking data, and other protocol-specific information. For example, IP headers contain the destination IP address, IPv4 headers and link-layer frame headers contain a checksum for detecting errors at the receiving end.

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

What is the purpose of encapsulation?

A

To ensure that data is properly formatted to be able to reach its destination

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

What is decapsulation?

A

Decapsulation is the reverse process in which headers added during encapsulation are removed as data moves up the network layers, until the original data is retrieved and can be delivered to the correct process at the destination host

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

What is tunneling?

A

Tunneling involves encapsulating a packet within another packet belonging to a different protocol

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

What is the purpose of tunneling?

A

Allowing data to traverse an intermediary network incompatible with the original protocol

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

What is tunneling commonly used for?

A

VPNs and IPv6-over-IPv4

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

How is tunneling used in VPNs?

A

Private network traffic is encapsulated within public network protocols to securely transmit data across the internet

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

How is tunneling used in IPv6?

A

For IPv6 over IPv4 tunnels, in which IPv6 packets are encapsulated in IPv4 packets to allow IPv6 end systems to communicate via infrastructure that is only compatible with IPv4

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

What is the difference between en/decapsulation and tunneling?

A

Encapsulation and decapsulation enable structured, layer-specific handling of data, while tunneling allows the traversal of data across diverse network environments

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