SlideShare a Scribd company logo
Understanding OpenFlow 
Technical Whitepaper 
June, 2014 
Saurabh Kumar Agarwal 
Email: saurabh29july@gmail.com
Understanding OpenFlow | Technical Whitepaper 
Abstract 
Technical overview of OpenFlow Switch Specification, Version 1.0.0, published on December 
31, 2009 by Open Networking Foundation. 
Introduction 
OpenFlow protocol addresses the two key requirements needed to turn the concept of SDN 
into practical implementation. First, there must be a common logical architecture in all 
network devices to be managed by an SDN controller. 
needed between the SDN controller and the network device. 
OpenFlow is defined in the OpenFlow Switch Specification, published by the Open 
Networking Foundation (ONF). ONF is a consortium of software providers, conten 
networks, and networking equipment vendors whose purpose is to promote SDN. 
This paper discusses the basic technical aspects of OpenFlow 1.0.0 
Traditional Vs. OpenFlow Based 
There is a distinct difference between how switching happens 
and how OpenFlow proposes to change it. To further understand the concepts of 
OpenFlow it is important to know this difference. 
Traditional Switching 
Switching traditionally at L2 level has always been done using MAC addresses. Eac 
maintains its own MAC table based on which it learns where other devices are located. 
1. Client 1 sends data to Client 2 
2. Frame arrives at Switch A with MAC = 
3. MAC address table is checked for location of 
4. Entry is found in forwarding table 
5. Frame is transmitted out of 
Second, a standard, secure protocol is 
Networks 
in traditional networks 
EEEE:EEEE:EEEE to MAC = FFFF:FFFF:FFFF 
MAC FFFF:FFFF:FFFF 
P2 
content delivery 
Each device
Understanding OpenFlow | Technical Whitepaper 
OpenFlow Switching 
Switching in OpenFlow based networks is done using flows instead of MAC or IP tables. Each 
flow entry has rules and actions corresponding to it. When the 
corresponding action is taken by device. 
Every flow in OpenFlow has three parts to it: 
1. Rule – This is what defines the flow and carries information for packet matching. 
2. Action – What you want switch to do on rule match? There are 
OpenFlow supports: 
a. Forward – Forward to the output port 
b. Drop – Drop the packets 
c. Redirect – Encapsulate the packet and redirect to SDN Controller. 
OpenFlow Components 
An SDN controller communicates with OpenFlow 
protocol running over the Secure Sockets Layer (SSL). Each 
OpenFlow devices and, possibly, to end 
of packet flows. Within each device 
or firmware—are used to manage the flows of packets through the 
So the major two components of OpenFlow are, 
rule is satisfied, the 
three actions that 
OpenFlow-compatible devices using the OpenFlow 
device connects to other 
end-user devices that are the sources and destinations 
device, a series of tables—typically implemented in hardware 
device. 
lly Flow Table and Secure Channel Protocol 
Protocol.
Understanding OpenFlow | Technical Whitepaper 
Flow Table 
The basic building block of OpenFlow is the flow table. E 
passes through one or more flow tables. Flow t 
Header Field 
Each packet that enters a device 
table has following three things. 
Action Counters 
Header Field 
Each flow table header entry is made up of six components, which defined the matching 
rules and other basic rules for the corresponding flow. 
Action 
Each flow entry is associated with zero or more actions that dictate how the device handles 
matching packets. Actions in OpenFlow specification are defined as required and optional. 
Optional actions are e not required to be implemented by vendors as such. 
ach
Understanding OpenFlow | Technical Whitepaper 
Counters 
Counters are maintained per-table, per-per 
flow, per-port and per queue. There are a set of 
required counters that all the implementations should support and there are additionally 
optional counters. 
Flow Matching Example 
A sample packet flow matching flowchart is below explaining how the packet matching is 
done with OpenFlow 1.0.0.
Understanding OpenFlow | Technical Whitepaper 
Secure Channel 
The OpenFlow protocol describes message exchanges that take place between an OpenFlow 
controller and an OpenFlow device. device 
Typically, the protocol is implemented on top of SSL or 
Transport Layer Security (TLS), providing a secure OpenFlow channel. 
The OpenFlow protocol enables the controller to perform add, update, and delete actions to 
the flow entries s in the flow tables. tables 
It supports three types of messages: 
1. Controller-to-Device: : These messages are initiated by the controller and, in some 
cases, require a response from the 
device. 
2. Asynchronous: These types of messages are sent without solicitation from the 
controller. 
3. Symmetric: These messages are sent without solicitation from either the controller 
or the device. . They are simple yet helpful. 
Below is the list of complete OpenFlow messages th 
support. 
that any implementation needs to 
. at
OpenFlow Communication Example 
Below is a example of how OpenFlow communication is setup and maintained with 
which is OpenFlow enabled. 
References 
Open Networking Foundation 
OpenFlow 1.0.0 Specification 
Understanding OpenFlow | Technical Whitepaper 
a switch

More Related Content

What's hot

Architecture of OpenFlow SDNs
Architecture of OpenFlow SDNsArchitecture of OpenFlow SDNs
Architecture of OpenFlow SDNs
US-Ignite
 
Open Flow Tutorial Series - Set 1
Open Flow Tutorial Series - Set 1Open Flow Tutorial Series - Set 1
Open Flow Tutorial Series - Set 1
Radhika Hirannaiah
 
SDN Project PPT
SDN Project PPTSDN Project PPT
SDN Project PPT
Matthew Chang
 
SDN (Software Defined Networking) Controller
SDN (Software Defined Networking) ControllerSDN (Software Defined Networking) Controller
SDN (Software Defined Networking) Controller
Vipin Gupta
 
The Openflow Soft Switch
The Openflow Soft SwitchThe Openflow Soft Switch
The Openflow Soft Switch
Krzysztof Rutka
 
Open Network Operating System
Open Network Operating SystemOpen Network Operating System
Open Network Operating System
Umesh Krishnaswamy
 
Software Load Balancer for OpenFlow Complaint SDN architecture
Software Load Balancer for OpenFlow Complaint SDN architectureSoftware Load Balancer for OpenFlow Complaint SDN architecture
Software Load Balancer for OpenFlow Complaint SDN architecture
Pritesh Ranjan
 
opendayight loadBalancer
opendayight loadBalancer opendayight loadBalancer
opendayight loadBalancer
Khubaib Mahar
 
Implementing MPLS Services using Openflow
Implementing MPLS Services using OpenflowImplementing MPLS Services using Openflow
Implementing MPLS Services using Openflow
APNIC
 
Introduction to OpenFlow
Introduction to OpenFlowIntroduction to OpenFlow
Introduction to OpenFlow
rjain51
 
Software defined networks and openflow protocol
Software defined networks and openflow protocolSoftware defined networks and openflow protocol
Software defined networks and openflow protocol
Mahesh Mohan
 
Onos summit roadmap dec 9
Onos summit  roadmap dec 9Onos summit  roadmap dec 9
Onos summit roadmap dec 9
ONOS Project
 
Ch 02 --- sdn and openflow architecture
Ch 02 --- sdn and openflow architectureCh 02 --- sdn and openflow architecture
Ch 02 --- sdn and openflow architecture
Yoram Orzach
 
software defined network, openflow protocol and its controllers
software defined network, openflow protocol and its controllerssoftware defined network, openflow protocol and its controllers
software defined network, openflow protocol and its controllers
Isaku Yamahata
 
Tech Talk: ONOS- A Distributed SDN Network Operating System
Tech Talk: ONOS- A Distributed SDN Network Operating SystemTech Talk: ONOS- A Distributed SDN Network Operating System
Tech Talk: ONOS- A Distributed SDN Network Operating System
nvirters
 
SDN Architecture & Ecosystem
SDN Architecture & EcosystemSDN Architecture & Ecosystem
SDN Architecture & Ecosystem
Kingston Smiler
 
Design and Implementation of a Load Balancing Algorithm for a Clustered SDN C...
Design and Implementation of a Load Balancing Algorithm for a Clustered SDN C...Design and Implementation of a Load Balancing Algorithm for a Clustered SDN C...
Design and Implementation of a Load Balancing Algorithm for a Clustered SDN C...
Daniel Gheorghita
 
Openlab.2014 02-13.major.vi sion
Openlab.2014 02-13.major.vi sionOpenlab.2014 02-13.major.vi sion
Openlab.2014 02-13.major.vi sion
Ccie Light
 
The dark side of SDN and OpenFlow
The dark side of SDN and OpenFlowThe dark side of SDN and OpenFlow
The dark side of SDN and OpenFlow
Diego Kreutz
 
Programming the Network Data Plane
Programming the Network Data PlaneProgramming the Network Data Plane
Programming the Network Data Plane
C4Media
 

What's hot (20)

Architecture of OpenFlow SDNs
Architecture of OpenFlow SDNsArchitecture of OpenFlow SDNs
Architecture of OpenFlow SDNs
 
Open Flow Tutorial Series - Set 1
Open Flow Tutorial Series - Set 1Open Flow Tutorial Series - Set 1
Open Flow Tutorial Series - Set 1
 
SDN Project PPT
SDN Project PPTSDN Project PPT
SDN Project PPT
 
SDN (Software Defined Networking) Controller
SDN (Software Defined Networking) ControllerSDN (Software Defined Networking) Controller
SDN (Software Defined Networking) Controller
 
The Openflow Soft Switch
The Openflow Soft SwitchThe Openflow Soft Switch
The Openflow Soft Switch
 
Open Network Operating System
Open Network Operating SystemOpen Network Operating System
Open Network Operating System
 
Software Load Balancer for OpenFlow Complaint SDN architecture
Software Load Balancer for OpenFlow Complaint SDN architectureSoftware Load Balancer for OpenFlow Complaint SDN architecture
Software Load Balancer for OpenFlow Complaint SDN architecture
 
opendayight loadBalancer
opendayight loadBalancer opendayight loadBalancer
opendayight loadBalancer
 
Implementing MPLS Services using Openflow
Implementing MPLS Services using OpenflowImplementing MPLS Services using Openflow
Implementing MPLS Services using Openflow
 
Introduction to OpenFlow
Introduction to OpenFlowIntroduction to OpenFlow
Introduction to OpenFlow
 
Software defined networks and openflow protocol
Software defined networks and openflow protocolSoftware defined networks and openflow protocol
Software defined networks and openflow protocol
 
Onos summit roadmap dec 9
Onos summit  roadmap dec 9Onos summit  roadmap dec 9
Onos summit roadmap dec 9
 
Ch 02 --- sdn and openflow architecture
Ch 02 --- sdn and openflow architectureCh 02 --- sdn and openflow architecture
Ch 02 --- sdn and openflow architecture
 
software defined network, openflow protocol and its controllers
software defined network, openflow protocol and its controllerssoftware defined network, openflow protocol and its controllers
software defined network, openflow protocol and its controllers
 
Tech Talk: ONOS- A Distributed SDN Network Operating System
Tech Talk: ONOS- A Distributed SDN Network Operating SystemTech Talk: ONOS- A Distributed SDN Network Operating System
Tech Talk: ONOS- A Distributed SDN Network Operating System
 
SDN Architecture & Ecosystem
SDN Architecture & EcosystemSDN Architecture & Ecosystem
SDN Architecture & Ecosystem
 
Design and Implementation of a Load Balancing Algorithm for a Clustered SDN C...
Design and Implementation of a Load Balancing Algorithm for a Clustered SDN C...Design and Implementation of a Load Balancing Algorithm for a Clustered SDN C...
Design and Implementation of a Load Balancing Algorithm for a Clustered SDN C...
 
Openlab.2014 02-13.major.vi sion
Openlab.2014 02-13.major.vi sionOpenlab.2014 02-13.major.vi sion
Openlab.2014 02-13.major.vi sion
 
The dark side of SDN and OpenFlow
The dark side of SDN and OpenFlowThe dark side of SDN and OpenFlow
The dark side of SDN and OpenFlow
 
Programming the Network Data Plane
Programming the Network Data PlaneProgramming the Network Data Plane
Programming the Network Data Plane
 

Similar to Understanding OpenFlow

Lecture14 1
Lecture14 1Lecture14 1
Lecture14 1
Edwin Castillo
 
Looking at SDN with DDS Glasses
Looking at SDN with DDS GlassesLooking at SDN with DDS Glasses
Looking at SDN with DDS Glasses
Angelo Corsaro
 
EE552SDNAunAhsan57371357
EE552SDNAunAhsan57371357EE552SDNAunAhsan57371357
EE552SDNAunAhsan57371357
Aun Ahsan
 
SDN Fundamentals - short presentation
SDN Fundamentals -  short presentationSDN Fundamentals -  short presentation
SDN Fundamentals - short presentation
Azhar Khuwaja
 
Mr201304 open flow_security_eng
Mr201304 open flow_security_engMr201304 open flow_security_eng
Mr201304 open flow_security_eng
FFRI, Inc.
 
Ch 03 --- the OpenFlow protocols
Ch 03 --- the OpenFlow protocolsCh 03 --- the OpenFlow protocols
Ch 03 --- the OpenFlow protocols
Yoram Orzach
 
CSC 451551 Computer Networks Fall 2016Project 4 Softwar.docx
CSC 451551 Computer Networks Fall 2016Project 4 Softwar.docxCSC 451551 Computer Networks Fall 2016Project 4 Softwar.docx
CSC 451551 Computer Networks Fall 2016Project 4 Softwar.docx
annettsparrow
 
Open flow
Open flowOpen flow
Open flow
Oded Rotter
 
Spirent TestCenter OpenFlow Controller Emulation
Spirent TestCenter OpenFlow Controller EmulationSpirent TestCenter OpenFlow Controller Emulation
Spirent TestCenter OpenFlow Controller Emulation
Malathi Malla
 
SDN – Hybrid architecture
SDN – Hybrid architectureSDN – Hybrid architecture
SDN – Hybrid architecture
Elena Verizhnikova
 
Transforming a traditional home gateway into a hardwareaccelerated SDN switch
Transforming a traditional home gateway into a hardwareaccelerated SDN switchTransforming a traditional home gateway into a hardwareaccelerated SDN switch
Transforming a traditional home gateway into a hardwareaccelerated SDN switch
IJECEIAES
 
OpenFlow — the key standard of Software-Defined Networks
OpenFlow — the key standard of Software-Defined NetworksOpenFlow — the key standard of Software-Defined Networks
OpenFlow — the key standard of Software-Defined Networks
Minsk Linux User Group
 
Open switches story mohamed hassan v4
Open switches story   mohamed hassan v4Open switches story   mohamed hassan v4
Open switches story mohamed hassan v4
Mohamed Hassan
 
White paper: Software-Defined Networking Matrix Switching
White paper: Software-Defined Networking Matrix SwitchingWhite paper: Software-Defined Networking Matrix Switching
White paper: Software-Defined Networking Matrix Switching
Joel W. King
 
Modification of l3 learning switch code for firewall functionality in pox con...
Modification of l3 learning switch code for firewall functionality in pox con...Modification of l3 learning switch code for firewall functionality in pox con...
Modification of l3 learning switch code for firewall functionality in pox con...
eSAT Journals
 
DesignofSDNmanageableswitch.pdf
DesignofSDNmanageableswitch.pdfDesignofSDNmanageableswitch.pdf
DesignofSDNmanageableswitch.pdf
Fernando Velez Varela
 
SDN_Gustaf_Nilstadius
SDN_Gustaf_NilstadiusSDN_Gustaf_Nilstadius
SDN_Gustaf_Nilstadius
Gustaf Nilstadius
 
Reenu Joseph.pptx
Reenu Joseph.pptxReenu Joseph.pptx
Reenu Joseph.pptx
reenujoseph4
 
Open Flow Protocol
Open Flow ProtocolOpen Flow Protocol
Open Flow Protocol
Vishal S M B
 
Network standards
Network standardsNetwork standards
Network standards
hspatalia
 

Similar to Understanding OpenFlow (20)

Lecture14 1
Lecture14 1Lecture14 1
Lecture14 1
 
Looking at SDN with DDS Glasses
Looking at SDN with DDS GlassesLooking at SDN with DDS Glasses
Looking at SDN with DDS Glasses
 
EE552SDNAunAhsan57371357
EE552SDNAunAhsan57371357EE552SDNAunAhsan57371357
EE552SDNAunAhsan57371357
 
SDN Fundamentals - short presentation
SDN Fundamentals -  short presentationSDN Fundamentals -  short presentation
SDN Fundamentals - short presentation
 
Mr201304 open flow_security_eng
Mr201304 open flow_security_engMr201304 open flow_security_eng
Mr201304 open flow_security_eng
 
Ch 03 --- the OpenFlow protocols
Ch 03 --- the OpenFlow protocolsCh 03 --- the OpenFlow protocols
Ch 03 --- the OpenFlow protocols
 
CSC 451551 Computer Networks Fall 2016Project 4 Softwar.docx
CSC 451551 Computer Networks Fall 2016Project 4 Softwar.docxCSC 451551 Computer Networks Fall 2016Project 4 Softwar.docx
CSC 451551 Computer Networks Fall 2016Project 4 Softwar.docx
 
Open flow
Open flowOpen flow
Open flow
 
Spirent TestCenter OpenFlow Controller Emulation
Spirent TestCenter OpenFlow Controller EmulationSpirent TestCenter OpenFlow Controller Emulation
Spirent TestCenter OpenFlow Controller Emulation
 
SDN – Hybrid architecture
SDN – Hybrid architectureSDN – Hybrid architecture
SDN – Hybrid architecture
 
Transforming a traditional home gateway into a hardwareaccelerated SDN switch
Transforming a traditional home gateway into a hardwareaccelerated SDN switchTransforming a traditional home gateway into a hardwareaccelerated SDN switch
Transforming a traditional home gateway into a hardwareaccelerated SDN switch
 
OpenFlow — the key standard of Software-Defined Networks
OpenFlow — the key standard of Software-Defined NetworksOpenFlow — the key standard of Software-Defined Networks
OpenFlow — the key standard of Software-Defined Networks
 
Open switches story mohamed hassan v4
Open switches story   mohamed hassan v4Open switches story   mohamed hassan v4
Open switches story mohamed hassan v4
 
White paper: Software-Defined Networking Matrix Switching
White paper: Software-Defined Networking Matrix SwitchingWhite paper: Software-Defined Networking Matrix Switching
White paper: Software-Defined Networking Matrix Switching
 
Modification of l3 learning switch code for firewall functionality in pox con...
Modification of l3 learning switch code for firewall functionality in pox con...Modification of l3 learning switch code for firewall functionality in pox con...
Modification of l3 learning switch code for firewall functionality in pox con...
 
DesignofSDNmanageableswitch.pdf
DesignofSDNmanageableswitch.pdfDesignofSDNmanageableswitch.pdf
DesignofSDNmanageableswitch.pdf
 
SDN_Gustaf_Nilstadius
SDN_Gustaf_NilstadiusSDN_Gustaf_Nilstadius
SDN_Gustaf_Nilstadius
 
Reenu Joseph.pptx
Reenu Joseph.pptxReenu Joseph.pptx
Reenu Joseph.pptx
 
Open Flow Protocol
Open Flow ProtocolOpen Flow Protocol
Open Flow Protocol
 
Network standards
Network standardsNetwork standards
Network standards
 

Recently uploaded

Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Transcat
 
AI-Based Home Security System : Home security
AI-Based Home Security System : Home securityAI-Based Home Security System : Home security
AI-Based Home Security System : Home security
AIRCC Publishing Corporation
 
Generative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdfGenerative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdf
mahaffeycheryld
 
2. protection of river banks and bed erosion protection works.ppt
2. protection of river banks and bed erosion protection works.ppt2. protection of river banks and bed erosion protection works.ppt
2. protection of river banks and bed erosion protection works.ppt
abdatawakjira
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
Open Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surfaceOpen Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surface
Indrajeet sahu
 
Pressure Relief valve used in flow line to release the over pressure at our d...
Pressure Relief valve used in flow line to release the over pressure at our d...Pressure Relief valve used in flow line to release the over pressure at our d...
Pressure Relief valve used in flow line to release the over pressure at our d...
cannyengineerings
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
nedcocy
 
Supermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdfSupermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdf
Kamal Acharya
 
smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...
um7474492
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
Dwarkadas J Sanghvi College of Engineering
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
harshapolam10
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
Blood finder application project report (1).pdf
Blood finder application project report (1).pdfBlood finder application project report (1).pdf
Blood finder application project report (1).pdf
Kamal Acharya
 
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
sydezfe
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
Call For Paper -3rd International Conference on Artificial Intelligence Advan...
Call For Paper -3rd International Conference on Artificial Intelligence Advan...Call For Paper -3rd International Conference on Artificial Intelligence Advan...
Call For Paper -3rd International Conference on Artificial Intelligence Advan...
ijseajournal
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
PriyankaKilaniya
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
aryanpankaj78
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
CVCSOfficial
 

Recently uploaded (20)

Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
 
AI-Based Home Security System : Home security
AI-Based Home Security System : Home securityAI-Based Home Security System : Home security
AI-Based Home Security System : Home security
 
Generative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdfGenerative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdf
 
2. protection of river banks and bed erosion protection works.ppt
2. protection of river banks and bed erosion protection works.ppt2. protection of river banks and bed erosion protection works.ppt
2. protection of river banks and bed erosion protection works.ppt
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
Open Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surfaceOpen Channel Flow: fluid flow with a free surface
Open Channel Flow: fluid flow with a free surface
 
Pressure Relief valve used in flow line to release the over pressure at our d...
Pressure Relief valve used in flow line to release the over pressure at our d...Pressure Relief valve used in flow line to release the over pressure at our d...
Pressure Relief valve used in flow line to release the over pressure at our d...
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
 
Supermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdfSupermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdf
 
smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
Blood finder application project report (1).pdf
Blood finder application project report (1).pdfBlood finder application project report (1).pdf
Blood finder application project report (1).pdf
 
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
Call For Paper -3rd International Conference on Artificial Intelligence Advan...
Call For Paper -3rd International Conference on Artificial Intelligence Advan...Call For Paper -3rd International Conference on Artificial Intelligence Advan...
Call For Paper -3rd International Conference on Artificial Intelligence Advan...
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
 

Understanding OpenFlow

  • 1. Understanding OpenFlow Technical Whitepaper June, 2014 Saurabh Kumar Agarwal Email: saurabh29july@gmail.com
  • 2. Understanding OpenFlow | Technical Whitepaper Abstract Technical overview of OpenFlow Switch Specification, Version 1.0.0, published on December 31, 2009 by Open Networking Foundation. Introduction OpenFlow protocol addresses the two key requirements needed to turn the concept of SDN into practical implementation. First, there must be a common logical architecture in all network devices to be managed by an SDN controller. needed between the SDN controller and the network device. OpenFlow is defined in the OpenFlow Switch Specification, published by the Open Networking Foundation (ONF). ONF is a consortium of software providers, conten networks, and networking equipment vendors whose purpose is to promote SDN. This paper discusses the basic technical aspects of OpenFlow 1.0.0 Traditional Vs. OpenFlow Based There is a distinct difference between how switching happens and how OpenFlow proposes to change it. To further understand the concepts of OpenFlow it is important to know this difference. Traditional Switching Switching traditionally at L2 level has always been done using MAC addresses. Eac maintains its own MAC table based on which it learns where other devices are located. 1. Client 1 sends data to Client 2 2. Frame arrives at Switch A with MAC = 3. MAC address table is checked for location of 4. Entry is found in forwarding table 5. Frame is transmitted out of Second, a standard, secure protocol is Networks in traditional networks EEEE:EEEE:EEEE to MAC = FFFF:FFFF:FFFF MAC FFFF:FFFF:FFFF P2 content delivery Each device
  • 3. Understanding OpenFlow | Technical Whitepaper OpenFlow Switching Switching in OpenFlow based networks is done using flows instead of MAC or IP tables. Each flow entry has rules and actions corresponding to it. When the corresponding action is taken by device. Every flow in OpenFlow has three parts to it: 1. Rule – This is what defines the flow and carries information for packet matching. 2. Action – What you want switch to do on rule match? There are OpenFlow supports: a. Forward – Forward to the output port b. Drop – Drop the packets c. Redirect – Encapsulate the packet and redirect to SDN Controller. OpenFlow Components An SDN controller communicates with OpenFlow protocol running over the Secure Sockets Layer (SSL). Each OpenFlow devices and, possibly, to end of packet flows. Within each device or firmware—are used to manage the flows of packets through the So the major two components of OpenFlow are, rule is satisfied, the three actions that OpenFlow-compatible devices using the OpenFlow device connects to other end-user devices that are the sources and destinations device, a series of tables—typically implemented in hardware device. lly Flow Table and Secure Channel Protocol Protocol.
  • 4. Understanding OpenFlow | Technical Whitepaper Flow Table The basic building block of OpenFlow is the flow table. E passes through one or more flow tables. Flow t Header Field Each packet that enters a device table has following three things. Action Counters Header Field Each flow table header entry is made up of six components, which defined the matching rules and other basic rules for the corresponding flow. Action Each flow entry is associated with zero or more actions that dictate how the device handles matching packets. Actions in OpenFlow specification are defined as required and optional. Optional actions are e not required to be implemented by vendors as such. ach
  • 5. Understanding OpenFlow | Technical Whitepaper Counters Counters are maintained per-table, per-per flow, per-port and per queue. There are a set of required counters that all the implementations should support and there are additionally optional counters. Flow Matching Example A sample packet flow matching flowchart is below explaining how the packet matching is done with OpenFlow 1.0.0.
  • 6. Understanding OpenFlow | Technical Whitepaper Secure Channel The OpenFlow protocol describes message exchanges that take place between an OpenFlow controller and an OpenFlow device. device Typically, the protocol is implemented on top of SSL or Transport Layer Security (TLS), providing a secure OpenFlow channel. The OpenFlow protocol enables the controller to perform add, update, and delete actions to the flow entries s in the flow tables. tables It supports three types of messages: 1. Controller-to-Device: : These messages are initiated by the controller and, in some cases, require a response from the device. 2. Asynchronous: These types of messages are sent without solicitation from the controller. 3. Symmetric: These messages are sent without solicitation from either the controller or the device. . They are simple yet helpful. Below is the list of complete OpenFlow messages th support. that any implementation needs to . at
  • 7. OpenFlow Communication Example Below is a example of how OpenFlow communication is setup and maintained with which is OpenFlow enabled. References Open Networking Foundation OpenFlow 1.0.0 Specification Understanding OpenFlow | Technical Whitepaper a switch