Topics for Today. Network Layer. Readings. Introduction Addressing Address Resolution. Sections 5.1,

Similar documents
Routers Technologies & Evolution for High-Speed Networks

Lecture 16: Router Design

CSE 123A Computer Networks

Professor Yashar Ganjali Department of Computer Science University of Toronto.

Network Layer: Control/data plane, addressing, routers

Routers: Forwarding EECS 122: Lecture 13

Network Layer PREPARED BY AHMED ABDEL-RAOUF

EECS 122: Introduction to Computer Networks Switch and Router Architectures. Today s Lecture

Router Architecture Overview

Network layer (addendum) Slides adapted from material by Nick McKeown and Kevin Lai

TOC: Switching & Forwarding

Multi-gigabit Switching and Routing

Routers: Forwarding EECS 122: Lecture 13

Lecture 17: Router Design

CS 552 Computer Networks

1-1. Switching Networks (Fall 2010) EE 586 Communication and. October 25, Lecture 24

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

Network layer: Overview. Network Layer Functions

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Chapter 4: Network Layer

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Lecture 8. Network Layer (cont d) Network Layer 1-1

Chapter Motivation For Internetworking

ECE 158A: Lecture 7. Fall 2015

CSCE 463/612 Networks and Distributed Processing Spring 2018

Network Layer: Internet Protocol

CSC 401 Data and Computer Communications Networks

Network Superhighway CSCD 330. Network Programming Winter Lecture 13 Network Layer. Reading: Chapter 4

COMP211 Chapter 4 Network Layer: The Data Plane

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 11

Network Layer: Router Architecture, IP Addressing

CSE 3214: Computer Network Protocols and Applications Network Layer

PART X. Internetworking Part 1. (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution)

Router Architectures

TOC: Switching & Forwarding

The Network Layer Forwarding Tables and Switching Fabric

The Evolution Path from Frames to Services

Lecture 10: Addressing

Generic Architecture. EECS 122: Introduction to Computer Networks Switch and Router Architectures. Shared Memory (1 st Generation) Today s Lecture

Network Layer: outline

Chapter 4 Network Layer

Lecture 17: Router Design

PARALLEL ALGORITHMS FOR IP SWITCHERS/ROUTERS

Sample Routers and Switches. High Capacity Router Cisco CRS-1 up to 46 Tb/s thruput. Routers in a Network. Router Design

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

EE 122: Router Design

Lecture 4 - Network Layer. Transport Layer. Outline. Introduction. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen

CMSC 332 Computer Networks Network Layer

ECE 4450:427/527 - Computer Networks Spring 2017

internet technologies and standards

Internet Protocol Addressing and Routing. Redes TCP/IP

Chapter 4: network layer

Computer Networks. Instructor: Niklas Carlsson

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat no true in practice. administrative autonomy

Lecture 3: Packet Forwarding

Chapter 4: network layer. Network service model. Two key network-layer functions. Network layer. Input port functions. Router architecture overview

IP Address Assignment

internet technologies and standards

Chapter 4 Network Layer

ECE 697J Advanced Topics in Computer Networks

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

Chapter 4 Network Layer

IPv4 addressing, NAT. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.

Introduction to Internetworking

Chapter 4 Network Layer: The Data Plane

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

Lecture 12: Addressing. CSE 123: Computer Networks Alex C. Snoeren

CSC 4900 Computer Networks: Network Layer

Internet Network Protocols IPv4/ IPv6

Themes. The Network 1. Energy in the DC: ~15% network? Energy by Technology

The IP Data Plane: Packets and Routers

End-to-End Communication

Link-State Routing OSPF

The Network Layer and Routers

The Network Layer Forwarding Tables and Switching Fabric

CSC 4900 Computer Networks: Network Layer

Introduction to Computer Networking. Guy Leduc. Chapter 4 Network Layer: The Data Plane. Chapter 4: Network Layer Data Plane

15-744: Computer Networking. Routers

Introduction. Introduction. Router Architectures. Introduction. Recent advances in routing architecture including

NETWORK LAYER DATA PLANE

IPv4. Christian Grothoff.

Lecture 12: Aggregation. CSE 123: Computer Networks Alex C. Snoeren

Network Layer: Data Plane 4-2

Internet Technology 3/23/2016

Introduction. Router Architectures. Introduction. Introduction. Recent advances in routing architecture including

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING

CSCI Computer Networks Fall 2016

Configuring QoS CHAPTER

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane

Routers. Session 12 INST 346 Technologies, Infrastructure and Architecture

TDTS06: computer Networks

Lecture 16: Network Layer Overview, Internet Protocol

Topic 4a Router Operation and Scheduling. Ch4: Network Layer: The Data Plane. Computer Networking: A Top Down Approach

IP Addressing Week 6. Module : Computer Networks Lecturer: Lucy White Office : 324

Introduction CHAPTER 1

CSCD 330 Network Programming

Introduction to Networks and the Internet

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

Chapter 4. Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, sl April 2009.

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly

Transcription:

Topics for Today Network Layer Introduction Addressing Address Resolution Readings Sections 5.1, 5.6.1-5.6.2 1

Network Layer: Introduction A network-wide concern! Transport layer Between two end hosts Data link layer Between two physically connected hosts Network layer Involves every router, host in the network 2

Network Layer Functions Addressing Globally unique address for each routable device Logical address, unlike MAC address Assigned by network operator Need to map to MAC address Forwarding From input port to appropriate output port in a router Routing Which path to use to forward packets from src to dest 3

Logical View of Router Architecture 4

Router Input/Output Processing 5

Internet Protocol (IP) Universal service in a heterogeneous world IP over everything Virtual overlay network Globally unique logical address for a host Address resolution logical to physical address mapping 6

IP Addressing A 32-bit number that uniquely identifies a location Written using dotted decimal notation Two-level hierarchy: network id and host id Network IDs administered by Internet Assigned Number Authority Host IDs administered locally 7

IP Addressing IP address is assigned to each network interface Routers connect two or more physical networks Each interface has its own address Multi-homed host A host having multiple connections to Internet Multiple addresses identify the same host Does not forward packets between its interfaces 8

IP Classful Addressing Scheme class Three unicast address classes: A, B, and C One multicast: class D A B C D 0 network host 10 network host 110 network host 1110 multicast address 1.0.0.0 to 127.255.255.255 128.0.0.0 to 191.255.255.255 192.0.0.0 to 223.255.255.255 224.0.0.0 to 239.255.255.255 32 bits 9

Classless Inter-Domain Routing Classful addressing scheme wasteful IP address space exhaustion A class B net allocated enough for 65K hosts Even if only 2K hosts in that network Solution: CIDR Eliminate class distinction No A,B,C Keep multicast class D 10

Classless Addressing Addresses allocated in contiguous blocks Number of addresses assigned always power of 2 Network portion of address is of arbitrary length Address format: a.b.c.d/x x is number of bits in network portion of address network part 11001000 00010111 00010000 00000000 200.23.16.0/23 host part 11

IP Addressing 223.1.1.1 first 24 bits are network address 223.1.1.2 223.1.1.4 223.1.2.9 223.1.2.1 223.1.1.3 223.1.3.27 223.1.2.2 LAN 223.1.3.1 223.1.3.2 12

IP Addressing 223.1.1.1 223.1.1.2 223.1.1.4 Interconnected system consisting of six networks 223.1.9.2 223.1.1.3 223.1.7.0 223.1.9.1 223.1.8.1 223.1.8.0 223.1.7.1 223.1.2.6 223.1.3.27 223.1.2.1 223.1.2.2 223.1.3.1 223.1.3.2 13

Special IP Addresses Network address: host id = all 0 s Directed broadcast address: host id = all 1 s Local broadcast address: all 1 s Local host address (this computer): all 0 s Loopback address network id = 127, any host id (e.g. 127.0.0.1) 14

Components of a Generic Router 15

Per Packet Processing in an IP router 1. Accept packet arriving on an incoming link. 2. Lookup packet destination address in the forwarding table, to identify outgoing port(s). 3. Manipulate packet header: e.g., decrement TTL, update header checksum. 4. Send packet to the outgoing port(s). 5. Buffer packet in the queue. 6. Transmit packet onto outgoing link. 16

Another View of an IP Router Routing Protocols Routing Control Plane Forwarding Switching Datapath per-packet processing 17

Basic Architectural Components 1. Ingress Datapath: per-packet processing Forwarding 2. Interconnect 3. Egress Forwarding Decision Forwarding Forwarding Decision Forwarding Forwarding Decision 18

Forwarding Engine payload Packet header Router Destination Address Routing Lookup Data Structure Outgoing Port Forwarding Dest-network 65.0.0.0/8 128.9.0.0/16 Port 3 1 149.12.0.0/19 7 19

Routing Lookup is Not an Easy Task Search operation is not an exact match Direct lookup needs 4G entries (32 bits IP address) Longest prefix match Hashing table Balanced tree 20

Number of Prefixes Size of the Forwarding 100000 90000 80000 70000 60000 50000 10,000/year 40000 30000 20000 10000 0 95 96 97 98 99 00 Year Source: http://www.telstra.net/ops/bgptable.html 21

Lookup Rate Required Year Line Line-rate (Gbps) 40B packets (Mpps) 1998-99 OC12c 0.622 1.94 1999-00 OC48c 2.5 7.81 2000-01 OC192c 10.0 31.25 2002-03 OC768c 40.0 125 31.25 Mpps 33 ns 22

Basic Architectural Components Admission Control Routing Protocols Routing Reservation Control Plane Packet Classification Policing & Access Control Forwarding Switching Output Scheduling Datapath per-packet processing Ingress Interconnect Egress 1. 2. 3. 23

Basic Architectural Components 1. Ingress Datapath: per-packet processing 2. Interconnect 3. Egress Classifier Forwarding Policing & Access Control Forwarding Decision Classifier Forwarding Policing & Access Control Forwarding Decision Classifier Forwarding Policing & Access Control Forwarding Decision Limitation: Memory b/w Limitation: Interconnect b/w Power & Arbitration Limitation: Memory 24 b/w

First Generation Routers Shared Backplane Fixed length DMA blocks or cells. Reassembled on egress linecard CPU Route Buffer Memory Line Interface MAC Line Interface MAC Line Interface MAC Fixed length cells or variable length packets Typically <0.5Gb/s aggregate capacity 25

First Generation Routers Queueing Structure: Shared Memory Input 1 Output 1 Input 2 Numerous work has proven and made possible: Fairness Delay Guarantees Delay Variation Control Loss Guarantees Output 2 Statistical Guarantees Input N Large, single dynamically allocated memory buffer: N writes per cell time N reads per cell time. Limited by memory bandwidth. Output N 26

Second Generation Routers CPU Route Buffer Memory Slow Path Drop Policy Line Card Buffer Memory Line Card Buffer Memory Line Card Buffer Memory Drop Policy Or Backpressure Fwding Cache MAC Fwding Cache MAC Fwding Cache MAC Output Link Scheduling Typically <5Gb/s aggregate capacity 27

Second Generation Routers As caching became ineffective Exception Processor CPU Route Line Card Buffer Memory Fwding MAC Line Card Buffer Memory Fwding MAC Line Card Buffer Memory Fwding MAC 28

Second Generation Routers Queueing Structure: Combined Input and Output Queueing 1 write per cell time Rate of writes/reads 1 read per cell time determined by bus speed Bus 29

Third Generation Routers Switched Backplane Line Card Local Buffer Memory Fwding MAC CPU Card Routing Line Card Local Buffer Memory Fwding MAC Typically <50Gb/s aggregate capacity 30

Third Generation Routers Queueing Structure 1 write per cell time Rate of writes/reads 1 read per cell time determined by switch fabric speedup Switch Arbiter 31

Third Generation Routers Queueing Structure 1 write per cell time Rate of writes/reads 1 read per cell time determined by switch fabric speedup Switch Arbiter Flow-control backpressure Per-flow/class or peroutput queues (VOQs) Per-flow/class or perinput queues 32

Fourth Generation Routers/Switches Optical links 100 s of feet Switch Core Linecards 33

Physically Separating Switch Core and Linecards Distributes power over multiple racks. Allows all buffering to be placed on the linecard: Reduces power. Places complex scheduling, buffer mgmt, drop policy etc. on linecard. 34

Fourth Generation Routers/Switches The LCS Protocol Optical links 100 s of feet Switch Core Linecards 35

Fourth Generation Routers/Switches Queueing Structure Virtual Output Queues 1 write per cell time 1 read per cell time Rate of writes/reads determined by switch Lookup & Drop Policy fabric speedup Output Scheduling Lookup & Drop Policy Switch Fabric Switch Arbitration Output Scheduling Lookup & Drop Policy Switch Core (Bufferless) Output Scheduling Linecard Typically <5Tb/s aggregate capacity Linecard 36

Problems Facing Router Builders Fast forwarding (route lookup) Flow identification Fast forwarding path QoS support Core routers, enterprise routers, access routers Simpler is winner Reliability (stability) of high-speed routers Dual power Duplicate data paths Ease of configuration Misconfiguration is another major problem Accountability 37