OPENFLOW & SOFTWARE DEFINED NETWORKING. Greg Ferro EtherealMind.com and PacketPushers.net

Similar documents
Lesson 9 OpenFlow. Objectives :

OpenFlow Ronald van der Pol

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

Software Defined Networks

SDN Workshop. Contact: WSDN01_v0.1

CSC 4900 Computer Networks: Network Layer

Chapter 4 Network Layer: The Data Plane

Software Defined Networking

Chapter 5 Network Layer: The Control Plane

COMP211 Chapter 4 Network Layer: The Data Plane

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

100 GBE AND BEYOND. Diagram courtesy of the CFP MSA Brocade Communications Systems, Inc. v /11/21

OpenFlow and SDN: hype, useful tools or panacea? Ivan Pepelnjak Chief Technology Advisor NIL Data Communications

Lecture 9. Address Resolution Protocol (ARP)

Configuring OpenFlow 1

Decision Forest: A Scalable Architecture for Flexible Flow Matching on FPGA

Cloud Networking (VITMMA02) Software Defined Networking (SDN) in the Cloud

Cisco Nexus Data Broker for Network Traffic Monitoring and Visibility

These slides contain significant content contributions by

SDN Applications and Use Cases. Copyright 2015 ITRI

Software-Defined Networking (Continued)

SDN Workshop. Contact: TSDN01_v0.1. [xx] Revision:

lecture 18: network virtualization platform (NVP) 5590: software defined networking anduo wang, Temple University TTLMAN 401B, R 17:30-20:00

Question: 1 Which three parameters must match to establish OSPF neighbor adjacency? (Choose three.)

Data Center Configuration. 1. Configuring VXLAN

Configuring the Catena Solution

Software Defined Networking

CS 4226: Internet Architecture

CS-580K/480K Advanced Topics in Cloud Computing. Software-Defined Networking

MPLS, THE BASICS CSE 6067, UIU. Multiprotocol Label Switching

Software-Defined Networking (SDN) Overview

Routing Basics. Campus Network Design & Operations Workshop

H3C S7500E Switch Series

Configuring Firewall Filters (J-Web Procedure)

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

Internetworking/Internetteknik, Examination 2G1305 Date: August 18 th 2004 at 9:00 13:00 SOLUTIONS

CSC358 Week 6. Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright J.F Kurose and K.W. Ross, All Rights Reserved

Software-Defined Networking (SDN) Now for Operational Technology (OT) Networks SEL 2017

CSC 401 Data and Computer Communications Networks

Cloud Networking From Theory to Practice. Ivan Pepelnjak NIL Data Communications

Could IXPs Use OpenFlow To Scale? Ivan Pepelnjak Chief Technology Advisor NIL Data Communications

Summary Chapter 4. Smith College, CSC 249 March 2, q IP Addressing. q DHCP dynamic addressing

Chapter 5. The Network Layer

ENTERPRISE MPLS. Kireeti Kompella

V Commands. virtual ip, page 2 virtual ipv6, page 5 vrf, page 8. Cisco Nexus 7000 Series NX-OS Intelligent Traffic Director Command Reference 1

Lesson 10 Virtualization & Data Centric Network

Implementing VXLAN in DataCenter

CSC 401 Data and Computer Communications Networks

Quality of Service Setup Guide (NB14 Series)

11/30/16. Game Plan. OpenFlow 1.3: Protocol, Use Cases, And Building a Fault Tolerant Application. Up Next. Before We Get Started

Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS

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

Centralization of Network using Openflow Protocol

Configuring Bridge Domain Interfaces

Multi Layer SDN. Yatish Kumar CTO Corsa Technology

MPLS VPN. 5 ian 2010

Routing Concepts. IPv4 Routing Forwarding Some definitions Policy options Routing Protocols


CSC 401 Data and Computer Communications Networks

H3C S5130-EI Switch Series

OpenFlow 1.3: Protocol, Use Cases, and Controller Writing. Ryan Izard

Multi Topology Routing Truman Boyes

Routing Basics. ISP Workshops. Last updated 10 th December 2015

ProgrammableFlow: OpenFlow Network Fabric

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

This course prepares candidates for the CompTIA Network+ examination (2018 Objectives) N

Overlay Virtual Networking Explained. Ivan Pepelnjak NIL Data Communications

Hands on SDN and BRO

Chapter 4 Network Layer: The Data Plane

SDN AND NFV SECURITY DR. SANDRA SCOTT-HAYWARD, QUEEN S UNIVERSITY BELFAST COINS SUMMER SCHOOL, 23 JULY 2018

FSOS. Ethernet Configuration Guide

Multi-site Datacenter Network Infrastructures

Introduction to MPLS APNIC

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

Implementing VXLAN. Prerequisites for implementing VXLANs. Information about Implementing VXLAN

MPLS MULTI PROTOCOL LABEL SWITCHING OVERVIEW OF MPLS, A TECHNOLOGY THAT COMBINES LAYER 3 ROUTING WITH LAYER 2 SWITCHING FOR OPTIMIZED NETWORK USAGE

Routing Basics. ISP Workshops

Multi Protocol Label Switching (an introduction) Karst Koymans. Thursday, March 12, 2015

Introduction to MPLS. What is MPLS? 1/23/17. APNIC Technical Workshop January 23 to 25, NZNOG2017, Tauranga, New Zealand. [201609] Revision:

Multiprotocol Label Switching (MPLS)

HPE FlexFabric 5940 Switch Series

OpenFlow 1.3: Protocol, Use Cases, And Building a Fault Tolerant Application

Hands-On TCP/IP Networking

Network Virtualization Based on Flows

Connection Oriented Networking MPLS and ATM

Missing pieces + Putting the pieces together

Lecture 3: Packet Forwarding

CS 5114 Network Programming Languages Data Plane. Nate Foster Cornell University Spring 2013

SDN-based Network Obfuscation. Roland Meier PhD Student ETH Zürich

Appendix B Policies and Filters

VXLAN Overview: Cisco Nexus 9000 Series Switches

Router 6000 R17 Training Programs. Catalog of Course Descriptions

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS

Cloud Networking (VITMMA02) Network Virtualization: Overlay Networks OpenStack Neutron Networking

HPE FlexFabric 7900 Switch Series

OpenFlow: What s it Good for?

Contents. EVPN overview 1

ProgrammableFlow White Paper. March 24, 2016 NEC Corporation

Managing the Unicast RIB and FIB, on page 5

Chapter 4 Network Layer: The Data Plane

Transcription:

OPENFLOW & SOFTWARE DEFINED NETWORKING Greg Ferro EtherealMind.com and PacketPushers.net 1

HUH? OPENFLOW. What is OpenFlow? From the bottom up. With big words. How OpenFlow does stuff. Then WHY we want OpenFlow to do that 2

OPENFLOW. WHAT IS IT? Nerd Glasses on please 3

PLANES OF OPERATION CLI/SSH/SNMP/XML MANAGEMENT PLANE CONTROL OSPF/BGP/LDP FORWARDING PLANE 4

??? FORWARDING PLANE 5

FORWARDING TABLES Forwarding Tables = Forwarding Information Base = FIB 6

FORWARDING TABLES RIBS RIB RIB RIB RIB 7

ROUTING PROTOCOLS FIBS Routing Protocol RIB RIB RIB Routing Protocol Routing Protocol RIB Routing Protocol 8

ROUTING PROTOCOLS GOOD? reliable proven deterministic ( knowable ) self healing autonomous scalable? 9

ROUTING PROTOCOLS... OR BAD? loosely coupled hop by hop homogenous system change resistant not load based destination only limited external configuration 10

WHAT IF, INSTEAD OF THIS: Routing Protocol RIB RIB RIB Routing Protocol Routing Protocol RIB Routing Protocol 11

WE USED A CENTRAL CONTROLLER Controller Controller updates the forwarding tables (TCAM) of Switches and Routers 12

CONTROLLER? it s software, it s a program * connects to all devices builds a network topology runs an algorithm then updates the Forwarding table by an API. * ( & we don t know much about it yet) 13

'OpenFlow' Controller UI Network Model Controller OpenFlow Network 14

!HOW IT DOES STUFF Keep your Nerd Glasses on please 15

FLOW TABLES OpenFlow Draft Specification 1.1 16

OPENFLOW controller-to-switch asynchronous symmetric 17

MATCH FIELDS Ingress Port Metadata Ether src Ether dst Ether type VLAN id VLAN priority MPLS label, MPLS traffic class Pretty Good Selection IPv4 SRC, IPv4 DST IPv4 proto ( ARP opcode, IPv4 ToS bits) TCP/ UDP / SCTP src port, ICMP Type TCP/ UDP / SCTP dst port ICMP Code 18

MATCH FLEXIBILITY Field Bits When applicable Notes Ingress Port 32 All packets Numerical representa=on of incoming port, star=ng at 1. (physical or virtual port) Metadata 64 Table 1 and above Ethernet source address 48 All packets on enabled ports Can use arbitrary bitmask Ethernet des=na=on address 48 All packets on enabled ports Can use arbitrary bitmask Ethernet type 16 All packets on enabled ports Ethernet type of the OpenFlow packet payload, aoer VLAN tags. 802.3 frames have special VLAN id 12 All packets with VLAN tags VLAN iden=fier of outermost VLAN tag. VLAN priority 3 All packets with VLAN tags VLAN PCP field of outermost VLAN tag. MPLS label 20 All packets with MPLS tags Match on outermost MPLS tag. MPLS traffic class 3 All packets with MPLS tags Match on outermost MPLS tag. IPv4 source address 32 All IPv4 and ARP packets Can use subnet mask or arbitrary bitmask IPv4 des=na=on address 32 All IPv4 and ARP packets Can use subnet mask or arbitrary bitmask IPv4 protocol / ARP opcode 8 All IPv4 and IPv4 over Ethernet, ARP Only the lower 8 bits of the ARP op- code are packets used IPv4 ToS bits 6 All IPv4 packets Specify as 8- bit value and place ToS in upper 6 bits. Transport source port / ICMP Type 16 All TCP, UDP, SCTP, and ICMP packets Only lower 8 bits used for ICMP Type Transport des=na=on port / ICMP Code 16 All TCP, UDP, SCTP, and ICMP packets Only lower 8 bits used for ICMP Code 19 Shortcomings Exist

PIPELINE PROCESSING Group Table Action Buckets Action Buckets Frame In Table 0 Table 1.. Table n Action Frame Egress Buckets Action Set Action Set Action Set OpenFlow Enabled Switch Frame In Table 0 Table 1.. Table n Frame Egress Action Set Action Set Action Set OpenFlow Enabled Switch 20

INSTRUCTIONS Apply-Actions actions :Applies the specific actions immediately. Clear-Actions: Clears all the actions in the action set immediately. Write-Actions actions: Merges the specified actions into the current action set Write-Metadata metadata / mask: Writes the masked metadata value into the metadata field. 21

WILDCARDS MAC SRC MAC DST SRC IP IP DST TCP Dport TCP SPort Action Count * 00:02:. * * * Port1 250 * * * 10.2.2.1 80 * Port 3 320 * * 192.* * * * drop 890 * * 192.* * * * * * * * * * local Controll er 100 11 22

IT S ALL ABOUT THE CONTROLLER 'OpenFlow' Controller UI Network Model Controller OpenFlow So OpenFlow is an API! What does the controller do? EVERYTHING 23 Network

REALITY CHECK [OpenFlow] doesn t let you do anything you couldn t do on a network before - Scott Shenker OpenFlow You don t need OpenFlow to solve every age-old problem. - Ivan Pepelnjak 24

SO WHY DO IT ALL? 25

ACTION POSSIBILITIES set output port modify IPv4 fields modify Ethernet fields push/pop MPLS tags unequal path load balancing, multipath routing, NAT, QoS munging, set VLAN, set TOS, interoperate existing MPLS networks blah blah blah CLOUD 26

EG, LOAD BALANCING if every switch is a load balancer then distributed processing means it costs nothing load balance by setting forwarding tables to balance different src/dst IP to different paths. 1 3 Edge Edge Edge 2 X LB Core Core LB X Edge Edge Edge 27

WHY WE WANT OPENFLOW Nerd Glasses off please 28

GOOD PARENTS Martin Casado, Nick McKeown Big Vendors: Juniper, Brocade, NEC, Small Vendors: OpenGear, et al Flotilla of startups - Big Switch, Nicira etc Big name comanies Google, Yahoo, Facebook Indiana University setup official interoperability lab 29

ADD OPENFLOW REPLACE NOTHING Virtual tenant network plane in the controller Keep your existing Control plane OSPF, BGP, ISIS, MPLS TE. ADD OpenFlow, don t replace anything 30

TOPOLOGY LITE Topology independent virtual networks Forwarding tables don t dictate topology. Cabling paths do. Routing protocols do. Business partnerships do. 31

DYNAMIC Controller can repeatedly update forwarding tables Power saving (shutdown unneeded nodes) change per flow topology on a time basis 32

SECURITY Divert flow to service eg. IPS, Proxy, NAC, perform security tasks or check change forwarding table to forward 33

DATA CENTRE 2 3 Core Core Edge Edge Edge Hypervisor Hypervisor Hypervisor 4 VM Migration - no arp - no routing - no ip mobility - works today 1 vhost vhost vhost vhost vhost vhost 5 vhost 34

CAMPUS Indiana University 3000 Access Points Students, Teachers, Researchers, Admin Dormitory, Classrooms, Offices, Mobile forwarding privileges according to user type, user location, application Student in dormitory / classroom Researchers in Lans 35

INTEGRATED MPLS/OPENFLOW 36

3G NETWORKS User control DPI redirection Counters 37

WRAP OpenFlow still early It s all about the controller giving us a better control plane the controller is a another way of defining the flow forwarding in the network software defined networking you can do both, at once Many Open Source projects Many more commercial projects 38

LIVE VIDEO STREAM! 26TH OCTOBER, 2011 h"p://bit.ly/appliedopenflow 39

LINKS http://www.openflow.org http://www.opennetworkingfoundation.org/ http://www.openvswitch.org http://noxrepo.org/wp/ http://www.openflowhub.org/display/beacon 40

Thankyou http://packetpushers.net http://etherealmind.com 41