SlideShare uma empresa Scribd logo
1 de 43
CPS 590: Software Defined
Networking
Theophilus Benson
Welcome!
Administrative Details
• Course Format
– Student Engagement (30%)
• Class Participation (20%)
• Paper Reviews (10%)
– Course Assignments (20%)
• Learning to use SDN environments
• Writing Controller Applications
– Course Project (60%)
• Deep dive into an SDN topic
Outline
• Section 1: SDN Ecosystem
– SDN Motivation
– SDN Primer
– Dimensions of SDN Environments
– Dimensions of SDN Applications
• Section 2: OpenFlow Primer
• Section 3: Demo/Use-cases
– Network Virtualization
• Section 4: SDN Challenges
– SDN Challenges
Section 1
Network Today…
• Vertical integrated stacks
– Similar to PC in 1980s
IBM’s Mainframe
Cisco Routers
D.B.
O.S
CPU
COBOL Apps. VLANS
Switch O.S.
ASIC
L3 Routing
Implications of Networking…
• Restricted to ill defined vendor CLI
– Provisioning is slow….
• VM provisioning: 1min
• Virtual network provisioning: 1-3 weeks
Software Defined Networking
• Southbound API: decouples the switch hardware from
control function
– Data plane from control plane
• Switch Operating System: exposes switch hardware
primitives
Network O.S.
Applications
Applications
Applications
Southbound
API
SDN
Switch Operating System
Switch Hardware
Network O.S.
ASIC
Applications
Applications
Current Switch
Vertical stack
SDN Switch
Decoupled
stack
Implications Of SDN
Controller (N. O.S.)
Applications
Applications
Applications
Southbound
API
Switch O.S
Switch HW
Switch O.S
Switch HW
Switch O.S
Switch HW
Global View
Programmatic
Control
Current Networking SDN Enabled Environment
Network O.S.
ASIC
Applications
Applications
Network O.S.
ASIC
Applications
Applications
Network O.S.
ASIC
Applications
Applications
Implications Of SDN
Current Networking SDN Enabled Environment
Controller (N. O.S.)
Applications
Applications
Applications
Southbound
API
Switch O.S
Switch HW
Switch O.S
Switch HW
Switch O.S
Switch HW
• Distributed protocols
• Each switch has a brain
• Hard to achieve optimal
solution
• Network configured indirectly
• Configure protocols
• Hope protocols converge
• Global view of the network
• Applications can achieve optimal
• Southbound API gives fine grained control
over switch
• Network configured directly
• Allows automation
• Allows definition of new interfaces
Network O.S.
ASIC
Applications
Applications
Network O.S.
ASIC
Applications
Applications
Network O.S.
ASIC
Applications
Applications
How SDN Works
Controller (N. O.S.)
Applications
Applications
Applications
Southbound
API
Switch H.W
Switch O.S
Switch H.W
Switch O.S
How to Pick an SDN Environment
Network O.S.
Applications
Applications
Applications
Southbound
API
SDN
Switch Operating System
Switch Hardware
What is the Southbound AP!?
Is the switch hardware
and OS closed?
Is the switch virtual or
physical?
How easy is it to develop
on for the
Controller platform?
Dimensions of SDN Environments:
Vendor Devices
Vertical Stacks
• Vendor bundles switch and
switch OS
– Restricted to vendor OS and
vendor interface
• Low operational overhead
– One stop shop
Whitebox Networking
• Vendor provides hardware
with no switch OS
• Switch OS provided by third
party
– Flexibility in picking OS
• High operational overhead
– Must deal with multiple
vendors
Dimensions of SDN Environments:
Switch Hardware
Virtual: Overlay
• Pure software implementation
– Assumes programmable virtual
switches
– Run in Hypervisor or in the OS
– Larger Flow Table entries (more
memory and CPU)
• Backward compatible
– Physical switches run traditional
protocols
• Traffic sent in tunnels
– Lack of visibility into physical network
Physical: Underlay
• Fine grained control and visibility into
network
• Assumes specialized hardware
– Limited Flow Table entries
Dimensions of SDN Environments:
Southbound Interface
OpenFlow
• Flexible matching
– L2, L3, VLAN, MPLS
• Flexible actions
– Encapsulation: IP-in-IP
– Address rewriting:
• IP address
• Mac address
BGP/XMPP/IS-IS/NetConf
• Limited matching
– IS-IS: L3
– BGP+MPLS: L3+MPLS
• Limited actions
– L3/l2 forwarding
– Encapsulation
Dimensions of SDN Environments:
Controller Types
Modular Controllers
• Application code manipulates
forwarding rules
– E.g. OpenDaylight, Floodlight
• Written in imperative
languages
– Java, C++, Python
• Dominant controller style
High Level Controllers
• Application code specifies declarative
policies
– E.g. Frenetic, McNettle
• Application code is verifiable
– Amendable to formal verification
• Written in functional
languages
– Nettle, OCamal
BigSwitch
• Controller Type
• Modular: Floodlight
• Southbound API: OpenFlow
• OpenFlow 1.3
• SDN Device: Whitebox
• (indigo)
• SDN Flavor
• Underlay+Overlay
Juniper Contrail
• Controller Type
• Modular: OpenContrail
• Southbound API: XMPP/NetConf
• BGP+MPLS
• SDN Device: Vertical Stack
• Propriety Junos
• SDN Flavor
• Overlay
SDN EcoSystem
Arista
OF + proprietary
Underlay
Vertical Stack
Broadcom
OF + proprietary
Underlay
Vertical Stack
HP
OF
Underlay
Vertical Stack
Cisco
OF + proprietary
Underlay+Overlay
Vertical Stack
FloodLight
OF
Underlay+Overlay
Whitebox
Dell
OF
Underlay
Vertical Stack
HP
OF
Underlay
Vertical Stack
Alcatel
BGP
Overlay
Vertical Stack
Juniper
BGP+NetConf
Overlay
Vertical Stack
SDN Stack
• Southbound API: decouples the switch hardware from
control function
– Data plane from control plane
• Switch Operating System: exposes switch hardware
primitives
Controller (Network O.S.)
Applications
Applications
Applications
Southbound
API
SDN
Switch Operating System
Switch Hardware
23
Section2: Southbound API: OpenFlow
OpenFlow
• Developed in Stanford
– Standardized by Open Networking Foundation (ONF)
– Current Version 1.4
• Version implemented by switch vendors: 1.3
• Allows control of underlay + overlay
– Overlay switches: OpenVSwitch/Indigo-light
PC
How SDN Works: OpenFlow
Controller (N. O.S.)
Applications
Applications
Applications
Southbound
API
Switch H.W
Switch O.S
Switch H.W
Switch O.S
OpenFlow
OpenFlow
OpenFlow: Anatomy of a Flow Table
Entry
Switch
Port
MAC
src
MAC
dst
Eth
type
VLAN
ID
IP
Src
IP
Dst
IP
Prot
L4
sport
L4
dport
Match Action Counter
1. Forward packet to zero or more ports
2. Encapsulate and forward to controller
3. Send to normal processing pipeline
4. Modify Fields
When to delete the entry
VLAN
pcp
IP
ToS
Priority Time-out
What order to process the rule
# of Packet/Bytes processed by the rule
OpenFlow: Types of Messages
 Asynchronous (Controller-to-Switch)
 Send-packet: to send packet out of a specific port on a switch
 Flow-mod: to add/delete/modify flows in the flow table
 Asynchronous (initiated by the switch)
 Read-state: to collect statistics about flow table, ports and individual flows
 Features: sent by controller when a switch connects to find out the features supported by a switch
 Configuration: to set and query configuration parameters in the switch
 Asynchronous (initiated by the switch)
 Packet-in: for all packets that do not have a matching rule, this event is sent to controller
 Flow-removed: whenever a flow rule expires, the controller is sent a flow-removed message
 Port-status: whenever a port configuration or state changes, a message is sent to controller
 Error: error messages
 Symmetric (can be sent in either direction without
solicitation)
 Hello: at connection startup
 Echo: to indicate latency, bandwidth or liveliness of a controller-switch connection
 Vendor: for extensions (that can be included in later OpenFlow versions)
Dimension of SDN Applications:
Rule installation
Proactive Rules Reactive Rules
Controller (N. O.S.)
Applications
Applications
Applications
Switch H.W
O.S
Controller (N. O.S.)
Applications
Applications
Applications
Switch H.W
O.S
Dimension of SDN Applications:
Rule installation
Proactive Rules
• Controller pre-installs flow
table entries
– Zero flow setup time
• Requires installation of rules
for all possible traffic patterns
– Requires use of aggregate rules
(Wildcards)
– Require foreknowledge of
traffic patterns
– Waste flow table entries
Reactive Rules
• First packet of each flow
triggers rule insertion by the
controller
– Each flow incurs flow setup
time
– Controller is bottleneck
– Efficient use of flow tables
Dimensions of SDN Applications:
Granularity of Rules
Microflow WildCards (aggregated rules)
Controller (N. O.S.)
Applications
Applications
Applications
Switch H.W
O.S
Controller (N. O.S.)
Applications
Applications
Applications
Switch H.W
O.S
Dimensions of SDN Applications:
Granularity of Rules
Microflow
• One flow table matches one
flow
• Uses CAM/hash-table
– 10-20K per physical switch
• Allows precisions
– Monitoring: gives counters for
individual flows
– Access-Control: allow/deny
individual flows
WildCards (aggregated rules)
• One flow table entry
matches a group of flow
• Uses TCAM
– 5000~4K per physical switch
• Allows scale
– Minimizes overhead by
grouping flows
Dimensions of SDN Applications:
Granularity of Rules
Distributed Controller Centralized Controller
Controller (N. O.S.)
Applications
Applications
Applications
Switch O.S
Switch HW
Switch O.S
Switch HW
Switch O.S
Switch HW
Controller (N. O.S.)
Applications
Applications
Applications
Switch O.S
Switch HW
Switch O.S
Switch HW
Switch O.S
Switch HW
Controller (N. O.S.)
Applications
Applications
Applications
Controller (N. O.S.)
Applications
Applications
Applications
Google’ B4 Application
• Rule installation
• Proactive
• Rule Granularity
• Aggregate
• Distributed
• Multiple instances
Section 2: SDN Challenges
Controller Availability
45
Controller (N. O.S.)
Applications
Applications
Applications
Controller Availability
46
Controller (N. O.S.)
Applications
Applications
Applications
Controller Availability
“control a large force like a small force: divide and conquer”
--Sun Tzu, Art of war
47
• How many controllers?
• How do you assign switches to controllers?
• More importantly: which assignment reduces
processing time
• How to ensure consistency between
controllers
Controller (N. O.S.)
Applications
Applications
Applications
Controller (N. O.S.)
Applications
Applications
Applications
Controller (N. O.S.)
Applications
Applications
Applications
SDN Reliability/Fault Tolerance
48
Controller (N. O.S.)
Applications
Applications
Applications
Controller: Single point of control
• Bug in controller takes the whole
network down
Existing network survives failures or
bugs in code for any one devices
SDN Reliability/Fault Tolerance
49
Controller (N. O.S.)
Applications
Applications
Applications
Controller: Single point of control
• Bug in controller takes the whole
network down
• Single point of failure
Existing network survives failures or
bugs in code for any one devices
SDN Security
50
Controller (N. O.S.)
Applications
Applications
Applications
Controller: Single point of control
• Compromise controller
If one device in the current networks
are compromised the network may
still be safe
SDN Security
51
Controller (N. O.S.)
Applications
Applications
Applications
Controller: Single point of control
• Compromise controller
• Denial of Service attack the
control channel
Data-Plane Limitations
• Limited Number of TCAM entries
– Currently only 1K
• Networks have more than 1K flows
– How to fit network in limited entries?
• Limited control channel capacity
– All switches use same controller interface
– Need to rate limit control messages
• Prioritize certain messages
• Limited switch CPU
– Less power than a smartphone 
– Limit control messages and actions that use
CPU
Controller (N. O.S.)
Applications
Applications
Applications
Switch H.W
O.S
Debugging SDNs
• Problems can occur
anywhere in the SDN
stack
– How do you diagnose
each type of problem?
Network O.S.
Applications
Applications
Applications
Switch Operating
System
Switch Hardware
Buggy
App
Buggy
NOS
Switch Operating
System
Switch Hardware
Buggy
Switc
h
H/W
Buggy
Switc
h
Section 2: SDN – A Systems
Approach to SDN
Conclusion
• An overview of SDN technologies
• Introduction to OpenFlow
• Developing Applications on OpenFlow

Mais conteúdo relacionado

Semelhante a F14_Class1.pptx

Open Flow Protocol
Open Flow ProtocolOpen Flow Protocol
Open Flow ProtocolVishal S M B
 
sdnppt-140325015756-phpapp01.pptx
sdnppt-140325015756-phpapp01.pptxsdnppt-140325015756-phpapp01.pptx
sdnppt-140325015756-phpapp01.pptxAamirMaqsood8
 
Software Defined Networking(SDN) and practical implementation_trupti
Software Defined Networking(SDN) and practical implementation_truptiSoftware Defined Networking(SDN) and practical implementation_trupti
Software Defined Networking(SDN) and practical implementation_truptitrups7778
 
Light Reading BTE_SDNtoolbox_June_2015
Light Reading BTE_SDNtoolbox_June_2015Light Reading BTE_SDNtoolbox_June_2015
Light Reading BTE_SDNtoolbox_June_2015Deborah Porchivina
 
Software defined networking
Software defined networkingSoftware defined networking
Software defined networkingGoogle
 
SDN & NFV.pptx
SDN & NFV.pptxSDN & NFV.pptx
SDN & NFV.pptxRUKESHK1
 
Inter-controller Traffic in ONOS Clusters for SDN Networks
Inter-controller Traffic in ONOS Clusters for SDN Networks Inter-controller Traffic in ONOS Clusters for SDN Networks
Inter-controller Traffic in ONOS Clusters for SDN Networks Paolo Giaccone
 
SDN: Situação do mercado e próximos movimentos
SDN: Situação do mercado e próximos movimentosSDN: Situação do mercado e próximos movimentos
SDN: Situação do mercado e próximos movimentosChristian Esteve Rothenberg
 
Software Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur ChannegowdaSoftware Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur ChannegowdaCPqD
 
Software Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur ChannegowdaSoftware Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur ChannegowdaCPqD
 
Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...
Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...
Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...Radisys Corporation
 
Understanding network and service virtualization
Understanding network and service virtualizationUnderstanding network and service virtualization
Understanding network and service virtualizationSDN Hub
 
DEVNET-1175 OpenDaylight Service Function Chaining
DEVNET-1175	OpenDaylight Service Function ChainingDEVNET-1175	OpenDaylight Service Function Chaining
DEVNET-1175 OpenDaylight Service Function ChainingCisco DevNet
 
Introduction to Software Defined Networking (SDN) presentation by Warren Finc...
Introduction to Software Defined Networking (SDN) presentation by Warren Finc...Introduction to Software Defined Networking (SDN) presentation by Warren Finc...
Introduction to Software Defined Networking (SDN) presentation by Warren Finc...APNIC
 
SDN Fundamentals - short presentation
SDN Fundamentals -  short presentationSDN Fundamentals -  short presentation
SDN Fundamentals - short presentationAzhar Khuwaja
 
SDN Security Talk - (ISC)2_3
SDN Security Talk - (ISC)2_3SDN Security Talk - (ISC)2_3
SDN Security Talk - (ISC)2_3Wen-Pai Lu
 
btNOG 9 presentation Introduction to Software Defined Networking
btNOG 9 presentation Introduction to Software Defined NetworkingbtNOG 9 presentation Introduction to Software Defined Networking
btNOG 9 presentation Introduction to Software Defined NetworkingAPNIC
 

Semelhante a F14_Class1.pptx (20)

Open Flow Protocol
Open Flow ProtocolOpen Flow Protocol
Open Flow Protocol
 
sdnppt-140325015756-phpapp01.pptx
sdnppt-140325015756-phpapp01.pptxsdnppt-140325015756-phpapp01.pptx
sdnppt-140325015756-phpapp01.pptx
 
Software Defined Networking(SDN) and practical implementation_trupti
Software Defined Networking(SDN) and practical implementation_truptiSoftware Defined Networking(SDN) and practical implementation_trupti
Software Defined Networking(SDN) and practical implementation_trupti
 
Sdn ppt
Sdn pptSdn ppt
Sdn ppt
 
Light Reading BTE_SDNtoolbox_June_2015
Light Reading BTE_SDNtoolbox_June_2015Light Reading BTE_SDNtoolbox_June_2015
Light Reading BTE_SDNtoolbox_June_2015
 
4_SDN.pdf
4_SDN.pdf4_SDN.pdf
4_SDN.pdf
 
Software defined networking
Software defined networkingSoftware defined networking
Software defined networking
 
SDN & NFV.pptx
SDN & NFV.pptxSDN & NFV.pptx
SDN & NFV.pptx
 
Inter-controller Traffic in ONOS Clusters for SDN Networks
Inter-controller Traffic in ONOS Clusters for SDN Networks Inter-controller Traffic in ONOS Clusters for SDN Networks
Inter-controller Traffic in ONOS Clusters for SDN Networks
 
SDN: Situação do mercado e próximos movimentos
SDN: Situação do mercado e próximos movimentosSDN: Situação do mercado e próximos movimentos
SDN: Situação do mercado e próximos movimentos
 
Software Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur ChannegowdaSoftware Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur Channegowda
 
Software Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur ChannegowdaSoftware Defined Optical Networks - Mayur Channegowda
Software Defined Optical Networks - Mayur Channegowda
 
Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...
Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...
Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...
 
Understanding network and service virtualization
Understanding network and service virtualizationUnderstanding network and service virtualization
Understanding network and service virtualization
 
DEVNET-1175 OpenDaylight Service Function Chaining
DEVNET-1175	OpenDaylight Service Function ChainingDEVNET-1175	OpenDaylight Service Function Chaining
DEVNET-1175 OpenDaylight Service Function Chaining
 
Introduction to Software Defined Networking (SDN) presentation by Warren Finc...
Introduction to Software Defined Networking (SDN) presentation by Warren Finc...Introduction to Software Defined Networking (SDN) presentation by Warren Finc...
Introduction to Software Defined Networking (SDN) presentation by Warren Finc...
 
Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)
 
SDN Fundamentals - short presentation
SDN Fundamentals -  short presentationSDN Fundamentals -  short presentation
SDN Fundamentals - short presentation
 
SDN Security Talk - (ISC)2_3
SDN Security Talk - (ISC)2_3SDN Security Talk - (ISC)2_3
SDN Security Talk - (ISC)2_3
 
btNOG 9 presentation Introduction to Software Defined Networking
btNOG 9 presentation Introduction to Software Defined NetworkingbtNOG 9 presentation Introduction to Software Defined Networking
btNOG 9 presentation Introduction to Software Defined Networking
 

Mais de Sameer Ali

Lecture 1 - Introduction to Course & Course outline.pptx
Lecture 1 - Introduction to Course & Course outline.pptxLecture 1 - Introduction to Course & Course outline.pptx
Lecture 1 - Introduction to Course & Course outline.pptxSameer Ali
 
cloud-complete.ppt
cloud-complete.pptcloud-complete.ppt
cloud-complete.pptSameer Ali
 
secure_mobile.ppt
secure_mobile.pptsecure_mobile.ppt
secure_mobile.pptSameer Ali
 
bruce-sdn.pptx
bruce-sdn.pptxbruce-sdn.pptx
bruce-sdn.pptxSameer Ali
 
SINDH SALES TAX ON SERVICES ACT 2011.pdf
SINDH SALES TAX ON SERVICES ACT 2011.pdfSINDH SALES TAX ON SERVICES ACT 2011.pdf
SINDH SALES TAX ON SERVICES ACT 2011.pdfSameer Ali
 

Mais de Sameer Ali (8)

Lecture 1 - Introduction to Course & Course outline.pptx
Lecture 1 - Introduction to Course & Course outline.pptxLecture 1 - Introduction to Course & Course outline.pptx
Lecture 1 - Introduction to Course & Course outline.pptx
 
cloud-complete.ppt
cloud-complete.pptcloud-complete.ppt
cloud-complete.ppt
 
Intro (1).ppt
Intro (1).pptIntro (1).ppt
Intro (1).ppt
 
secure_mobile.ppt
secure_mobile.pptsecure_mobile.ppt
secure_mobile.ppt
 
CDP_2(1).pptx
CDP_2(1).pptxCDP_2(1).pptx
CDP_2(1).pptx
 
hel1 (1).ppt
hel1 (1).ppthel1 (1).ppt
hel1 (1).ppt
 
bruce-sdn.pptx
bruce-sdn.pptxbruce-sdn.pptx
bruce-sdn.pptx
 
SINDH SALES TAX ON SERVICES ACT 2011.pdf
SINDH SALES TAX ON SERVICES ACT 2011.pdfSINDH SALES TAX ON SERVICES ACT 2011.pdf
SINDH SALES TAX ON SERVICES ACT 2011.pdf
 

Último

Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxappkodes
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdfShaun Heinrichs
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationAnamaria Contreras
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024Adnet Communications
 
Chapter 9 PPT 4th edition.pdf internal audit
Chapter 9 PPT 4th edition.pdf internal auditChapter 9 PPT 4th edition.pdf internal audit
Chapter 9 PPT 4th edition.pdf internal auditNhtLNguyn9
 
International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...ssuserf63bd7
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Servicecallgirls2057
 
Innovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfInnovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfrichard876048
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessSeta Wicaksana
 
APRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfAPRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfRbc Rbcua
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03DallasHaselhorst
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesKeppelCorporation
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy Verified Accounts
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Pereraictsugar
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfShashank Mehta
 
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...Operational Excellence Consulting
 
Cyber Security Training in Office Environment
Cyber Security Training in Office EnvironmentCyber Security Training in Office Environment
Cyber Security Training in Office Environmentelijahj01012
 
Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Kirill Klimov
 
8447779800, Low rate Call girls in Dwarka mor Delhi NCR
8447779800, Low rate Call girls in Dwarka mor Delhi NCR8447779800, Low rate Call girls in Dwarka mor Delhi NCR
8447779800, Low rate Call girls in Dwarka mor Delhi NCRashishs7044
 
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...ssuserf63bd7
 

Último (20)

Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptx
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement Presentation
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024
 
Chapter 9 PPT 4th edition.pdf internal audit
Chapter 9 PPT 4th edition.pdf internal auditChapter 9 PPT 4th edition.pdf internal audit
Chapter 9 PPT 4th edition.pdf internal audit
 
International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
 
Innovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfInnovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdf
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful Business
 
APRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfAPRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdf
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation Slides
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail Accounts
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Perera
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdf
 
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
 
Cyber Security Training in Office Environment
Cyber Security Training in Office EnvironmentCyber Security Training in Office Environment
Cyber Security Training in Office Environment
 
Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024
 
8447779800, Low rate Call girls in Dwarka mor Delhi NCR
8447779800, Low rate Call girls in Dwarka mor Delhi NCR8447779800, Low rate Call girls in Dwarka mor Delhi NCR
8447779800, Low rate Call girls in Dwarka mor Delhi NCR
 
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
 

F14_Class1.pptx

  • 1. CPS 590: Software Defined Networking Theophilus Benson
  • 3. Administrative Details • Course Format – Student Engagement (30%) • Class Participation (20%) • Paper Reviews (10%) – Course Assignments (20%) • Learning to use SDN environments • Writing Controller Applications – Course Project (60%) • Deep dive into an SDN topic
  • 4. Outline • Section 1: SDN Ecosystem – SDN Motivation – SDN Primer – Dimensions of SDN Environments – Dimensions of SDN Applications • Section 2: OpenFlow Primer • Section 3: Demo/Use-cases – Network Virtualization • Section 4: SDN Challenges – SDN Challenges
  • 6. Network Today… • Vertical integrated stacks – Similar to PC in 1980s IBM’s Mainframe Cisco Routers D.B. O.S CPU COBOL Apps. VLANS Switch O.S. ASIC L3 Routing
  • 7. Implications of Networking… • Restricted to ill defined vendor CLI – Provisioning is slow…. • VM provisioning: 1min • Virtual network provisioning: 1-3 weeks
  • 8. Software Defined Networking • Southbound API: decouples the switch hardware from control function – Data plane from control plane • Switch Operating System: exposes switch hardware primitives Network O.S. Applications Applications Applications Southbound API SDN Switch Operating System Switch Hardware Network O.S. ASIC Applications Applications Current Switch Vertical stack SDN Switch Decoupled stack
  • 9. Implications Of SDN Controller (N. O.S.) Applications Applications Applications Southbound API Switch O.S Switch HW Switch O.S Switch HW Switch O.S Switch HW Global View Programmatic Control Current Networking SDN Enabled Environment Network O.S. ASIC Applications Applications Network O.S. ASIC Applications Applications Network O.S. ASIC Applications Applications
  • 10. Implications Of SDN Current Networking SDN Enabled Environment Controller (N. O.S.) Applications Applications Applications Southbound API Switch O.S Switch HW Switch O.S Switch HW Switch O.S Switch HW • Distributed protocols • Each switch has a brain • Hard to achieve optimal solution • Network configured indirectly • Configure protocols • Hope protocols converge • Global view of the network • Applications can achieve optimal • Southbound API gives fine grained control over switch • Network configured directly • Allows automation • Allows definition of new interfaces Network O.S. ASIC Applications Applications Network O.S. ASIC Applications Applications Network O.S. ASIC Applications Applications
  • 11. How SDN Works Controller (N. O.S.) Applications Applications Applications Southbound API Switch H.W Switch O.S Switch H.W Switch O.S
  • 12. How to Pick an SDN Environment Network O.S. Applications Applications Applications Southbound API SDN Switch Operating System Switch Hardware What is the Southbound AP!? Is the switch hardware and OS closed? Is the switch virtual or physical? How easy is it to develop on for the Controller platform?
  • 13. Dimensions of SDN Environments: Vendor Devices Vertical Stacks • Vendor bundles switch and switch OS – Restricted to vendor OS and vendor interface • Low operational overhead – One stop shop Whitebox Networking • Vendor provides hardware with no switch OS • Switch OS provided by third party – Flexibility in picking OS • High operational overhead – Must deal with multiple vendors
  • 14. Dimensions of SDN Environments: Switch Hardware Virtual: Overlay • Pure software implementation – Assumes programmable virtual switches – Run in Hypervisor or in the OS – Larger Flow Table entries (more memory and CPU) • Backward compatible – Physical switches run traditional protocols • Traffic sent in tunnels – Lack of visibility into physical network Physical: Underlay • Fine grained control and visibility into network • Assumes specialized hardware – Limited Flow Table entries
  • 15. Dimensions of SDN Environments: Southbound Interface OpenFlow • Flexible matching – L2, L3, VLAN, MPLS • Flexible actions – Encapsulation: IP-in-IP – Address rewriting: • IP address • Mac address BGP/XMPP/IS-IS/NetConf • Limited matching – IS-IS: L3 – BGP+MPLS: L3+MPLS • Limited actions – L3/l2 forwarding – Encapsulation
  • 16. Dimensions of SDN Environments: Controller Types Modular Controllers • Application code manipulates forwarding rules – E.g. OpenDaylight, Floodlight • Written in imperative languages – Java, C++, Python • Dominant controller style High Level Controllers • Application code specifies declarative policies – E.g. Frenetic, McNettle • Application code is verifiable – Amendable to formal verification • Written in functional languages – Nettle, OCamal
  • 17. BigSwitch • Controller Type • Modular: Floodlight • Southbound API: OpenFlow • OpenFlow 1.3 • SDN Device: Whitebox • (indigo) • SDN Flavor • Underlay+Overlay
  • 18. Juniper Contrail • Controller Type • Modular: OpenContrail • Southbound API: XMPP/NetConf • BGP+MPLS • SDN Device: Vertical Stack • Propriety Junos • SDN Flavor • Overlay
  • 19. SDN EcoSystem Arista OF + proprietary Underlay Vertical Stack Broadcom OF + proprietary Underlay Vertical Stack HP OF Underlay Vertical Stack Cisco OF + proprietary Underlay+Overlay Vertical Stack FloodLight OF Underlay+Overlay Whitebox Dell OF Underlay Vertical Stack HP OF Underlay Vertical Stack Alcatel BGP Overlay Vertical Stack Juniper BGP+NetConf Overlay Vertical Stack
  • 20. SDN Stack • Southbound API: decouples the switch hardware from control function – Data plane from control plane • Switch Operating System: exposes switch hardware primitives Controller (Network O.S.) Applications Applications Applications Southbound API SDN Switch Operating System Switch Hardware
  • 22. OpenFlow • Developed in Stanford – Standardized by Open Networking Foundation (ONF) – Current Version 1.4 • Version implemented by switch vendors: 1.3 • Allows control of underlay + overlay – Overlay switches: OpenVSwitch/Indigo-light PC
  • 23. How SDN Works: OpenFlow Controller (N. O.S.) Applications Applications Applications Southbound API Switch H.W Switch O.S Switch H.W Switch O.S OpenFlow OpenFlow
  • 24. OpenFlow: Anatomy of a Flow Table Entry Switch Port MAC src MAC dst Eth type VLAN ID IP Src IP Dst IP Prot L4 sport L4 dport Match Action Counter 1. Forward packet to zero or more ports 2. Encapsulate and forward to controller 3. Send to normal processing pipeline 4. Modify Fields When to delete the entry VLAN pcp IP ToS Priority Time-out What order to process the rule # of Packet/Bytes processed by the rule
  • 25. OpenFlow: Types of Messages  Asynchronous (Controller-to-Switch)  Send-packet: to send packet out of a specific port on a switch  Flow-mod: to add/delete/modify flows in the flow table  Asynchronous (initiated by the switch)  Read-state: to collect statistics about flow table, ports and individual flows  Features: sent by controller when a switch connects to find out the features supported by a switch  Configuration: to set and query configuration parameters in the switch  Asynchronous (initiated by the switch)  Packet-in: for all packets that do not have a matching rule, this event is sent to controller  Flow-removed: whenever a flow rule expires, the controller is sent a flow-removed message  Port-status: whenever a port configuration or state changes, a message is sent to controller  Error: error messages  Symmetric (can be sent in either direction without solicitation)  Hello: at connection startup  Echo: to indicate latency, bandwidth or liveliness of a controller-switch connection  Vendor: for extensions (that can be included in later OpenFlow versions)
  • 26. Dimension of SDN Applications: Rule installation Proactive Rules Reactive Rules Controller (N. O.S.) Applications Applications Applications Switch H.W O.S Controller (N. O.S.) Applications Applications Applications Switch H.W O.S
  • 27. Dimension of SDN Applications: Rule installation Proactive Rules • Controller pre-installs flow table entries – Zero flow setup time • Requires installation of rules for all possible traffic patterns – Requires use of aggregate rules (Wildcards) – Require foreknowledge of traffic patterns – Waste flow table entries Reactive Rules • First packet of each flow triggers rule insertion by the controller – Each flow incurs flow setup time – Controller is bottleneck – Efficient use of flow tables
  • 28. Dimensions of SDN Applications: Granularity of Rules Microflow WildCards (aggregated rules) Controller (N. O.S.) Applications Applications Applications Switch H.W O.S Controller (N. O.S.) Applications Applications Applications Switch H.W O.S
  • 29. Dimensions of SDN Applications: Granularity of Rules Microflow • One flow table matches one flow • Uses CAM/hash-table – 10-20K per physical switch • Allows precisions – Monitoring: gives counters for individual flows – Access-Control: allow/deny individual flows WildCards (aggregated rules) • One flow table entry matches a group of flow • Uses TCAM – 5000~4K per physical switch • Allows scale – Minimizes overhead by grouping flows
  • 30. Dimensions of SDN Applications: Granularity of Rules Distributed Controller Centralized Controller Controller (N. O.S.) Applications Applications Applications Switch O.S Switch HW Switch O.S Switch HW Switch O.S Switch HW Controller (N. O.S.) Applications Applications Applications Switch O.S Switch HW Switch O.S Switch HW Switch O.S Switch HW Controller (N. O.S.) Applications Applications Applications Controller (N. O.S.) Applications Applications Applications
  • 31. Google’ B4 Application • Rule installation • Proactive • Rule Granularity • Aggregate • Distributed • Multiple instances
  • 32. Section 2: SDN Challenges
  • 33. Controller Availability 45 Controller (N. O.S.) Applications Applications Applications
  • 34. Controller Availability 46 Controller (N. O.S.) Applications Applications Applications
  • 35. Controller Availability “control a large force like a small force: divide and conquer” --Sun Tzu, Art of war 47 • How many controllers? • How do you assign switches to controllers? • More importantly: which assignment reduces processing time • How to ensure consistency between controllers Controller (N. O.S.) Applications Applications Applications Controller (N. O.S.) Applications Applications Applications Controller (N. O.S.) Applications Applications Applications
  • 36. SDN Reliability/Fault Tolerance 48 Controller (N. O.S.) Applications Applications Applications Controller: Single point of control • Bug in controller takes the whole network down Existing network survives failures or bugs in code for any one devices
  • 37. SDN Reliability/Fault Tolerance 49 Controller (N. O.S.) Applications Applications Applications Controller: Single point of control • Bug in controller takes the whole network down • Single point of failure Existing network survives failures or bugs in code for any one devices
  • 38. SDN Security 50 Controller (N. O.S.) Applications Applications Applications Controller: Single point of control • Compromise controller If one device in the current networks are compromised the network may still be safe
  • 39. SDN Security 51 Controller (N. O.S.) Applications Applications Applications Controller: Single point of control • Compromise controller • Denial of Service attack the control channel
  • 40. Data-Plane Limitations • Limited Number of TCAM entries – Currently only 1K • Networks have more than 1K flows – How to fit network in limited entries? • Limited control channel capacity – All switches use same controller interface – Need to rate limit control messages • Prioritize certain messages • Limited switch CPU – Less power than a smartphone  – Limit control messages and actions that use CPU Controller (N. O.S.) Applications Applications Applications Switch H.W O.S
  • 41. Debugging SDNs • Problems can occur anywhere in the SDN stack – How do you diagnose each type of problem? Network O.S. Applications Applications Applications Switch Operating System Switch Hardware Buggy App Buggy NOS Switch Operating System Switch Hardware Buggy Switc h H/W Buggy Switc h
  • 42. Section 2: SDN – A Systems Approach to SDN
  • 43. Conclusion • An overview of SDN technologies • Introduction to OpenFlow • Developing Applications on OpenFlow