Chapter 5 Network Layer: The Control Plane

Similar documents
Network Layer: The Control Plane

Chapter 5 Network Layer: The Control Plane

CSC 401 Data and Computer Communications Networks

Chapter 5 Network Layer: The Control Plane

COMP211 Chapter 5 Network Layer: The Control Plane

Network Layer: ICMP and Network Management

Chapter 5 Network Layer: The Control Plane

Chapter 5 Network Layer: The Control Plane

Chapter 5 Network Layer: The Control Plane

Chapter 5 Network Layer: The Control Plane

CSC 4900 Computer Networks: Routing Protocols

NETWORK LAYER CONTROL PLANE

Chapter 9. introduction to network management. major components. MIB: management information base. SNMP: protocol for network management

Chapter 4 Network Layer: The Data Plane

EC441 Fall 2018 Introduction to Computer Networking Chapter 5: Network Layer Control Plane

Chapter 5 Network Layer: The Control Plane

5.1 introduction 5.5 The SDN control 5.2 routing protocols plane. Control Message 5.3 intra-as routing in Protocol the Internet

Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer: The Data Plane. Part A. Computer Networking: A Top Down Approach

Chapter 4 Network Layer: The Data Plane

Chapter 9 Network Management

Computer Networks LECTURE 10 ICMP, SNMP, Inside a Router, Link Layer Protocols. Assignments INTERNET CONTROL MESSAGE PROTOCOL

CSC 8560 Computer Networks: Control Plane

Software-Defined Networking (SDN) Overview

Chapter 3 Transport Layer

CS 4226: Internet Architecture

Chapter 1 Introduction

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

Network Management. Stuart Johnston 13 October 2011

COMP211 Chapter 4 Network Layer: The Data Plane

Software Defined Networking

Chapter 4 Network Layer: The Data Plane

Agenda. distance-vector (what you invented last Friday) hierarchical routing routing in the Internet. v DNS assignment Q&A v Routing Algorithms

CS 471G Friday, 11 January Introduction 2-1

Gerência SDN. Baseado em slides do Nick McKeown e Survey disponível em:

Network Management. Stuart Johnston 08 November 2010

Chapter 8 Network Security

CSC 401 Data and Computer Communications Networks

CSCE 463/612 Networks and Distributed Processing Spring 2018

ONOS OVERVIEW. Architecture, Abstractions & Application

Chapter 4 Network Layer: The Data Plane

Chapter 2 Application Layer

Outline. Traditional computer networks. Software Defined Networking - 3 (SDN) Pag. 1 SDN. Openflow protocol Some issues Advances

Quality of Service (QoS)

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

CS118 Discussion 1A, Week 7. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

CS 3516: Advanced Computer Networks

Chapter 4 Network Layer

The Network Meets the Cloud, or

So#ware Defined Networking

Open Network Operating System

Lecture 17: Network Layer Addressing, Control Plane, and Routing

Cisco Extensible Network Controller

Telecomunicazioni. Docente: Andrea Baiocchi DIET - Stanza 107, 1 piano palazzina P. Piga Via Eudossiana 18

Introduction to Software-Defined Networking UG3 Computer Communications & Networks (COMN)

Chapter 4: Network Layer

Chapter 2 Application Layer

11/13/2017 Network Layer (SSL) Network-layer functions. Recall the two network-layer functions:

Since enrollment is very small this semester, we have flexibilty. Traditional lecture Assigned reading, and then student(s) present during class time

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

UNIVERSITY OF CAGLIARI

Chapter 3 Transport Layer

Managing and Securing Computer Networks. Guy Leduc. Chapter 2: Software-Defined Networks (SDN) Chapter 2. Chapter goals:

Chapter 9. Multimedia Networking. Computer Networking: A Top Down Approach

Chapter 3 Transport Layer

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Chapter 3 outline. Transport services and protocols

Network Management Standards Architectures & Applications. Network Management

Data Communications and Networks Spring Syllabus and Reading Assignments

Chapter 6 The Link Layer and LANs

CS 3516: Computer Networks

Chapter 1 Introduction

Chapter 1 Introduction

OpenADN: A Case for Open Application Delivery Networking

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

Application Delivery Using SDN

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

Software Defined Networks and OpenFlow. Courtesy of: AT&T Tech Talks.

Securing Network Application Deployment in Software Defined Networking 11/23/17

CS/ECE 438: Communication Networks Fall Network Layer

Chapter 4: Network Layer. Lecture 12 Internet Routing Protocols. Chapter goals: understand principles behind network layer services:

SNMP Basics BUPT/QMUL

HW3 and Quiz. P14, P24, P26, P27, P28, P31, P37, P43, P46, P55, due at 3:00pm with both soft and hard copies, 11/11/2013 (Monday) TCP), 20 mins

Network Layer: Routing. Routing. Routing protocol. Graph abstraction for routing algorithms: graph nodes are routers graph edges are physical links

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

Course on Computer Communication and Networks. Lecture 12 Continuously evolving Internet-working Part B: QoS, traffic engineering, SDN, IoT

Chapter 2 Application Layer

CSCE 463/612 Networks and Distributed Processing Spring 2018

SNMP Basics BUPT/QMUL

SOFTWARE-DEFINED INTER-DOMAIN SWITCHING

Web Protocols and Practice

CSC 401 Data and Computer Communications Networks

Chapter 7: Multimedia Networking

Network Layer: Chapter 4. The Data Plane. Computer Networking: A Top Down Approach

Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer: The Data Plane

Why dynamic route? (1)

What is ONOS? ONOS Framework (ONOSFW) is the OPNFV project focused on ONOS integration. It is targeted for inclusion in the Brahmaputra release.

CSC 401 Data and Computer Communications Networks

Lecture 19: Network Layer Routing in the Internet

Network Layer: Control Plane 5-2

Transcription:

Chapter 5 Network Layer: The Control Plane A note on the use of these Powerpoint slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations; and can add, modify, and delete slides (including this one) and slide content to suit your needs. They obviously represent a lot of work on our part. In return for use, we only ask the following: If you use these slides (e.g., in a class) that you mention their source (after all, we d like people to use our book!) If you post any slides on a www site, that you note that they are adapted from (or perhaps identical to) our slides, and note our copyright of this material. Thanks and enjoy! JFK/KWR All material copyright 1996-2016 J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down Approach 7 th Edition, Global Edition Jim Kurose, Keith Ross Pearson April 2016 5-1

Chapter 5: network layer control plane chapter goals: understand principles behind network control plane traditional routing algorithms SDN controlllers Internet Control Message Protocol network management and their instantiation, implementation in the Internet: OSPF, BGP, OpenFlow, ODL and ONOS controllers, ICMP, SNMP 5-2

Chapter 5: outline 5.1 introduction 5.2 routing protocols link state distance vector 5.3 intra-as routing in the Internet: OSPF 5.4 routing among the ISPs: BGP 5.5 The SDN control plane 5.6 ICMP: The Internet Control Message Protocol 5.7 Network management and SNMP 5-3

Software defined networking (SDN) Internet network layer: historically has been implemented via distributed, per-router approach monolithic router contains switching hardware, runs proprietary implementation of Internet standard protocols (IP, RIP, IS-IS, OSPF, BGP) in proprietary router OS (e.g., Cisco IOS) different middleboxes for different network layer functions: firewalls, load balancers, NAT boxes,.. ~2005: renewed interest in rethinking network control plane 5-4

Recall: per-router control plane Individual routing algorithm components in each and every router interact with each other in control plane to compute forwarding tables Routing Algorithm control plane data plane 5-5

Recall: logically centralized control plane A distinct (typically remote) controller interacts with local control agents (CAs) in routers to compute forwarding tables Remote Controller CA CA CA CA CA control plane data plane 5-6

Software defined networking (SDN) Why a logically centralized control plane? easier network management: avoid router misconfigurations, greater flexibility of traffic flows table-based forwarding (recall OpenFlow API) allows programming routers centralized programming easier: compute tables centrally and distribute distributed programming: more difficult: compute tables as result of distributed algorithm (protocol) implemented in each and every router open (non-proprietary) implementation of control plane 5-7

Analogy: mainframe to PC evolution * Specialized Applications Specialized Operating System Specialized Hardware Ap App p Ap p Windows (OS) Ap p Ap p Ap p Ap p Ap p Ap p Open Interface or Linux or Open Interface Ap p Microprocessor Ap p Mac OS Vertically integrated Closed, proprietary Slow innovation Small industry Horizontal Open interfaces Rapid innovation Huge industry * Slide courtesy: N. McKeown 5-8

Traffic engineering: difficult traditional routing 5 u 1 2 v x 2 3 1 3 w y 1 5 2 z Q: what if network operator wants u-to-z traffic to flow along uvwz, x-to-z traffic to flow xwyz? A: need to define link weights so traffic routing algorithm computes routes accordingly (or need a new routing algorithm)! Link weights are only control knobs : wrong! 5-9

Traffic engineering: difficult 5 u 1 2 v x 2 3 1 3 w y 1 5 2 z Q: what if network operator wants to split u-to-z traffic along uvwz and uxyz (load balancing)? A: can t do it (or need a new routing algorithm) 5-10

Traffic engineering: difficult Networking 401 5 u 1 2 v v x x 2 3 1 3 w w y y 1 5 2 z z Q: what if w wants to route blue and red traffic differently? A: can t do it (with destination based forwarding, and LS, DV routing) 5-11

Software defined networking (SDN) 4. programmable control applications routing access control Remote Controller load balance 3. control plane functions external to dataplane switches control plane data plane CA CA CA CA CA 2. control, data plane separation 1: generalized flowbased forwarding (e.g., OpenFlow) 5-12

SDN perspective: data plane switches Data plane switches fast, simple, commodity switches implementing generalized data-plane forwarding (Section 4.4) in hardware switch flow table computed, installed by controller API for table-based switch control (e.g., OpenFlow) defines what is controllable and what is not protocol for communicating with controller (e.g., OpenFlow) routing network-control applications access control load balance northbound API SDN Controller (network operating system) southbound API control plane data plane 5-13 SDN-controlled switches

SDN perspective: SDN controller SDN controller (network OS): maintain network state information interacts with network control applications above via northbound API interacts with network switches below via southbound API implemented as distributed system for performance, scalability, fault-tolerance, robustness routing network-control applications access control load balance northbound API SDN Controller (network operating system) southbound API control plane data plane 5-14 SDN-controlled switches

SDN perspective: control applications network-control apps: brains of control: implement control functions using lower-level services, API provided by SND controller unbundled: can be provided by 3 rd party: distinct from routing vendor, or SDN controller routing network-control applications access control load balance northbound API SDN Controller (network operating system) control plane southbound API data plane 5-15 SDN-controlled switches

Components of SDN controller Interface layer to network control apps: abstractions API Network-wide state management layer: state of networks links, switches, services: a distributed database communication layer: communicate between SDN controller and controlled switches routing network graph Network-wide distributed, robust state management Link-state info statistics OpenFlow access control RESTful API host info load balance Interface, abstractions for network control apps flow tables SNMP intent switch info Communication to/from controlled devices SDN controller 5-16

OpenFlow protocol OpenFlow Controller operates between controller, switch TCP used to exchange messages optional encryption three classes of OpenFlow messages: controller-to-switch asynchronous (switch to controller) symmetric (misc) 5-17

OpenFlow: controller-to-switch messages Key controller-to-switch messages features: controller queries switch features, switch replies configure: controller queries/sets switch configuration parameters modify-state: add, delete, modify flow entries in the OpenFlow tables packet-out: controller can send this packet out of specific switch port OpenFlow Controller 5-18

OpenFlow: switch-to-controller messages Key switch-to-controller messages packet-in: transfer packet (and its control) to controller. See packetout message from controller flow-removed: flow table entry deleted at switch port status: inform controller of a change on a port. OpenFlow Controller Fortunately, network operators don t program switches by creating/sending OpenFlow messages directly. Instead use higher-level abstraction at controller 5-19

SDN: control/data plane interaction example network graph statistics Link-state info s1 Dijkstra s link-state Routing 3 4 5 OpenFlow 1 2 RESTful API host info s3 s2 flow tables SNMP s4 intent switch info 1 2 3 4 S1, experiencing link failure using OpenFlow port status message to notify controller SDN controller receives OpenFlow message, updates link status info Dijkstra s routing algorithm application has previously registered to be called when ever link status changes. It is called. Dijkstra s routing algorithm access network graph info, link state info in controller, computes new routes 5-20

SDN: control/data plane interaction example Dijkstra s link-state Routing network graph statistics 3 Link-state info 4 5 2 OpenFlow RESTful API host info flow tables SNMP intent switch info 5 6 link state routing app interacts with flow-table-computation component in SDN controller, which computes new flow tables needed Controller uses OpenFlow to install new tables in switches that need updating 1 s1 s3 s2 s4 5-21

OpenDaylight (ODL) controller Network service apps Access Control Traffic Engineering REST API Basic Network Service Functions topology manager forwarding manager switch manager host manager Service Abstraction Layer (SAL) stats manager ODL Lithium controller network apps may be contained within, or be external to SDN controller Service Abstraction Layer: interconnects internal, external applications and services OpenFlow 1.0 SNMP OVSDB 5-22

ONOS controller Network control apps REST hosts devices API Intent statistics device link host flow packet OpenFlow Netconf OVSDB northbound abstractions, protocols paths flow rules topology links ONOS distributed core southbound abstractions, protocols control apps separate from controller intent framework: high-level specification of service: what rather than how considerable emphasis on distributed core: service reliability, replication performance scaling 5-23

SDN: selected challenges hardening the control plane: dependable, reliable, performance-scalable, secure distributed system robustness to failures: leverage strong theory of reliable distributed system for control plane dependability, security: baked in from day one? networks, protocols meeting mission-specific requirements e.g., real-time, ultra-reliable, ultra-secure Internet-scaling 5-24

Chapter 5: outline 5.1 introduction 5.2 routing protocols link state distance vector 5.3 intra-as routing in the Internet: OSPF 5.4 routing among the ISPs: BGP 5.5 The SDN control plane 5.6 ICMP: The Internet Control Message Protocol 5.7 Network management and SNMP 5-25

What is network management? autonomous systems (aka network ): 1000s of interacting hardware/software components other complex systems requiring monitoring, control: jet airplane nuclear power plant others? "Network management includes the deployment, integration and coordination of the hardware, software, and human elements to monitor, test, poll, configure, analyze, evaluate, and control the network and element resources to meet the real-time, operational performance, and Quality of Service requirements at a reasonable cost." 5-26

Infrastructure for network management definitions: managing entity managing entity network management protocol data agent data managed device agent data managed device agent data managed device agent data managed device agent data managed device managed devices contain managed objects whose data is gathered into a Management Information Base (MIB) 5-27

SNMP protocol Two ways to convey MIB info, commands: managing entity managing entity request response trap msg agent data agent data managed device managed device request/response mode trap mode 5-28

SNMP protocol: message types Message type GetRequest GetNextRequest GetBulkRequest Function manager-to-agent: get me data (data instance, next data in list, block of data) InformRequest manager-to-manager: here s MIB value SetRequest manager-to-agent: set MIB value Response Agent-to-manager: value, response to Request Trap Agent-to-manager: inform manager of exceptional event 5-29

SNMP protocol: message formats Get/set header Variables to get/set PDU type (0-3) Request ID Error Status (0-5) Error Index Name Value Name Value. PDU type 4 Enterprise Agent Addr Trap Type (0-7) Specific code Time stamp Name Value. Trap header Trap info SNMP PDU More on network management: see earlier editions of text! 5-30

Chapter 5: summary we ve learned a lot! approaches to network control plane per-router control (traditional) logically centralized control (software defined networking) traditional routing algorithms implementation in Internet: OSPF, BGP SDN controllers implementation in practice: ODL, ONOS Internet Control Message Protocol network management next stop: link layer! 5-31