Chapter 4 - Network Layer (Data Plane) Flashcards

1
Q

What does a sender do in the Network Layer

A

Encapsulates segments into datagrams and passes this to the link layer

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

What do routers do?

A
  • Examines header fields for all IP datagrams
  • moves datagrams from input ports to output ports
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the two network-layer functions?

A

Forwarding: move packets from routers input link to the appropriate output link

Routing: Determines the route taken by packets from source to destination (routing algorithms)

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

Data Plane vs Control Plane

A

Data plane: (per router) determines how datagram on router input port is forwarded to router output port

Control Plane: (Network wide logic) determines how datagram is routed from souce router to destination router

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

Per router control plane?

A

Individual routing algorithm components in each and every router interact in the control plane

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

Software-Defined Networking (SDN) control plane

A

Remote controller computes, installs tables in routers

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

Example network service models for INDIVIDUAL datagrams

A
  • guaranteed delivery
  • guaranteed delivery with less than 40 msec delay
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Example services for a FLOW of datagrams

A
  • in order datagram delivery
  • guaranteed minimum bandwidth to flow
  • restrictions on changes in inter-packet spacing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Best effort service model

A

Bandwidth - none
Loss - no
Order - no
Timing - no

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

Why Best effort model?

A
  • Simplicity
  • sufficient provisioning of bandwidth allows performance to be “good enough”
  • replicated, application-layer distributed services
  • congestion control of “elastic” services
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Router Architecture

A
  • Routing processor
  • High speed switching fabric
  • Input ports
  • Output ports
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Input Port Functions

A

Physical Layer: bit-level reception

Link layer protocols

Decentralized switching:

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

What is decentralized switching

A
  • using the header field values, lookup the output port from the forwarding table in the input port memory
  • the goal is to complete the input port processing at “line speed”
  • if the datagrams arrive faster than the forwarding rate into switch fabric, then they will be queued.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is longest prefix matching

A

When looking for a forwarding table entry for given destination address, you use the longest address prefix that matches the destination address.

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

What do switching fabrics do?

A
  • transfer the packet from the input port to the appropriate output port
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the switching rate?

A

rate at which packets can be transferred from inputs to outputs

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

Switching via memory

A
  • packets are copied to the system’s memory
  • the speed is limited by the memory bandwidth (2 bus crossings per datagram)
18
Q

Switching via bus

A
  • datagram from the input port memory is transferred to the output port memory via a SHARED BUS
  • Bus contention: the switching speed is limited by bus bandwidth
19
Q

Switching via interconnection network

A

-Crossbar: interconnected busses

  • multistage switch: nxn switch from multiple stages of smaller switches
  • exploiting parallelism: fragment datagram into fized length cells on entry. Switch cells through the fabric, reassemble datagram at exit
20
Q

What is input port queuing?

A

If the switch fabric is slower than the input ports combined, the the queuing may occur at input queues

21
Q

What is head-of-the-line (HOL) blocking?

A

a queued datagram at the front of the queue prevents others in the queue from moving foward.

22
Q

What are the two types of output port queuing?

A
  • buffering
  • scheduling dscipline
23
Q

What is buffering?

A
  • required when datagrams arrive from fabric faster than link transmission rate.
  • datagrams can be lost due to congestion, lack of buffers
24
Q

What is scheduling discipline

A

chooses among the queued datagrams for transmission

  • through PRIORITY SCHEDULING, you can determine who gets the best performance.
25
Q

What are the two types of buffer management?

A
  • dropping packets when buffers are full
  • marking packets to signal congestion
26
Q

what is tail dropping?

A

dropping the arriving packet

27
Q

what is the priority dropping

A

drop or remove packets based on a priority basis

28
Q

What are the 4 types of packet scheduling

A
  • first come first serve aka First in first out
  • priority
  • round robin
  • weighted fair queuing
29
Q

What is First in first out packet scheduling

A
  • which ever packets arrive first, those will be processed first followed by subsequent packets
30
Q

what is priority packet scheduling

A
  • packets are defined to be high priority or low priority
  • packets that are high priority are processed first, followed by low priority packets
31
Q

what is round robin packet scheduling?

A

-packets are divided into classes

  • the server will cycle through the classes, processing a packet from each class each time.
  • will also go to high priority classes first
32
Q

What is weighted fair queuing packet scheduling?

A
  • generalized round robin
  • each class has a weight and gets a weighted amount of service in each cycle: w_i/sum(w_j)
  • minimum bandwidth guarantee (per traffic class)
33
Q

What are path -selection algorithms?

A

-routing protocols
- SDN controller

34
Q

IP protocols?

A

-datagram format
- addressing
- packet handling conventions

35
Q

ICMP protocol

A
  • error reporting
  • router “signaling”
36
Q

What is an IP address?

A

32 bit identifier associated with each host or router interface

37
Q

What is an interface?

A
  • connection between host/router and physical link
    -routers typically have multiple interfaces
  • host typically has one or two interfaces
38
Q

What is a subnet?

A
  • device interfaces that can physically reach each other WITHOUT PASSING THOUGH AN INTERVENING ROUTER
39
Q

What are the parts of an IP address?

A

subnet part: devices in same subnet have common high order bits

host part: the remaining low order bits

40
Q

What is CIDR?

A
  • subnet portion of address or arbitrary length
  • a.b.c.d/x where c is the # bits in subnet portion of address.