chapter 4 - network layer: data plane Flashcards

(38 cards)

1
Q

What is the role of the network layer?

A

Transfer segments from sender to receiver across networks

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

What is forwarding?

A

Moving a packet from router input to output link

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

What is routing?

A

Determining the path from sender to receiver

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

What’s the difference between forwarding and routing?

A
  • Forwarding = local(inside router) - actual movement
  • Routing = global - planning the path
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the data (forwarding) plane?

A

handles the actual movement of packets

responsible for forwarding packets

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

What is the control plane?

A

figures out where packets should go

builds the forwarding table the data plane use

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

What are the two control-plane approaches?

A

Per-router control and Software-Defined Networking (SDN)

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

What service model does the Internet use?

A

best-effort delivery

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

what are key parts of a router

A
  • input port
  • switching fabric
  • output port
  • routing processor
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what is longest prefix matching

A

Match destination IP to the longest matching entry in forwarding table

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

what is switching fabric

A

connects all input ports to output ports

internal network inside a route

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

What are 3 types of switching fabrics?

A
  • Memory
  • Bus
  • Interconnection network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what is head of line blocking (HOL)

A

front packet blocks others behind it in the input queue

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

why does output port buffering happen

A

packets arrive faster than they can be sent out

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

what is tail drop

A

drop new packet when buffer is full

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

what is RED (random early detection)

A

randomly drop packets before buffer is full

17
Q

What is FCFS?

A

sends packets in arrival order

18
Q

what is round-robin

A

Each queue gets one packet sent in a cycle

19
Q

What is weighted fair queuing?

A

flows with higher weight get more bandwidth

20
Q

What is an IP address?

A

A 32-bit identifier for a host/router interface

21
Q

what is an interface - can you have multiple interfaces

A

connection between host/router and a physical link

yes, routers -> several, hosts -> 1/2

22
Q

what is a subnet

A

group of interfaces that can reach each other without going trough a router

23
Q

What is CIDR? - What do the “/x” bits in CIDR mean?

A

Classless Inter-Domain Routing ( 192.168.1.0/x)

Number of bits in the subnet prefix

24
Q

what is Dynamic Host Configuration Protocol(DHCP) used for

A

automatically assigns IP addresses to devices when they join a network

25
4 steps of DHCP
discover -> offer -> request -> ack
26
how does a network gets it IP address
From its ISP, which gets blocks from regional registries via ICANN
27
What is route aggregation?
summarizing multiple IP prefixes into one
28
what is netowk adress translation (NAT)
routers translate private (local) IP addresses into a public IP address allows multiple devices to share one public IP
29
main benefit of NAT
saves IP addresses and improves security
30
how does NAT work (outgoing)
replaces source IP/port with NAT IP/port, stores mapping
31
how does NAT work (incoming)
NAT replaces the destination IP/ port in incoming with the original source IP/ port from its NAT table
32
What is the length of an IPv6 address?
128 bits 8 groups of 4 hexadecimal digits
33
IPv6 key differences from IPv4?
No checksum, no fragmentation, simplified header
34
What is tunneling (IPv6)?
sending IPv6 packets inside IPv4 packets to carry them across an IPv4-only network | wraps the ipv6 pavkets in ipv4 datagram - removes wrapping after end
35
What is the end-to-end argument?
Functions like reliability should be handled at the endpoints, not the network
35
What is the "thin waist" of the Internet?
IP – the single universal network layer protocol
36
How does per-router control plane work?
Each router runs its own routing algorithm and makes routing decisions independently
37
How does SDN control plane work?
A remote controller computes and installs flow tables in routers -> uses this table to forward packets | It separates the control plane from the data plane