Chapter 4: Network Layer (Data Plane)

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/49

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

50 Terms

1
New cards

Network Layer Functions

  • Logical communication between hosts.

  • Transport segment from sending host to receiving host.

  • Forwarding

  • Routing

2
New cards

Sender (Network Layer)

Encapsulates segments into datagrams and passes them to the link layer.

3
New cards

Receiver (Network Layer)

Delivers segments to a transport layer protocol.

4
New cards

Router

Moves datagrams from input ports to output ports to transfer datagrams along an end-end path.

5
New cards

Forwarding

Move packets from a router’s input link to appropriate router output link.

6
New cards

Routing

Determine route taken by packets from source to destination.

7
New cards

Data Plane

  • Local, per-router function.

  • Determines how datagram arriving on router input port is forwarded to router output port.

8
New cards

Control Plane

  • Network-wide logic.

  • Determines how datagram is routed among routers along end-end path from source host to destination host.

9
New cards

2 Control-Plane Approaches

  • Traditional Routing Algorithms

  • Software-Defined Networking (SDN)

10
New cards

Traditional Routing Algorithms

Routing algorithms implemented in routers.

11
New cards

Software-Defined Networking (SDN)

Routing algorithms implemented in (remote) servers.

12
New cards

Per-Router Control Plane

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

13
New cards

Software-Defined Networking (SDN) Control Plane

Remote controller computes, installs forwarding tables in routers.

14
New cards

Example Services for Individual Datagrams

  • Guaranteed delivery.

  • Guaranteed delivery with less than 40 msec delay

15
New cards

Example Services for a Flow of Datagrams

  • In-order datagram delivery

  • Guaranteed minimum bandwidth to flow

  • Restrictions on changes in inter-packet spacing

16
New cards

Guarantees the Internet Service Model Doesn’t Offer

  • Successful datagram delivery to destination.

  • Timing or order of delivery.

  • Bandwidth available to end-end flow.

17
New cards

Input Port Queuing

Needed if datagrams arrive faster than forwarding rate into switch fabric.

18
New cards

Destination-Based Forwarding

Forward based only on destination IP address (traditional).

19
New cards

Generalized Forwarding

Forward based on any set of header field values; Match bits in arriving packet, and take action.

20
New cards

Longest Prefix Matching

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

21
New cards

Switching Fabrics

Router component that transfers packets from input link to appropriate output link.

22
New cards

Switching Rate

Rate at which packets can be transfered from inputs to outputs.

23
New cards

3 Major Switching Fabric Types

  • Memory

  • Bus

  • Interconnection Network

24
New cards

Switching via Memory

Packet copied to system’s memory.

25
New cards

Switching via a Bus

Datagram from input port memory to output port memory via a shared bus.

26
New cards

Switching via Interconnection Network

  • Exploits Parallelism

    • fragment datagram into fixed length cells on entry

    • switch cells through the fabric, reassemble datagram at exit

27
New cards

HOL Blocking

Queued datagram at front of queue prevents others in queue from moving forward.

28
New cards

Output Port Queuing

Required when datagrams arrive from fabric faster than link transmission rate.

29
New cards

Packet Scheduling

Deciding which packet to send next on link.

30
New cards

Packet Scheduling Algorithms

  • FCFS / FIFO

  • Priority

  • Round-Robin

  • WFQ

31
New cards

FCFS / FIFO Scheduling

Packets transmitted in order of arrival to output port.

32
New cards

Priority Scheduling

  • Arriving traffic classified, queued by class.

  • Send packet from highest priority queue that has buffered packets.

33
New cards

Round-Robin Scheduling

  • Arriving traffic classified, queued by class.

  • Server cyclically, repeatedly scans class queues, sending one complete packet from each class (if available) in turn.

34
New cards

WFQ

  • Each class, i, has weight, wiand gets weighted amount of service in each cycle.

35
New cards

Order on Protecting and Promoting an Open Internet Rules

  • No Blocking

  • No Throttling

  • No Paid Prioritization

36
New cards

IP Protocol Features

  • Datagram format

  • Addressing

  • Packet handling conventions

37
New cards

Internet Control Message Protocol (ICMP) Features

  • Error reporting

  • Router “signaling”

38
New cards

IP Address

32-bit identifier associated with each host or router interface.

39
New cards

Interface

Connection between host/router and physical link.

40
New cards

Subnet

Device interfaces that can physically reach each other without passing through an intervening router.

41
New cards

Dynamic Host Configuration Protocol (DHCP)

Protocol which enables host to dynamically obtain IP address from network server when it “joins” network.

42
New cards

Hierarchical Addressing

Allows efficient advertisement of routing information.

43
New cards

Network Address Translation (NAT)

All devices in local network share just one IPv4 address as far as outside world is concerned.

44
New cards

Advantages of NAT

  • Just one IP address needed from provider ISP for all devices

  • Can change addresses of host in local network without notifying outside world

  • Can change ISP without changing addresses of devices in local network

  • Security: devices inside local net not directly addressable, visible by outside world

45
New cards

Tunneling

IPv6 datagram carried as payload in IPv4 datagram among IPv4 routers (“packet within a packet”).

46
New cards

Packet-Handling Rules for Generalized Forwarding

• Match: pattern values in packet header fields

• Actions: for matched packet: drop, forward, modify matched packet or send matched packet to controller

• Priority: disambiguate overlapping patterns

• Counters: #bytes and #packets

47
New cards

Middlebox

Device used for anything outside of fowarding.

48
New cards

Examples of Middleboxes

  • NAT

  • Firewalls

  • Load balancers

  • Caches

49
New cards

Network Functions Virtualization (NFV)

Programmable services over white box networking, computation, and storage.

50
New cards

3 Cornerstone Beliefs of Internet Architectural Principles

  • Simple connectivity

  • IP protocol: that narrow waist

  • Intelligence and complexity at network edge