+ All Categories
Home > Documents > P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m...

P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m...

Date post: 12-Feb-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
108
NETWORK LAYER: DATA NETWORK LAYER: DATA PLANE PLANE 1
Transcript
Page 1: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

NETWORK LAYER: DATANETWORK LAYER: DATAPLANEPLANE

1

Page 2: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

GOALSGOALSUnderstand principles behind network layer services, focusing onthe data plane:

Network layer service models

Forwarding versus rou�ng

How a router works

Generalized forwarding

Instan�a�on, implementa�on in the Internet

Per router func�ons (Network wide is chapter 5)

2

Page 3: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

INTRODUCTIONINTRODUCTION

3 . 1

Page 4: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

INTRODUCTIONINTRODUCTION

3 . 2

Page 5: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

NETWORK LAYERNETWORK LAYERTransport segment from sending to receiving host

On sending side encapsulates segments into datagrams

On receiving side, delivers segments to transport layer

Network layer protocols in every host, router

Router examines header fields in all IP datagrams passing throughit

3 . 3

Page 6: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

TWO KEY NETWORK-LAYER FUNCTIONSTWO KEY NETWORK-LAYER FUNCTIONSForwarding: move packets from router’s input to appropriaterouter output

Analogy - Traveling: process of ge�ng through single interchange

Rou�ng: determine route taken by packets from source todest.

Analogy - Traveling: process of planning trip from source to dest

3 . 4

Page 7: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

INTERPLAY: ROUTING AND FORWARDINGINTERPLAY: ROUTING AND FORWARDING

3 . 5

Page 8: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

NETWORK LAYER: DATA PLANENETWORK LAYER: DATA PLANElocal, per-router func�on

determines how datagram arriving on router input port isforwarded to router output port

Forwarding func�on

3 . 6

Page 9: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

NETWORK LAYER: CONTROL PLANENETWORK LAYER: CONTROL PLANENetwork-wide logic

Determines how datagram is routed among routers along end-endpath from source host to des�na�on host

Two control-plane approaches:

tradi�onal rou�ng algorithms: implemented in routers

so�ware-defined networking (SDN): implemented in (remote)servers

3 . 7

Page 10: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

PER-ROUTER CONTROL PLANEPER-ROUTER CONTROL PLANE

3 . 8

Page 11: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

LOGICALLY CENTRALIZED CONTROL PLANE (SDN)LOGICALLY CENTRALIZED CONTROL PLANE (SDN)

3 . 9

Page 12: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

NETWORK SERVICE MODELNETWORK SERVICE MODELQ: What service model for “channel” transpor�ng datagrams from

sender to receiver?

example services for individual datagrams:

guaranteed delivery

guaranteed delivery with less than 40 msec delay

example services for a flow of datagrams:

in-order datagram delivery

guaranteed minimum bandwidth to flow

restric�ons on changes in inter-packet spacing3 . 10

Page 13: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SERVICES AND GUARANTEESSERVICES AND GUARANTEESNetworkArchtecture

ServiceModel

Bandwidth Loss Order Timing Conges�feedback

Internet Bestefford

None No No No No(inferredvia loss)

ATM CBR Constantrate

Yes Yes Yes Noconges�o

3 . 11

Page 14: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

WHAT’S INSIDE A ROUTERWHAT’S INSIDE A ROUTER

4 . 1

Page 15: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

ROUTER ARCHITECTURE OVERVIEWROUTER ARCHITECTURE OVERVIEW

4 . 2

Page 16: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

INPUT PORT FUNCTIONSINPUT PORT FUNCTIONS

4 . 3

Page 17: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

INPUT PORT FUNCTIONSINPUT PORT FUNCTIONSPhysical layer: bit-level recep�on

Data link layer: e.g., Ethernet (chapter 5)

Decentralized switching:

given datagram dest., lookup output port using forwarding tablein input port memory (“match plus ac�on”)

goal: complete input port processing at ‘line speed’

queuing: if datagrams arrive faster than forwarding rate intoswitch fabric

4 . 4

Page 18: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

INPUT PORT FUNCTIONSINPUT PORT FUNCTIONSDes�na�on-based forwarding: forward based only on des�na�onIP address (tradi�onal)

Generalized forwarding: forward based on any set of header fieldvalues

4 . 5

Page 19: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DATAGRAM FORWARDING DATAGRAM FORWARDING TABLETABLEWith 4 billion IP addresses, it would become a large table if it was a

plain map!

How can we solve this?

4 . 6

Page 20: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DATAGRAM FORWARDING DATAGRAM FORWARDING TABLETABLE

4 . 7

Page 21: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DATAGRAM FORWARDING DATAGRAM FORWARDING TABLETABLEDes�na�on Address Range Link Interface

11001000 00010111 00010000 00000000 to11001000 00010111 00010111 11111111

0

11001000 00010111 00011000 00000000 to11001000 00010111 00011000 11111111

1

11001000 00010111 00011001 00000000 to11001000 00010111 00011111 11111111

2

otherwise 3

Q: but what happens if ranges don’t divide up so nicely?4 . 8

Page 22: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

LONGEST PREFIX MATCHINGLONGEST PREFIX MATCHINGLongest prefix matching

when looking for forwarding table entry for given des�na�onaddress, use longest address prefix that matches des�na�on

address.

4 . 9

Page 23: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

LONGEST PREFIX MATCHINGLONGEST PREFIX MATCHINGDes�na�on Address Range Link Interface

11001000 00010111 00010*** ******** 0

11001000 00010111 00011000 ********* 1

11001000 00010111 00011*** ********* 2

otherwise 3

Example: which interface? DA: 11001000 0001011100010110 10100001

4 . 10

Page 24: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

LONGEST PREFIX MATCHINGLONGEST PREFIX MATCHINGwe’ll see why longest prefix matching is used shortly, when westudy addressing

longest prefix matching: o�en performed using ternary contentaddressable memories (TCAMs)

content addressable: present address to TCAM: retrieveaddress in one clock cycle, regardless of table size

Cisco Catalyst: can up ~1M rou�ng table entries in TCAM

Once output port has been determined → sent into Switchingfabric

4 . 11

Page 25: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SWITCHING FABRICSSWITCHING FABRICS

4 . 12

Page 26: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SWITCHING FABRICSSWITCHING FABRICStransfer packet from input buffer to appropriate output buffer

switching rate: rate at which packets can be transfer from inputsto outputs

o�en measured as mul�ple of input/output line rate

N inputs: switching rate N �mes line rate desirable

three types of switching fabrics

4 . 13

Page 27: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SWITCHING VIA MEMORYSWITCHING VIA MEMORY

4 . 14

Page 28: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SWITCHING VIA MEMORYSWITCHING VIA MEMORYFirst genera�on routers:

tradi�onal computers with switching under direct control of CPU

packet copied to system’s memory

speed limited by memory bandwidth (2 bus crossings perdatagram)

Only one packet moved - even if different des�na�on ports

4 . 15

Page 29: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SWITCHING VIA A BUSSWITCHING VIA A BUS

4 . 16

Page 30: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SWITCHING VIA A BUSSWITCHING VIA A BUSdatagram from input port memory to output port memory via ashared bus

bus conten�on: switching speed limited by bus bandwidth

32 Gbps bus, Cisco 5600: sufficient speed for access andenterprise routers

4 . 17

Page 31: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SWITCHING VIA INTERCONNECTION NETWORKSWITCHING VIA INTERCONNECTION NETWORK

4 . 18

Page 32: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SWITCHING VIA INTERCONNECTION NETWORKSWITCHING VIA INTERCONNECTION NETWORKOvercome bus bandwidth limita�ons

banyan networks, crossbar, other interconnec�on nets ini�allydeveloped to connect processors in mul�processor

advanced design: fragmen�ng datagram into fixed length cells,switch cells through the fabric.

Cisco 12000: switches 60 Gbps through the interconnec�onnetwork

Packets can be switched if they have different des�na�on ports

4 . 19

Page 33: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

OUTPUT PORTSOUTPUT PORTS

Buffering required when datagrams arrive from fabric faster thanthe transmission rate

scheduling discipline chooses among queued datagrams fortransmission

4 . 20

Page 34: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

OUTPUT PORT QUEUEINGOUTPUT PORT QUEUEING

buffering when arrival rate via switch exceeds output line speed

queueing (delay) and loss due to output port buffer overflow!

4 . 21

Page 35: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

INPUT PORT QUEUINGINPUT PORT QUEUING

4 . 22

Page 36: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

INPUT PORT QUEUINGINPUT PORT QUEUINGfabric slower than input ports combined → queueing may occur atinput queues

queueing delay and loss due to input buffer overflow!

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

4 . 23

Page 37: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

HOW MUCH BUFFERING?HOW MUCH BUFFERING?RFC 3439 rule of thumb: average buffering equal to “typical” RTT(say 250 msec) �mes link capacity C

e.g., C = 10 Gpbs link: 2.5 Gbit buffer

recent recommenda�on: with N flows, buffering equal to (CRTT)/( sqrt(N))

4 . 24

Page 38: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SCHEDULING MECHANISMS: FIFOSCHEDULING MECHANISMS: FIFOScheduling: choose next packet to send on link

FIFO (first in first out) scheduling: send in order of arrival toqueue

real-world example?

discard policy: if packet arrives to full queue: who to discard?

tail drop: drop arriving packet

priority: drop/remove on priority basis

random: drop/remove randomly

4 . 25

Page 39: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IP: INTERNET PROTOCOLIP: INTERNET PROTOCOL

5 . 1

Page 40: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

THE INTERNET NETWORK LAYERTHE INTERNET NETWORK LAYERhost, router network layer func�ons:

5 . 2

Page 41: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IP DATAGRAM FORMATIP DATAGRAM FORMAT

5 . 3

Page 42: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IP DATAGRAM FORMATIP DATAGRAM FORMATHow much overhead? 20 bytes of TCP + 20 bytes of IP = 40bytes + app layer overhead

5 . 4

Page 43: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IP FRAGMENTATION, REASSEMBLYIP FRAGMENTATION, REASSEMBLYnetwork links have MTU (max.transfer size) - largest possible link-level frame

different link types, different MTUs

large IP datagram divided (“fragmented”) within net

one datagram becomes several datagrams

“reassembled” only at final des�na�on

IP header bits used to iden�fy, order related fragments

5 . 5

Page 44: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IP FRAGMENTATION, REASSEMBLYIP FRAGMENTATION, REASSEMBLY

5 . 6

Page 45: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IP FRAGMENTATION, REASSEMBLYIP FRAGMENTATION, REASSEMBLYExample 4000 byte datagram, MTU = 1500 bytes

5 . 7

Page 46: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IP ADDRESSING: INTRODUCTIONIP ADDRESSING: INTRODUCTIONIP address: 32-bit iden�fier for host, router interface

Interface: connec�on between host/router and physical link

router’s typically have mul�ple interfaces

host typically has one or two interfaces (e.g., wired Ethernet,wireless 802.11)

IP addresses associated with each interface

5 . 8

Page 47: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IP ADDRESSING: INTRODUCTIONIP ADDRESSING: INTRODUCTION

5 . 9

Page 48: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SUBNETSSUBNETSIP address:

subnet part - high order bits

host part - low order bits

what is a subnet?

device interfaces with same subnet part of IP address

can physically reach each other without intervening router

5 . 10

Page 49: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SUBNETSSUBNETS

5 . 11

Page 50: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SUBNETSSUBNETSRecipe

to determine the subnets, detach each interface from its host orrouter, crea�ng islands of isolated networks

each isolated network is called a subnet

5 . 12

Page 51: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SUBNETSSUBNETS

5 . 13

Page 52: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SUBNETSSUBNETSHow many?

Page 53: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

5 . 14

Page 54: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SUBNETSSUBNETSHow many?

Page 55: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

5 . 15

Page 56: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IP ADDRESSING: CIDRIP ADDRESSING: CIDRRou�ng

subnet por�on of address of arbitrary length

address format: a.b.c.d/x, where x is # bits in subnet por�on ofaddress

CIDR Classless Interdomain Rou�ng

5 . 16

Page 57: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IP ADDRESSES: HOW TO GET ONE?IP ADDRESSES: HOW TO GET ONE?Q: How does a host get IP address?

hard-coded by system admin in a file

Windows: control-panel → network → configura�on → tcp/ip→ proper�es

UNIX: /etc/rc.config

DHCP: Dynamic Host Configura�on Protocol: dynamically getaddress from AS server

"plug-and-play"

5 . 17

Page 58: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DHCP: DYNAMIC HOST CONFIGURATION PROTOCOLDHCP: DYNAMIC HOST CONFIGURATION PROTOCOLGoal: Host to dynamically obtain its IP address from networkserver when it joins network

can renew its lease on address in use

allows reuse of addresses (only hold address whileconnected/“on”)

support for mobile users who want to join network (more shortly)

5 . 18

Page 59: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DHCP CLIENT-SERVER SCENARIODHCP CLIENT-SERVER SCENARIO

5 . 19

Page 60: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DHCPDHCPDHCP overview:

host broadcasts “DHCP discover” msg

DHCP server responds with “DHCP offer” msg

host requests IP address: “DHCP request” msg

DHCP server sends address: “DHCP ack” msg

5 . 20

Page 61: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DHCP CLIENT-SERVER SCENARIODHCP CLIENT-SERVER SCENARIO

5 . 21

Page 62: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DHCP CLIENT-SERVER SCENARIODHCP CLIENT-SERVER SCENARIO

5 . 22

Page 63: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DHCP: MORE THAN IP ADDRESSESDHCP: MORE THAN IP ADDRESSESDHCP can return more than just allocated IP address on subnet:

address of first-hop router for client

name and IP address of DNS sever

network mask (indica�ng network versus host por�on of address)

5 . 23

Page 64: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DHCP: EXAMPLEDHCP: EXAMPLE

5 . 24

Page 65: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DHCP: EXAMPLEDHCP: EXAMPLE

5 . 25

Page 66: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DHCP: EXAMPLEDHCP: EXAMPLE

5 . 26

Page 67: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DHCP: EXAMPLEDHCP: EXAMPLE

5 . 27

Page 68: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DHCP: EXAMPLEDHCP: EXAMPLE

5 . 28

Page 69: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

DHCP: EXAMPLEDHCP: EXAMPLE

5 . 29

Page 70: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IP ADDRESSES: HOW TO GET ONE?IP ADDRESSES: HOW TO GET ONE?Q: how does network get subnet part of IP addr?

A: gets allocated por�on of its provider ISP’s address space

ISP's block 11001000 00010111 00010000 00000000 200.23.16.0/20

Organization 0 11001000 00010111 00010000 00000000 200.23.16.0/23

Organization 1 11001000 00010111 00010010 00000000 200.23.18.0/23

Organization 2 11001000 00010111 00010100 00000000 200.23.20.0/23

...

Organization 7 11001000 00010111 00011110 00000000 200.23.30.0/23

5 . 30

Page 71: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

HIERARCHICAL ADDRESSING: ROUTE AGGREGATIONHIERARCHICAL ADDRESSING: ROUTE AGGREGATIONhierarchical addressing allows efficient adver�sement of rou�ng

informa�on:

5 . 31

Page 72: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

HIERARCHICAL ADDRESSING: MORE SPECIFIC ROUTESHIERARCHICAL ADDRESSING: MORE SPECIFIC ROUTESISPs-R-Us has a more specific route to Organiza�on 1

5 . 32

Page 73: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

RESERVED IP ADRESSESRESERVED IP ADRESSESFor private networks - RFC-1918

10.0.0.0 - 10.255.255.255 (10/8 prefix)

172.16.0.0 - 172.31.255.255 (172.16/12 prefix)

192.168.0.0 - 192.168.255.255 (192.168/16 prefix)

5 . 33

Page 74: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IP ADDRESSING: THE LAST WORD… IP ADDRESSING: THE LAST WORD… Q: how does an ISP get block of addresses?

A: ICANN: Internet Corpora�on for Assigned Names and Numbers

allocates addresses

manages DNS

assigns domain names, resolves disputes

h�p://www.icann.org/

5 . 34

Page 75: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

NAT: NETWORK ADDRESS TRANSLATIONNAT: NETWORK ADDRESS TRANSLATION

6 . 1

Page 76: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

NAT: NETWORK ADDRESS TRANSLATIONNAT: NETWORK ADDRESS TRANSLATIONAll datagrams leaving local network have same single source NAT IP

address: 138.76.29.7, different source port numbers

datagrams with source or des�na�on in this network have10.0.0/24 address for source, des�na�on (as usual)

6 . 2

Page 77: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

NAT: NETWORK ADDRESS TRANSLATIONNAT: NETWORK ADDRESS TRANSLATIONMo�va�on: Local network uses just one IP address as far asoutside world is concerned:

range of addresses not needed from ISP: just one IPaddress for all devices

can change addresses of devices in local network withoutno�fying outside world

can change ISP without changing addresses of devices inlocal network

devices inside local net not explicitly addressable, visible byoutside world (a security plus)

6 . 3

Page 78: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

NAT: NETWORK ADDRESS TRANSLATIONNAT: NETWORK ADDRESS TRANSLATIONImplementa�on - NAT router must:

outgoing datagrams: replace (source IP address, port #) of everyoutgoing datagram to (NAT IP address, new port #) remoteclients/servers will respond using (NAT IP address, new port #) asdes�na�on addr

remember (in NAT transla�on table) every (source IP address,port #) to (NAT IP address, new port #) transla�on pair

incoming datagrams: replace (NAT IP address, new port #) in destfields of every incoming datagram with corresponding (source IPaddress, port #) stored in NAT table

6 . 4

Page 79: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

NAT: NETWORK ADDRESS TRANSLATIONNAT: NETWORK ADDRESS TRANSLATION

6 . 5

Page 80: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

NAT: NETWORK ADDRESS TRANSLATIONNAT: NETWORK ADDRESS TRANSLATION16-bit port-number field:

60,000 simultaneous connec�ons with a single LAN-sideaddress!

NAT is controversial:

routers should only process up to layer 3

violates end-to-end argument

NAT possibility must be taken into account by app designers,e.g., P2P applica�ons

address shortage should instead be solved by IPv66 . 6

Page 81: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

NAT TRAVERSAL PROBLEMNAT TRAVERSAL PROBLEMclient wants to connect to server with address 10.0.0.1

server address 10.0.0.1 local to LAN (client can’t use it asdes�na�on addr)

only one externally visible NATed address: 138.76.29.7

6 . 7

Page 82: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SOLUTION 1SOLUTION 1Sta�cally configure NAT to forward incoming connec�on requests at

given port to server

e.g., (123.76.29.7, port 2500) always forwarded to 10.0.0.1 port25000

6 . 8

Page 83: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SOLUTION 2SOLUTION 2Universal Plug and Play (UPnP) Internet Gateway Device (IGD)

Protocol. Allows NATed host to:

learn public IP address (138.76.29.7)

add/remove port mappings (with lease �mes) i.e., automate sta�cNAT port map configura�on

6 . 9

Page 84: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SOLUTION 3SOLUTION 3Relaying (used in Skype)

NATed client establishes connec�on to relay

external client connects to relay

relay bridges packets between to connec�ons

6 . 10

Page 85: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IPV6IPV6

7 . 1

Page 86: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

MOTIVATIONMOTIVATIONini�al mo�va�on: 32-bit address space soon to be completelyallocated.

addi�onal mo�va�on:

header format helps speed processing/forwarding

header changes to facilitate QoS

IPv6 datagram format:

fixed-length 40 byte header

no fragmenta�on allowed

7 . 2

Page 87: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IPV6 DATAGRAM FORMATIPV6 DATAGRAM FORMATpriority: iden�fy priority among datagrams in flow

flow Label: iden�fy datagrams in same “flow.” (concept of“flow”not well defined).

next header: iden�fy upper layer protocol for data

7 . 3

Page 88: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

OTHER CHANGES FROM IPV4OTHER CHANGES FROM IPV4checksum: removed en�rely to reduce processing �me at eachhop

op�ons: allowed, but outside of header, indicated by “NextHeader” field

ICMPv6: new version of ICMP

addi�onal message types, e.g. “Packet Too Big”

mul�cast group management func�ons

7 . 4

Page 89: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

TRANSITION FROM IPV4 TO IPV6TRANSITION FROM IPV4 TO IPV6not 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 datagramamong IPv4 routers

7 . 5

Page 90: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

TUNNELINGTUNNELING

7 . 6

Page 91: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

TUNNELINGTUNNELING

7 . 7

Page 92: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IPV6 ADDRESS FORMATIPV6 ADDRESS FORMATIPv6 addresses are wri�en in eight groups of four hex digits, with a-fpreferred over A-F (RFC 5952). The groups are separated by colons,

and have leading 0’s removed, eg

If an address contains a long run of 0’s – for example, if the IPv6address had an embedded IPv4 address – then when wri�ng theaddress the string “::” should be used to represent however manyblocks of 0000 as are needed to create an address of the correct

length.

Also, embedded IPv4 addresses may con�nue to use the “.”separator:

fedc:13:1654:310:fedc:bc37:61:3210

::ffff:147.126.65.141 7 . 8

Page 93: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IPV6 ADDRESS FORMATIPV6 ADDRESS FORMATThe IPv6 loopback address is ::1 (that is, 127 0-bits followed by a 1-

bit).

Network address prefixes may be wri�en with the “/” nota�on, as inIPv4:

12ab:0:0:cd30::/60

Generally speaking, IPv6 addresses consist of a 64-bit networkprefix (perhaps including subnet bits) followed by a 64-bit “interface

iden�fier”.

7 . 9

Page 94: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IPV6 ADOPTIONIPV6 ADOPTIONLong (long!) �me for deployment, use

20 years and coun�ng!

think of applica�on-level changes in last 20 years: WWW,Facebook, streaming media, Skype, …

Why?

7 . 10

Page 95: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IPV6 ADOPTIONIPV6 ADOPTION

7 . 11

Page 96: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IPV6 ADOPTIONIPV6 ADOPTION

7 . 12

Page 97: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

IPV6 ADOPTIONIPV6 ADOPTION

7 . 13

Page 98: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

GENERALIZED FORWARD AND SDNGENERALIZED FORWARD AND SDN

8 . 1

Page 99: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

GENERALIZED FORWARDING AND SDNGENERALIZED FORWARDING AND SDNEach router contains a flow table that is computed and distributed

by a logically centralized rou�ng controller

8 . 2

Page 100: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

OPENFLOW DATA PLANE ABSTRACTIONOPENFLOW DATA PLANE ABSTRACTIONFlow: defined by header fields

Generalized forwarding: simple packet-handling rules

Pa�ern: match values in packet header fields

Ac�ons: for matched packet: drop, forward, modify, matchedpacket or send matched packet to controller

Priority: disambiguate overlapping pa�erns

Counters: #bytes and #packets

Flow table in a router (computed and distributed by controller)define router’s match+ac�on rules

8 . 3

Page 101: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

OPENFLOW: FLOW TABLE ENTRIESOPENFLOW: FLOW TABLE ENTRIES

8 . 4

Page 102: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

OPENFLOW: DESTINATION-BASED FORWARDINGOPENFLOW: DESTINATION-BASED FORWARDING

8 . 5

Page 103: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

OPENFLOW: OPENFLOW: FIREWALLFIREWALL

8 . 6

Page 104: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

OPENFLOW: SWITCH FORWARDINGOPENFLOW: SWITCH FORWARDINGDes�na�on-based layer 2 (switch) forwarding:

8 . 7

Page 105: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

OPENFLOW ABSTRACTIONOPENFLOW ABSTRACTIONmatch+ac�on: unifies different kinds of devices

Router

match: longest des�na�on IP prefix

ac�on: forward out a link

Switch

match: des�na�on MAC address

ac�on: forward or flood

8 . 8

Page 106: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

OPENFLOW ABSTRACTIONOPENFLOW ABSTRACTIONmatch+ac�on: unifies different kinds of devices

Firewall

match: IP addresses and TCP/UDP port numbers

ac�on: permit or deny

NAT

match: IP address and port

ac�on: rewrite address and port

8 . 9

Page 107: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

OPENFLOW EXAMPLEOPENFLOW EXAMPLE

8 . 10

Page 108: P L A N E N E T W O R K L AY E R : D ATAjamik/dm557-19/material/Lecture-05.pdf · Fo rwa rd ing: m ove p ac ket s f rom rou t er’s inp u t t o ap p rop riat e rou t er ou t p u

SUMMARYSUMMARYPer Router func�ons

Inside a router

IP: Internet protocol

NAT

IPv4 vs IPv6

IP Forwarding and Generalized Forwarding

9


Recommended