Network Layer II Flashcards

(16 cards)

1
Q

Switching via interconnection network

A

A switching plane is the part of a router that connects input ports to output ports — it’s the core engine that moves packets inside the router

▪ scaling, using multiple switching “planes” in parallel:

▪ speedup, scaleup via parallelism

▪ Cisco CRS router:
▪ basic unit: 8
switching planes
▪ each plane: 3-stage
interconnection
network
▪ up to 100’s Tbps
switching capacity

Each switching plane uses a 3-stage interconnection network, which allows:

Efficient packet routing from any input port to any output port

High throughput

Non-blocking performance (packets don’t get stuck)

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

Input port queuing

A
  • If switch fabric slower than input ports combined -> queueing may
    occur at input queues
  • queueing delay and loss due to input buffer overflow!

▪Head-of-the-Line (HOL) blocking: queued datagram at front of queue
prevents others in queue from moving forward

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

Output port queuing

A

▪ Buffering required when datagrams
arrive from fabric faster than link
transmission rate. Drop policy: which
datagrams to drop if no free buffers?

▪Scheduling discipline chooses
among queued datagrams for
transmission

Priority scheduling – who
gets best performance,
network neutrality

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

Packet Scheduling: FCFS

A

packet scheduling: deciding
which packet to send next on
link
* first come, first served
* priority
* round robin
* weighted fair queueing

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

Scheduling policies: priority

A

Priority scheduling:
* arriving traffic classified,
queued by class

  • any header fields can be
    used for classification

▪ send packet from highest

priority queue that has
buffered packets
* FCFS within priority class

The router always checks the highest priority queue first, and sends a packet from there if it’s not empty. Lower-priority queues are only served when all higher-priority queues are empty.

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

Scheduling policies: round robin

A

Round Robin (RR) scheduling:

  • arriving traffic classified,
    queued by class
  • any header fields can be
    used for classification

▪server cyclically, repeatedly
scans class queues,
sending one complete
packet from each class (if
available) in turn

To treat all classes of traffic fairly, ensuring each class gets a turn to send a packet, regardless of priority.

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

Scheduling policies: weighted fair queueing

A

Weighted Fair Queuing (WFQ):
* generalized Round Robin
▪ each class, i, has weight, wi,
and gets weighted amount
of service in each cycle:
wi
wj
j
▪ minimum bandwidth
guarantee (per-traffic-class)

WFQ is an advanced version of Round Robin scheduling that adds fairness with control — it allows different traffic classes to get different amounts of bandwidth, based on their weights.

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

how much buffering

A

but too much buffering can increase delays (particularly in home
routers)

  • long RTTs: poor performance for real time apps, sluggish TCP response
  • recall delay-based congestion control: “keep bottleneck link just full
    enough (busy) but no fuller”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

IP addressing: introduction

A

IP address: 32-bit identifier associated with each host or router interface

  • interface: connection between host/router and physical link
  • router’s typically have multiple interfaces
  • host typically has one or two interfaces (e.g., wired Ethernet,
    wireless 802.11)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Subnets

A

A subnet (short for subnetwork) is a smaller part of a larger IP network. It’s used to organize and segment devices within a network.

▪What’s a subnet ?
* device interfaces that can physically reach each other without passing through an intervening router

▪IP addresses have structure:
* subnet part: devices in same subnet
have common high order bits
* host part: remaining low order bits

Recipe for defining subnets:
▪detach each interface from its
host or router, creating
“islands” of isolated networks
▪each isolated network is
called a subnet

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

Flat addressing

A

Flat Addressing (Bad for Scaling)
Imagine every device in the world has a completely unique, random address.

Routers would need to remember a separate rule for where to send traffic for every single device.

🧠 That means:

For 4.3 billion possible IPs (2³²), a router would need 4.3 billion entries in its table!
📉 Not scalable.

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

Classless Inter-Domain Routing (CIDR)

A

Key ideas:
Flexible division between network and host
addresses
* Get rid of IP classes
* Network prefix can be any size
* A mask is a number that determines the network part and the host
part

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

How to cope with different MTUs (Maximum
Transmission Units)?

A

 Problem: each network has its own MTU
 Maximum datagram size / Maximum Transmission Unit (MTU)
 Minimum MTU may not be known for a given path

 IP Solution: fragmentation
 Split datagrams into pieces when MTU is reduced

where should reassembly happen?
Answer #1: within the network, with no help from end
host B (receiver)

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

Fragmentation can be harmful

A

Fragmentation causes inefficient use of resources, same packet
processed twice.

Loss of fragments leads to degraded performance

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

IPv6: motivation

A

initial motivation: 32-bit IPv4 address space would be completely allocated

▪ additional motivation:
* speed processing/forwarding: 40-byte fixed length header
* enable different network-layer treatment of “flows”

flows:
This allows routers to identify and handle packets belonging to the same flow (like a video call or stream) in a special or optimized way

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

Transition from IPv4 to IPv6

A
  • not all routers can be upgraded simultaneously
  • no “flag days”
  • how will network operate with mixed IPv4 and IPv6 routers?

▪tunneling: IPv6 datagram carried as payload in IPv4 datagram among
IPv4 routers (“packet within a packet”)
* tunneling used extensively in other contexts (4G/5G)