The Internet Flashcards

1
Q

How does the physical network constrain higher level protocols?

A

Higher-level protocols, such as TCP and HTTP, rely on the underlying network infrastructure in order to function. As such, they are bound by the limitations of that infrastructure, such as network bandwidth and latency.

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

What are protocols?

A

The protocols that support network functionality are essentially logical sets of rules that have been designed and engineered to be the way they are.

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

What is a network?

A

At the most basic level, it’s two devices connected in such a way that they can communicate or exchange data.

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

What is a local area network (LAN)?

A

A LAN is multiple computers and other devices connected via a network bridging device such as a hub or, more likely, a switch. The key thing to understand here is that the scope of communications is limited to devices that are connected (either wired or wirelessly) to the network switch or hub.

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

What are routers? What do they enable?

A

Routers enable communication between networks. Routers are network devices that can route network traffic to other networks. Within a Local Area Network, they effectively act as gateways into and out of the network.

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

How do we ensure that different hardware across the world can still communicate seamlessly?

A

With protocols. sets of rules that govern the exchange or transmission of data.

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

We have a wide number of protocols on the web, what are the two primary reasons for this?

A
  1. Different protocols were developed to address different aspects of network communication.
  2. Different protocols were developed to address the same aspect of network communication but differently for a specific use case.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are some example of different aspects of network communication that different protocols deal with?

A

Some protocols deal with theflowandorderof all the messages in the conversation. Others govern syntactical rulesthat dictate thestructureof the message.

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

What is an example of two protocols that address the same aspect of network communication but differently for a specific use case:

A

TCP and UDP would be examples of two protocols that address the same fundamental aspect of communication, the transfer of messages between applications, but do so differently.

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

How does the OSI model divide its layers?

A

The OSI model divides the layers in terms of the functions that each layer provides (physical addressing, logical addressing and routing, encryption, compression, etc).

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

How does the TCP/IP model divid its layers?

A

The Internet Protocol Suite divides the layers in terms of the scope of communications within each layer (within a local network, between networks, etc).

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

In the realm of networking, what does data encapsulation generally refer to?

A

In networking, encapsulation essentially refers to hiding data from one layer by encapsulating it within a data unit of the layer below

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

What is a PDU?

A

Within our network models, a Protocol Data Unit (PDU) is an amount or block of data transferred over a network.

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

What is the PDU at the link/data link layer?

A

An ethernet frame

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

What is the PDU at the Internet/ network layer?

A

An IP packet

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

What is the PDU at the transport layer?

A

A TCP segment or a UDP datagram?

17
Q

What is the purpose of the PDU header & trailer

A

The purpose of the header & trailer is to provide protocol-specific metadata about the PDU

For example, an Internet Protocol (IP) packet header would include fields for the Source IP Address and the Destination IP Address, which would be used to correctly route the packet.

18
Q

What is the data payload portion of a PDU?

A

The entire PDU from a protocol at one layer is set as the data payload for a protocol at the layer below.

19
Q

What is the benefit of encapsulating the entire PDU at one layer as the data payload for the layer below it?

A

The major benefit of this approach is the separation it creates between the protocols at different layers. In other words, a TCP segment isn’t really concerned whether its data payload is an HTTP request, an SMTP command, or some other sort of Application layer data. This allows us to use different protocols at a certain layer without having to worry about the layers below.