Nätverksprotokoll Flashcards

1
Q

Communication methods: three elements in common?

A

Source-Channel-Destination

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

What does protocols include?

A
  • Identified sender and receiver
  • Common language and grammar
  • Speed and timing of delivery
  • Confirmation (ACK)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does protocols define?

A

Message encoding, delivery options, formatting and encapsulation, timing and size.

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

Message encoding process?

A

Message is converted into bits by the sending host → Each bit is encoded into a pattern of sounds, light waves or electrical impulses (depends on media) → Destination host receives and decodes the signals.

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

What is a frame?

A

A frame works as an envelope providing destination address and source address

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

What happens with messages that are too big?

A

Broken down to smaller pieces → each piece is sent in separate frames.
Each frame has its own addressing info.

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

Describe Access Method?

A

Hosts on a network need to know when to begin sending messages and how to respond when collisions occur.

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

What is flow control?

A

Source and destination host use it to negotiate correct timing to avoid overwhelming the destination and ensure information is received.

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

What is response timeout?

A

How long to wait for response and what action to take if a response timeout occurs.

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

What are the 3 common networking protocols

A

HTTP, TCP, IP

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

Here is a protocol interaction example

A

PC and web server communication

  • HTTP → app protocol that control the way a web server and a client interact
  • TCP → transport protocol that manages the individual conversations
  • IP → encapsulates the TCP segments into packets, assign addresses and delivers to destination
  • Ethernet → allow communication over a data link
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What happens when a router receives a frame from another router?

A

The router adds new data link information (MAC source) before forwarding the packet.

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

What happens when a client receives the frames?

A

The client removes each protocol header in the opposite order it was added: Ethernet → IP header → TCP header → HTTP info.

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

What does Open standard protocols mean?

A

The protocols are freely available, and any vendor is
able to implement these protocols on their hardware
or in their software.

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

What is Multiplexing?

A

By sending smaller pieces, many different conversations can be interleaved on the network, called multiplexing.

Vilket innebär att flera kan kommunicera samtidigt, vi delar på tillgänglig bandbredd.

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

What happens if a part of a message fails to reach destination?

A

The missing part is retransmitted. This is one of the advantages of message segmentation.

17
Q

What is Encapsulation?

A

When information is added at each level of the protocol model.

18
Q

What is PDU and what are the names of the PDU at the different layer levels?

A

PDU stands for Protocol Data Unit. And is a significant term related to the initial four layers of the OSI model.
In Layer 1, PDU is a bit,
in Layer 2 it is a frame,
in Layer 3 it is a packet and,
in Layer 4 it is a segment.
In Layer 5 and above, PDU is referred to as data.

19
Q

An example of encapsulation.

A
  1. Data is divided into segments
  2. TCP segment is encapsulated in IP packet
  3. IP packet is encapsulated in Ethernet Frame
  4. The frame is encapsulated into bits.
20
Q

What is the responsibility of the network layer(Layer 3)?

A

The network layer is responsible for routing, Delivering the IP packet from source to destination. (IP source-destination). If the packets are too large for delivery, they are broken down into smaller frames.

21
Q

What is the purpose of the data link layer (Layer 2)

A

Deliver data link frame from one network interface to another on the same network (MAC address source-destination)