Damascus University
Faculty of Information Technology Engineering
Department of Computer Systems and Networks
‫دمشق‬ ‫جامعة‬
‫المعلوماتية‬ ‫الهندسة‬ ‫كلية‬
‫الحاسوب‬ ‫والشبكات‬ ‫النظم‬ ‫قسم‬
‫ة‬ّ‫ي‬
‫الشبكات‬ ‫ة‬
‫إدار‬ ‫عملي‬
Network Management
Session 5: Introduction to Software Defined Networks (SDN)
‫اعداد‬
:
‫م‬
.
‫غاندي‬
‫هسام‬
Ghandi
Hessam
PART 1:
BACKGROUND
8/30/2019 By Eng. Ghandy Hessam 2
Introduction
• Drawbacks of existing network:
➢Difficult to perform real world experiments on large scale
production networks.
➢Networks have remained the same for many years.
➢Rate of innovation in networks is slower.
➢Closed Systems: Vendor specific software.
➢Non-standard interfaces to H/W.
➢Traditional networks are known to be “inside the box” paradigm.
• Thus, proposals for a new networking paradigm, namely
programmable networks
8/30/2019 By Eng. Ghandy Hessam 3
Software Defined Networking
• Separate Control plane and Data plane entities.
• Execute or run Control plane software on general purpose
hardware.
• Have programmable data planes.
• An architecture to control not just a networking device but an
entire network.
8/30/2019 By Eng. Ghandy Hessam 4
SDN Architecture
8/30/2019 By Eng. Ghandy Hessam 5
SDN Components: Controller
8/30/2019 By Eng. Ghandy Hessam 6
Existing SDN Controller Implementations
 Java-based versions:
 Python-based versions:
8/30/2019 By Eng. Ghandy Hessam 7
Controller northbound API
 Data Plane managed via
Network Controller
providing high level
services like:
– Firewall
– Load Balancing
– VPN
– Intrusion Detection
– …
8/30/2019 By Eng. Ghandy Hessam 8
SDN Components: OpenFlow Switch
 Plug-in services at the switch
layer
 Filtering traffic based on open
flow rules
 Create a underlay network
 Dynamically reconfigure
network based Events
 The widely known one is:
8/30/2019 By Eng. Ghandy Hessam 9
OpenFlow Protocol
 OpenFlow Basics:
❖ Ports and Port Queues
❖ Flow Table
❖ Packet Matching
❖ Actions and Packet
Forwarding
❖ Messaging Between
Controller and Switch
8/30/2019 By Eng. Ghandy Hessam 10
OF v1.0: Flow Table Entry
8/30/2019 By Eng. Ghandy Hessam 11
OF v1.3: Flow Table Entry
8/30/2019 By Eng. Ghandy Hessam 12
Basic Packet matching function
8/30/2019 By Eng. Ghandy Hessam 13
OpenFlow: Types of Messages (1)
• Asynchronous (Controller-to-Switch)
• Send-packet
• Flow-mod
• Asynchronous (initiated by the switch)
• Read-state
• Features
• Configuration
8/30/2019 By Eng. Ghandy Hessam 14
OpenFlow: Types of Messages (2)
• Asynchronous (initiated by the switch)
• Packet-in
• Flow-removed
• Port-status
• Error
• Symmetric (can be sent in either direction without solicitation)
• Hello
• Echo
• Vendor
8/30/2019 By Eng. Ghandy Hessam 15
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
8/30/2019 By Eng. Ghandy Hessam 16
Dimensions of SDN Applications:
Granularity of Rules (1)
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
8/30/2019 By Eng. Ghandy Hessam 17
Dimensions of SDN Applications:
Granularity of Rules (2)
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
8/30/2019 By Eng. Ghandy Hessam 18
Google’ B4 Application
 Rule installation
 Proactive
 Rule Granularity
 Aggregate
 Distributed
 Multiple instances
8/30/2019 By Eng. Ghandy Hessam 19
End of Session 5
By Eng. Ghandy Hessam
8/30/2019 20

Introduction to software defined networks (sdn)

  • 1.
    Damascus University Faculty ofInformation Technology Engineering Department of Computer Systems and Networks ‫دمشق‬ ‫جامعة‬ ‫المعلوماتية‬ ‫الهندسة‬ ‫كلية‬ ‫الحاسوب‬ ‫والشبكات‬ ‫النظم‬ ‫قسم‬ ‫ة‬ّ‫ي‬ ‫الشبكات‬ ‫ة‬ ‫إدار‬ ‫عملي‬ Network Management Session 5: Introduction to Software Defined Networks (SDN) ‫اعداد‬ : ‫م‬ . ‫غاندي‬ ‫هسام‬ Ghandi Hessam
  • 2.
    PART 1: BACKGROUND 8/30/2019 ByEng. Ghandy Hessam 2
  • 3.
    Introduction • Drawbacks ofexisting network: ➢Difficult to perform real world experiments on large scale production networks. ➢Networks have remained the same for many years. ➢Rate of innovation in networks is slower. ➢Closed Systems: Vendor specific software. ➢Non-standard interfaces to H/W. ➢Traditional networks are known to be “inside the box” paradigm. • Thus, proposals for a new networking paradigm, namely programmable networks 8/30/2019 By Eng. Ghandy Hessam 3
  • 4.
    Software Defined Networking •Separate Control plane and Data plane entities. • Execute or run Control plane software on general purpose hardware. • Have programmable data planes. • An architecture to control not just a networking device but an entire network. 8/30/2019 By Eng. Ghandy Hessam 4
  • 5.
    SDN Architecture 8/30/2019 ByEng. Ghandy Hessam 5
  • 6.
    SDN Components: Controller 8/30/2019By Eng. Ghandy Hessam 6
  • 7.
    Existing SDN ControllerImplementations  Java-based versions:  Python-based versions: 8/30/2019 By Eng. Ghandy Hessam 7
  • 8.
    Controller northbound API Data Plane managed via Network Controller providing high level services like: – Firewall – Load Balancing – VPN – Intrusion Detection – … 8/30/2019 By Eng. Ghandy Hessam 8
  • 9.
    SDN Components: OpenFlowSwitch  Plug-in services at the switch layer  Filtering traffic based on open flow rules  Create a underlay network  Dynamically reconfigure network based Events  The widely known one is: 8/30/2019 By Eng. Ghandy Hessam 9
  • 10.
    OpenFlow Protocol  OpenFlowBasics: ❖ Ports and Port Queues ❖ Flow Table ❖ Packet Matching ❖ Actions and Packet Forwarding ❖ Messaging Between Controller and Switch 8/30/2019 By Eng. Ghandy Hessam 10
  • 11.
    OF v1.0: FlowTable Entry 8/30/2019 By Eng. Ghandy Hessam 11
  • 12.
    OF v1.3: FlowTable Entry 8/30/2019 By Eng. Ghandy Hessam 12
  • 13.
    Basic Packet matchingfunction 8/30/2019 By Eng. Ghandy Hessam 13
  • 14.
    OpenFlow: Types ofMessages (1) • Asynchronous (Controller-to-Switch) • Send-packet • Flow-mod • Asynchronous (initiated by the switch) • Read-state • Features • Configuration 8/30/2019 By Eng. Ghandy Hessam 14
  • 15.
    OpenFlow: Types ofMessages (2) • Asynchronous (initiated by the switch) • Packet-in • Flow-removed • Port-status • Error • Symmetric (can be sent in either direction without solicitation) • Hello • Echo • Vendor 8/30/2019 By Eng. Ghandy Hessam 15
  • 16.
    Dimension of SDNApplications: 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 8/30/2019 By Eng. Ghandy Hessam 16
  • 17.
    Dimensions of SDNApplications: Granularity of Rules (1) 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 8/30/2019 By Eng. Ghandy Hessam 17
  • 18.
    Dimensions of SDNApplications: Granularity of Rules (2) 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 8/30/2019 By Eng. Ghandy Hessam 18
  • 19.
    Google’ B4 Application Rule installation  Proactive  Rule Granularity  Aggregate  Distributed  Multiple instances 8/30/2019 By Eng. Ghandy Hessam 19
  • 20.
    End of Session5 By Eng. Ghandy Hessam 8/30/2019 20