SlideShare a Scribd company logo
SDN Demystified 
Dean Pemberton – NSRC
Who am I 
• Dean Pemberton 
– NSRC 
• Trainer/Network Engineer 
– Victoria University of Wellington 
• SDN Research Associate 
– InternetNZ 
• Technical Policy Advisor
You probably have questions 
• What is SDN? 
• What's wrong with the network I have 
now? 
• What can an SDN do?
Software Defined Networking 
is… 
• The stupidest name ever invented.
Software Defined Networking 
is… 
• SDN allows network administrators to 
manage network services through 
abstraction of lower level functionality. 
• This is done by decoupling the system that 
makes decisions about where traffic is 
sent (the control plane) from the 
underlying systems that forward traffic to 
the selected destination (the data plane).
Software Defined Networking 
• You’ve probably had Software Defined 
Networking for years? 
• Anyone own a Juniper M-Series? 
• It was just that you were never allowed to 
define or control the software.
Lets go back in time
Remember this…
Remember when… 
• If the features you wanted were supplied 
by the operating system you were in luck. 
• =) 
• If the features you wanted were not 
supplied by the operating system, there 
were limited opportunities to expand it to 
include those features. 
• =(
Enter choice
End User Innovation 
• With Open Source Operating System 
Software control over the development 
and deployment of OS features is placed 
in the hands of the users. 
• If you need a feature, even if you are the 
only one on the planet who wants it, you 
have a way to develop and deploy it.
A world without… 
• Facebook 
– http://www.developer.com/open/article.php/3894566/Inside-Facebooks-Open-Source-Infrastructure.htm 
• Google 
– https://developers.google.com/open-source/ 
• Android 
• etc.
Now think about current network 
equipment… 
• Do we currently live in a world more like 
the closed source OS past? 
• Or the current OS world where end users 
can innovate.
Current Network Feature 
Roadmap 
• You have a good idea 
• You go to your network vendor and pitch 
the idea 
• Your network vendor asks how many units 
you’re going to buy 
• That number is not enough 
• Nothing happens regarding your good idea
Current Example 
• “Hi Mr Load Balancing Vendor, I’m a 
ccTLD in a small country, we face a set of 
unique challenges with regard to 
managing bandwidth and protecting 
against DDoS attacks. We own 2 of your 
units and were wondering if you might be 
able to develop some features to assist us 
in these unique challenges” 
• *CLICK* brrrrrrrrrrrrrrrr
Another Example 
• “We are pleased to announce that after 
months of development the new version of 
our networking software will support 
<feature X which you don’t need>. The 
price for the next software upgrade with be 
double to re-coup this development cost”
What if we lived in a world 
where… 
• You could start an open source project 
where people could develop the features 
you actually needed your platform to 
support. 
• You didn’t need to pay for features that 
you were never going to use. 
• You didn’t need to worry about bugs in 
code you were never going to use.
This works today for OSs 
• If you need a new extension to 
Apache/BIND/MySQL/etc. then you can 
have someone develop them for you. 
• What if you could do the same thing for all 
the features in your: 
– Switches 
– Routers 
– Load Balancers 
– Firewalls
Software Defined Networking 
• Allows you to do just that. 
• It allows you to take back control of the 
software that controls your network 
• It allows you to drive the speed and 
direction of the innovation of features 
within that software.
How?
Software defined networking 
(SDN) 
• Separates control and data plane: 
– Open interface between control and data 
plane (OpenFlow) 
– Network control and management features in 
software
…SDN
Linton 3 Layer Model
Lessons from history  
• "If you know what you're doing, 3 layers is 
enough; if you don't, 17 layers won't help 
you.” 
• [B]eware of the panacea peddlers: just 
because you wind up naked doesn't make 
you an emperor. 
– Michael A Padlipsky
Openflow overview 
• One of the key technologies to realize SDN 
• Open interface between control and data plane
SDN Demystified, by Dean Pemberton [APNIC 38]
Flow Rule Examples
Examples
Layer 2 – Switches 
• Network Virtualisation 
• Data Centre 
• Multi Tennant 
• FlowVisor 
• Each customer not only gets their own 
‘network’ they can control it with their own 
controller.
SDN Demystified, by Dean Pemberton [APNIC 38]
SDN Demystified, by Dean Pemberton [APNIC 38]
Layer 3 – Routers 
• RouteFlow 
• What if you were able to take any number 
of ports throughout you network and draw 
them together into a router?
RouteFlow
Cardigan overview
Cardigan details
Layer 3 – Routers 
• Being able to add new features without 
waiting for vendor support 
• RPKI
Layer 4 – Load Balancers 
• Load Balancers need to take into account not 
only complex information about network latency, 
congestion and performance, but also the load 
on each of the servers that they are balancing 
traffic across. 
• They also need to know how the balanced 
application deals with certain situations 
• The best person to know that is YOU
Layer 4 – Load Balancers 
• Wang, Richard, Dana Butnariu, and Jennifer Rexford. 
"OpenFlow-based server load balancing gone wild." 
Proceedings of the 11th USENIX conference on Hot 
topics in management of internet, cloud, and enterprise 
networks and services. USENIX Association, 2011. 
• Handigol, Nikhil, et al. "Plug-n-Serve: Load-balancing 
web traffic using OpenFlow." ACM SIGCOMM Demo 
(2009). 
• Koerner, Marc, and Odej Kao. "Multiple service load-balancing 
with OpenFlow." High Performance Switching 
and Routing (HPSR), 2012 IEEE 13th International 
Conference on. IEEE, 2012.
Layer 4+ - Firewalls 
• We install firewalls everywhere 
• They are expensive 
• What if we could somehow virtualise them and deploy 
them only where needed.
SDN Demystified, by Dean Pemberton [APNIC 38]
Layer 4+ - Firewalls 
• Porras, Philip, et al. "A security enforcement kernel for 
OpenFlow networks." Proceedings of the first workshop 
on Hot topics in software defined networks. ACM, 2012. 
• Stabler, Greg, et al. "Elastic IP and security groups 
implementation using OpenFlow." Proceedings of the 6th 
international workshop on Virtualization Technologies in 
Distributed Computing Date. ACM, 2012. 
• Gamayunov, Dennis, Ivan Platonov, and Ruslan 
Smeliansky. "Toward Network Access Control With 
Software-Defined Networking."
Current Work in NZ on SDN 
• Parallel REANNZ backbone 
• VSD (Victoria Standard Distribution) 
• RPKI on CARDIGAN 
• NZIX2 at Citylink 
• SDN being taught to undergrads in 
Q3/2014 at VUW
NZNOG SDN Install Tutorial 
• SDN Intro 
• Ryu – OpenFlow Controler 
• Open vSwitch 
• RouteFlow 
• Building a L2 Switch 
• Building a L3 Router
NZNOG SDN Install Tutorial
Takeaways 
• SDN separates the control of the network 
from the elements involved in actually 
forwarding the packets 
• This allows us to have a holistic view of 
the network not available before 
• SDN allows you to control the direction 
and speed on innovation. 
• Active area of development 
• Watch this space
Questions 
Do you have any questions? 
?
VM 
• Going to do this as a demo. I’ll make the 
VM and instructions available online later.
Topology 
+---------------------------+ 
| | 
| C0 - Controller | 
| | 
+-------------+-------------+ 
| 
+-------------+-------------+ 
| | 
| S1 - OpenFlow | 
| Switch | 
| | 
+-+----------+----------+---+ 
s1-eth0 s1-eth1 s1-eth2 
+ + + 
| | | 
| | | 
v v v 
h1-eth0 h2-eth0 h3-eth0 
+-+--+ +-+--+ +-+--+ 
| H1 | | H2 | | H3 | 
+----+ +----+ +----+
Connecting 
• Open a terminal window on your machine. 
If you don't know how to do this ask an 
instructor for help. 
• At the prompt type: 
• ssh mininet@192.168.56.101 
• This IP might be different but you can view 
it on the VM console
Starting the RYU Openflow 
controller 
• Start the ryu controller with the Simple 
Switch application 
• # ryu-manager --verbose ./simple_switch_13.py
Housekeeping 
• Make sure that things are in a clean state 
before we start 
• root@mininet-vm:~# killall controller 
• root@mininet-vm:~# mn -c
Become root 
• All of the actions in this exercise are done 
as the root user, so if you are not root 
already type the following in both windows: 
mininet@mininet-vm:~$ sudo bash 
root@mininet-vm:~#
Open Two SSH windows 
• We will use two windows for this demo. 
One for the Control Plane (ryu) and the 
other for the Data Plane (mininet)
Simple Switch 
Create a table called mac_to_port ; 
If {packet_in to switch} 
{ Parse packet to reveal src and dst MAC addr; 
Store in the dictionary the mapping between src_mac and the in_port; 
Lookup dst_mac in mac_to_port dict of switch s1 to find next hop; 
If { next hop is found} 
{ create flow_mod ; 
send; 
} 
else 
flood all ports ≠ in_port;
Starting Mininet 
• Start mininet with 3 hosts connected to 1 
switch 
# mn --topo=tree,1,3 --mac  
--controller=remote  
--switch ovsk,protocols=OpenFlow13
Passing Packets 
• mininet> h1 ping h2 
• mininet> dpctl dump-flows -O OpenFlow13
Increase Network Size 
#mn --topo=tree,1,10 --mac  
--controller=remote  
--switch ovsk,protocols=OpenFlow13
Running a high bandwidth flow 
mininet> iperf
Questions 
Do you have any questions? 
?

More Related Content

PPTX
Software Defined Networking: Network Virtualization
NetCraftsmen
 
PDF
Understanding network and service virtualization
SDN Hub
 
PDF
Joyent circa 2006 (Scale with Rails)
bcantrill
 
ODP
What's new in Neutron Juno
Jaume Devesa Gomez
 
PPTX
Troubleshooting Tracebacks
James Denton
 
PPTX
Network and Service Virtualization tutorial at ONUG Spring 2015
SDN Hub
 
PDF
SDN, Network Virtualization and the Software Defined Data Center – Brad Hedlund
Chef Software, Inc.
 
PPTX
Pushing Packets - How do the ML2 Mechanism Drivers Stack Up
James Denton
 
Software Defined Networking: Network Virtualization
NetCraftsmen
 
Understanding network and service virtualization
SDN Hub
 
Joyent circa 2006 (Scale with Rails)
bcantrill
 
What's new in Neutron Juno
Jaume Devesa Gomez
 
Troubleshooting Tracebacks
James Denton
 
Network and Service Virtualization tutorial at ONUG Spring 2015
SDN Hub
 
SDN, Network Virtualization and the Software Defined Data Center – Brad Hedlund
Chef Software, Inc.
 
Pushing Packets - How do the ML2 Mechanism Drivers Stack Up
James Denton
 

What's hot (20)

PDF
SDN - Openflow + OpenVSwitch + Quantum
Rodrigo Campos
 
PPTX
DevOops - Lessons Learned from an OpenStack Network Architect
James Denton
 
PDF
Openstack Neutron and SDN
inakipascual
 
PDF
DevOps Live Meetup- NetDevOps session with Jay Shah (IEEE Published Paper)
JAY SHAH
 
ODP
Networking in OpenStack for non-networking people: Neutron, Open vSwitch and ...
Dave Neary
 
PPT
Software defined network and Virtualization
idrajeev
 
PPTX
Software-Defined Networking , Survey of HotSDN 2012
Jason TC HOU (侯宗成)
 
PDF
WTF is a Microservice - Rafael Schloming, Datawire
Ambassador Labs
 
PDF
What they don't tell you about micro-services
Daniel Rolnick
 
PDF
OpenStack Neutron 201 1hr
David Lenwell
 
PDF
Migrate to Microservices Judiciously!
pflueras
 
PPTX
Quantum (OpenStack Meetup Feb 9th, 2012)
Dan Wendlandt
 
PDF
Linux Tag 2014 OpenStack Networking
yfauser
 
PDF
Quantum - Virtual networks for Openstack
salv_orlando
 
PPTX
Grokking Techtalk #40: Consistency and Availability tradeoff in database cluster
Grokking VN
 
PPTX
Network virtualization
Damian Parniewicz
 
PPTX
On microservices and monoliths
Daniel Rolnick
 
PDF
Microservices 101 - The Big Why?
Yamen Sader
 
PPTX
Distributed Clouds and Software Defined Networking
US-Ignite
 
PDF
Introduction to Software Defined Networking and OpenStack Neutron
Sana Khan
 
SDN - Openflow + OpenVSwitch + Quantum
Rodrigo Campos
 
DevOops - Lessons Learned from an OpenStack Network Architect
James Denton
 
Openstack Neutron and SDN
inakipascual
 
DevOps Live Meetup- NetDevOps session with Jay Shah (IEEE Published Paper)
JAY SHAH
 
Networking in OpenStack for non-networking people: Neutron, Open vSwitch and ...
Dave Neary
 
Software defined network and Virtualization
idrajeev
 
Software-Defined Networking , Survey of HotSDN 2012
Jason TC HOU (侯宗成)
 
WTF is a Microservice - Rafael Schloming, Datawire
Ambassador Labs
 
What they don't tell you about micro-services
Daniel Rolnick
 
OpenStack Neutron 201 1hr
David Lenwell
 
Migrate to Microservices Judiciously!
pflueras
 
Quantum (OpenStack Meetup Feb 9th, 2012)
Dan Wendlandt
 
Linux Tag 2014 OpenStack Networking
yfauser
 
Quantum - Virtual networks for Openstack
salv_orlando
 
Grokking Techtalk #40: Consistency and Availability tradeoff in database cluster
Grokking VN
 
Network virtualization
Damian Parniewicz
 
On microservices and monoliths
Daniel Rolnick
 
Microservices 101 - The Big Why?
Yamen Sader
 
Distributed Clouds and Software Defined Networking
US-Ignite
 
Introduction to Software Defined Networking and OpenStack Neutron
Sana Khan
 
Ad

Viewers also liked (10)

PDF
Sdn and open flow tutorial 4
UmaMahesh Sistu
 
PDF
NFV Tutorial
Rashid Mijumbi
 
PDF
The Future of Cloud Networking is VMware NSX
Scott Lowe
 
PPTX
NFV : Virtual Network Function Architecture
sidneel
 
PDF
SDN/NFV: Service Chaining
Odinot Stanislas
 
PPTX
SDN and NFV: Friends or Enemies
Justyna Bak
 
PDF
Cisco SDN/NVF Innovations (SDN NVF Day ITB 2016)
SDNRG ITB
 
PDF
OpenStack Neutron Tutorial
mestery
 
PPTX
Introduction to SDN and NFV
Basim Aly (JNCIP-SP, JNCIP-ENT)
 
PDF
The NFV, SDN & Wireless Network Infrastructure Market: 2015 - 2020 - Opportun...
LeeSam111
 
Sdn and open flow tutorial 4
UmaMahesh Sistu
 
NFV Tutorial
Rashid Mijumbi
 
The Future of Cloud Networking is VMware NSX
Scott Lowe
 
NFV : Virtual Network Function Architecture
sidneel
 
SDN/NFV: Service Chaining
Odinot Stanislas
 
SDN and NFV: Friends or Enemies
Justyna Bak
 
Cisco SDN/NVF Innovations (SDN NVF Day ITB 2016)
SDNRG ITB
 
OpenStack Neutron Tutorial
mestery
 
Introduction to SDN and NFV
Basim Aly (JNCIP-SP, JNCIP-ENT)
 
The NFV, SDN & Wireless Network Infrastructure Market: 2015 - 2020 - Opportun...
LeeSam111
 
Ad

Similar to SDN Demystified, by Dean Pemberton [APNIC 38] (20)

PPTX
M.Tech Internet of Things Unit - IV.pptx
AvinashAvuthu2
 
PPTX
lect1_intro_SDN introductionpptnew1.pptx
anchitaa1
 
PDF
Introduction to SDN
Muhammad Moinur Rahman
 
PPTX
Software Defined networking (SDN)
Milson Munakami
 
PPTX
IEEE HPSR 2017 Keynote: Softwarized Dataplanes and the P^3 trade-offs: Progra...
Christian Esteve Rothenberg
 
PPTX
Performance Evaluation for Software Defined Networking (SDN) Based on Adaptiv...
University of Technology - Iraq
 
PDF
SDN Security Talk - (ISC)2_3
Wen-Pai Lu
 
PPTX
Software Defined Networks
Shreeya Shah
 
PDF
The Future of Networking, and the Past of Protocols
Open Networking Summits
 
PPTX
Feec telecom-nw-softwarization-aug-2015
Christian Esteve Rothenberg
 
PPTX
btNOG 9 presentation Introduction to Software Defined Networking
APNIC
 
PDF
Improving performance and efficiency with Network Virtualization Overlays
Adam Johnson
 
PDF
Introductionto SDN
Md. Shariful Islam Robin
 
PDF
Introduction to Software Defined Networking (SDN)
Bangladesh Network Operators Group
 
PPTX
Sdn not just a buzzword
Jorge Bonilla
 
PDF
WWT Software-Defined Networking Guide
Joel W. King
 
PDF
OVS and DPDK - T.F. Herbert, K. Traynor, M. Gray
harryvanhaaren
 
PPTX
Collaborating with OpenDaylight for a Network-Enabled Cloud
Tesora
 
PDF
Introduction to Software Defined Networking (SDN) presentation by Warren Finc...
APNIC
 
PPTX
Introduction to Software Defined Networking (SDN)
Bangladesh Network Operators Group
 
M.Tech Internet of Things Unit - IV.pptx
AvinashAvuthu2
 
lect1_intro_SDN introductionpptnew1.pptx
anchitaa1
 
Introduction to SDN
Muhammad Moinur Rahman
 
Software Defined networking (SDN)
Milson Munakami
 
IEEE HPSR 2017 Keynote: Softwarized Dataplanes and the P^3 trade-offs: Progra...
Christian Esteve Rothenberg
 
Performance Evaluation for Software Defined Networking (SDN) Based on Adaptiv...
University of Technology - Iraq
 
SDN Security Talk - (ISC)2_3
Wen-Pai Lu
 
Software Defined Networks
Shreeya Shah
 
The Future of Networking, and the Past of Protocols
Open Networking Summits
 
Feec telecom-nw-softwarization-aug-2015
Christian Esteve Rothenberg
 
btNOG 9 presentation Introduction to Software Defined Networking
APNIC
 
Improving performance and efficiency with Network Virtualization Overlays
Adam Johnson
 
Introductionto SDN
Md. Shariful Islam Robin
 
Introduction to Software Defined Networking (SDN)
Bangladesh Network Operators Group
 
Sdn not just a buzzword
Jorge Bonilla
 
WWT Software-Defined Networking Guide
Joel W. King
 
OVS and DPDK - T.F. Herbert, K. Traynor, M. Gray
harryvanhaaren
 
Collaborating with OpenDaylight for a Network-Enabled Cloud
Tesora
 
Introduction to Software Defined Networking (SDN) presentation by Warren Finc...
APNIC
 
Introduction to Software Defined Networking (SDN)
Bangladesh Network Operators Group
 

More from APNIC (20)

PDF
Triggering QUIC, presented by Geoff Huston at IETF 123
APNIC
 
PDF
DNSSEC Made Easy, presented at PHNOG 2025
APNIC
 
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
APNIC
 
PDF
BGP Security Best Practices that Matter, presented at PHNOG 2025
APNIC
 
PDF
APNIC's Role in the Pacific Islands, presented at Pacific IGF 2205
APNIC
 
PDF
IPv6 Deployment and Best Practices, presented by Makito Lay
APNIC
 
PDF
Cleaning up your RPKI invalids, presented at PacNOG 35
APNIC
 
PDF
The Internet - By the numbers, presented at npNOG 11
APNIC
 
PDF
Transmission Control Protocol (TCP) and Starlink
APNIC
 
PDF
DDoS in India, presented at INNOG 8 by Dave Phelan
APNIC
 
PDF
Global Networking Trends, presented at the India ISP Conclave 2025
APNIC
 
PDF
Make DDoS expensive for the threat actors
APNIC
 
PDF
Fast Reroute in SR-MPLS, presented at bdNOG 19
APNIC
 
PDF
DDos Mitigation Strategie, presented at bdNOG 19
APNIC
 
PDF
ICP -2 Review – What It Is, and How to Participate and Provide Your Feedback
APNIC
 
PDF
APNIC Update - Global Synergy among the RIRs: Connecting the Regions
APNIC
 
PDF
Measuring Starlink Protocol Performance, presented at LACNIC 43
APNIC
 
PDF
Prop-154: Resizing of IPv4 assignments for IXPs
APNIC
 
PDF
Internet Exchange Points, presented at Peering Workshop at the PITA 29th AGM,...
APNIC
 
PDF
Exploring the Evolving Internet Landscape
APNIC
 
Triggering QUIC, presented by Geoff Huston at IETF 123
APNIC
 
DNSSEC Made Easy, presented at PHNOG 2025
APNIC
 
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
APNIC
 
BGP Security Best Practices that Matter, presented at PHNOG 2025
APNIC
 
APNIC's Role in the Pacific Islands, presented at Pacific IGF 2205
APNIC
 
IPv6 Deployment and Best Practices, presented by Makito Lay
APNIC
 
Cleaning up your RPKI invalids, presented at PacNOG 35
APNIC
 
The Internet - By the numbers, presented at npNOG 11
APNIC
 
Transmission Control Protocol (TCP) and Starlink
APNIC
 
DDoS in India, presented at INNOG 8 by Dave Phelan
APNIC
 
Global Networking Trends, presented at the India ISP Conclave 2025
APNIC
 
Make DDoS expensive for the threat actors
APNIC
 
Fast Reroute in SR-MPLS, presented at bdNOG 19
APNIC
 
DDos Mitigation Strategie, presented at bdNOG 19
APNIC
 
ICP -2 Review – What It Is, and How to Participate and Provide Your Feedback
APNIC
 
APNIC Update - Global Synergy among the RIRs: Connecting the Regions
APNIC
 
Measuring Starlink Protocol Performance, presented at LACNIC 43
APNIC
 
Prop-154: Resizing of IPv4 assignments for IXPs
APNIC
 
Internet Exchange Points, presented at Peering Workshop at the PITA 29th AGM,...
APNIC
 
Exploring the Evolving Internet Landscape
APNIC
 

Recently uploaded (20)

PPTX
The Latest Scam Shocking the USA in 2025.pptx
onlinescamreport4
 
PPTX
SEO Trends in 2025 | B3AITS - Bow & 3 Arrows IT Solutions
B3AITS - Bow & 3 Arrows IT Solutions
 
PPTX
ENCOR_Chapter_10 - OSPFv3 Attribution.pptx
nshg93
 
PDF
Centralized Business Email Management_ How Admin Controls Boost Efficiency & ...
XgenPlus Technologies
 
PPTX
B2B_Ecommerce_Internship_Simranpreet.pptx
LipakshiJindal
 
PDF
Data Protection & Resilience in Focus.pdf
AmyPoblete3
 
PPTX
Google SGE SEO: 5 Critical Changes That Could Wreck Your Rankings in 2025
Reversed Out Creative
 
PPT
Transformaciones de las funciones elementales.ppt
rirosel211
 
PPTX
durere- in cancer tu ttresjjnklj gfrrjnrs mhugyfrd
Serban Elena
 
PDF
LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1
LABUAN 4D
 
PPTX
AI ad its imp i military life read it ag
ShwetaBharti31
 
PPTX
dns domain name system history work.pptx
MUHAMMADKAVISHSHABAN
 
PPTX
ENCOR_Chapter_11 - ‌BGP implementation.pptx
nshg93
 
PDF
PDF document: World Game (s) Great Redesign.pdf
Steven McGee
 
PPTX
Parallel & Concurrent ...
yashpavasiya892
 
PPTX
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 
PDF
Generative AI Foundations: AI Skills for the Future of Work
hemal sharma
 
PDF
KIPER4D situs Exclusive Game dari server Star Gaming Asia
hokimamad0
 
PPTX
Generics jehfkhkshfhskjghkshhhhlshluhueheuhuhhlhkhk.pptx
yashpavasiya892
 
PDF
Latest Scam Shocking the USA in 2025.pdf
onlinescamreport4
 
The Latest Scam Shocking the USA in 2025.pptx
onlinescamreport4
 
SEO Trends in 2025 | B3AITS - Bow & 3 Arrows IT Solutions
B3AITS - Bow & 3 Arrows IT Solutions
 
ENCOR_Chapter_10 - OSPFv3 Attribution.pptx
nshg93
 
Centralized Business Email Management_ How Admin Controls Boost Efficiency & ...
XgenPlus Technologies
 
B2B_Ecommerce_Internship_Simranpreet.pptx
LipakshiJindal
 
Data Protection & Resilience in Focus.pdf
AmyPoblete3
 
Google SGE SEO: 5 Critical Changes That Could Wreck Your Rankings in 2025
Reversed Out Creative
 
Transformaciones de las funciones elementales.ppt
rirosel211
 
durere- in cancer tu ttresjjnklj gfrrjnrs mhugyfrd
Serban Elena
 
LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1
LABUAN 4D
 
AI ad its imp i military life read it ag
ShwetaBharti31
 
dns domain name system history work.pptx
MUHAMMADKAVISHSHABAN
 
ENCOR_Chapter_11 - ‌BGP implementation.pptx
nshg93
 
PDF document: World Game (s) Great Redesign.pdf
Steven McGee
 
Parallel & Concurrent ...
yashpavasiya892
 
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 
Generative AI Foundations: AI Skills for the Future of Work
hemal sharma
 
KIPER4D situs Exclusive Game dari server Star Gaming Asia
hokimamad0
 
Generics jehfkhkshfhskjghkshhhhlshluhueheuhuhhlhkhk.pptx
yashpavasiya892
 
Latest Scam Shocking the USA in 2025.pdf
onlinescamreport4
 

SDN Demystified, by Dean Pemberton [APNIC 38]

  • 1. SDN Demystified Dean Pemberton – NSRC
  • 2. Who am I • Dean Pemberton – NSRC • Trainer/Network Engineer – Victoria University of Wellington • SDN Research Associate – InternetNZ • Technical Policy Advisor
  • 3. You probably have questions • What is SDN? • What's wrong with the network I have now? • What can an SDN do?
  • 4. Software Defined Networking is… • The stupidest name ever invented.
  • 5. Software Defined Networking is… • SDN allows network administrators to manage network services through abstraction of lower level functionality. • This is done by decoupling the system that makes decisions about where traffic is sent (the control plane) from the underlying systems that forward traffic to the selected destination (the data plane).
  • 6. Software Defined Networking • You’ve probably had Software Defined Networking for years? • Anyone own a Juniper M-Series? • It was just that you were never allowed to define or control the software.
  • 7. Lets go back in time
  • 9. Remember when… • If the features you wanted were supplied by the operating system you were in luck. • =) • If the features you wanted were not supplied by the operating system, there were limited opportunities to expand it to include those features. • =(
  • 11. End User Innovation • With Open Source Operating System Software control over the development and deployment of OS features is placed in the hands of the users. • If you need a feature, even if you are the only one on the planet who wants it, you have a way to develop and deploy it.
  • 12. A world without… • Facebook – http://www.developer.com/open/article.php/3894566/Inside-Facebooks-Open-Source-Infrastructure.htm • Google – https://developers.google.com/open-source/ • Android • etc.
  • 13. Now think about current network equipment… • Do we currently live in a world more like the closed source OS past? • Or the current OS world where end users can innovate.
  • 14. Current Network Feature Roadmap • You have a good idea • You go to your network vendor and pitch the idea • Your network vendor asks how many units you’re going to buy • That number is not enough • Nothing happens regarding your good idea
  • 15. Current Example • “Hi Mr Load Balancing Vendor, I’m a ccTLD in a small country, we face a set of unique challenges with regard to managing bandwidth and protecting against DDoS attacks. We own 2 of your units and were wondering if you might be able to develop some features to assist us in these unique challenges” • *CLICK* brrrrrrrrrrrrrrrr
  • 16. Another Example • “We are pleased to announce that after months of development the new version of our networking software will support <feature X which you don’t need>. The price for the next software upgrade with be double to re-coup this development cost”
  • 17. What if we lived in a world where… • You could start an open source project where people could develop the features you actually needed your platform to support. • You didn’t need to pay for features that you were never going to use. • You didn’t need to worry about bugs in code you were never going to use.
  • 18. This works today for OSs • If you need a new extension to Apache/BIND/MySQL/etc. then you can have someone develop them for you. • What if you could do the same thing for all the features in your: – Switches – Routers – Load Balancers – Firewalls
  • 19. Software Defined Networking • Allows you to do just that. • It allows you to take back control of the software that controls your network • It allows you to drive the speed and direction of the innovation of features within that software.
  • 20. How?
  • 21. Software defined networking (SDN) • Separates control and data plane: – Open interface between control and data plane (OpenFlow) – Network control and management features in software
  • 23. Linton 3 Layer Model
  • 24. Lessons from history  • "If you know what you're doing, 3 layers is enough; if you don't, 17 layers won't help you.” • [B]eware of the panacea peddlers: just because you wind up naked doesn't make you an emperor. – Michael A Padlipsky
  • 25. Openflow overview • One of the key technologies to realize SDN • Open interface between control and data plane
  • 29. Layer 2 – Switches • Network Virtualisation • Data Centre • Multi Tennant • FlowVisor • Each customer not only gets their own ‘network’ they can control it with their own controller.
  • 32. Layer 3 – Routers • RouteFlow • What if you were able to take any number of ports throughout you network and draw them together into a router?
  • 36. Layer 3 – Routers • Being able to add new features without waiting for vendor support • RPKI
  • 37. Layer 4 – Load Balancers • Load Balancers need to take into account not only complex information about network latency, congestion and performance, but also the load on each of the servers that they are balancing traffic across. • They also need to know how the balanced application deals with certain situations • The best person to know that is YOU
  • 38. Layer 4 – Load Balancers • Wang, Richard, Dana Butnariu, and Jennifer Rexford. "OpenFlow-based server load balancing gone wild." Proceedings of the 11th USENIX conference on Hot topics in management of internet, cloud, and enterprise networks and services. USENIX Association, 2011. • Handigol, Nikhil, et al. "Plug-n-Serve: Load-balancing web traffic using OpenFlow." ACM SIGCOMM Demo (2009). • Koerner, Marc, and Odej Kao. "Multiple service load-balancing with OpenFlow." High Performance Switching and Routing (HPSR), 2012 IEEE 13th International Conference on. IEEE, 2012.
  • 39. Layer 4+ - Firewalls • We install firewalls everywhere • They are expensive • What if we could somehow virtualise them and deploy them only where needed.
  • 41. Layer 4+ - Firewalls • Porras, Philip, et al. "A security enforcement kernel for OpenFlow networks." Proceedings of the first workshop on Hot topics in software defined networks. ACM, 2012. • Stabler, Greg, et al. "Elastic IP and security groups implementation using OpenFlow." Proceedings of the 6th international workshop on Virtualization Technologies in Distributed Computing Date. ACM, 2012. • Gamayunov, Dennis, Ivan Platonov, and Ruslan Smeliansky. "Toward Network Access Control With Software-Defined Networking."
  • 42. Current Work in NZ on SDN • Parallel REANNZ backbone • VSD (Victoria Standard Distribution) • RPKI on CARDIGAN • NZIX2 at Citylink • SDN being taught to undergrads in Q3/2014 at VUW
  • 43. NZNOG SDN Install Tutorial • SDN Intro • Ryu – OpenFlow Controler • Open vSwitch • RouteFlow • Building a L2 Switch • Building a L3 Router
  • 44. NZNOG SDN Install Tutorial
  • 45. Takeaways • SDN separates the control of the network from the elements involved in actually forwarding the packets • This allows us to have a holistic view of the network not available before • SDN allows you to control the direction and speed on innovation. • Active area of development • Watch this space
  • 46. Questions Do you have any questions? ?
  • 47. VM • Going to do this as a demo. I’ll make the VM and instructions available online later.
  • 48. Topology +---------------------------+ | | | C0 - Controller | | | +-------------+-------------+ | +-------------+-------------+ | | | S1 - OpenFlow | | Switch | | | +-+----------+----------+---+ s1-eth0 s1-eth1 s1-eth2 + + + | | | | | | v v v h1-eth0 h2-eth0 h3-eth0 +-+--+ +-+--+ +-+--+ | H1 | | H2 | | H3 | +----+ +----+ +----+
  • 49. Connecting • Open a terminal window on your machine. If you don't know how to do this ask an instructor for help. • At the prompt type: • ssh [email protected] • This IP might be different but you can view it on the VM console
  • 50. Starting the RYU Openflow controller • Start the ryu controller with the Simple Switch application • # ryu-manager --verbose ./simple_switch_13.py
  • 51. Housekeeping • Make sure that things are in a clean state before we start • root@mininet-vm:~# killall controller • root@mininet-vm:~# mn -c
  • 52. Become root • All of the actions in this exercise are done as the root user, so if you are not root already type the following in both windows: mininet@mininet-vm:~$ sudo bash root@mininet-vm:~#
  • 53. Open Two SSH windows • We will use two windows for this demo. One for the Control Plane (ryu) and the other for the Data Plane (mininet)
  • 54. Simple Switch Create a table called mac_to_port ; If {packet_in to switch} { Parse packet to reveal src and dst MAC addr; Store in the dictionary the mapping between src_mac and the in_port; Lookup dst_mac in mac_to_port dict of switch s1 to find next hop; If { next hop is found} { create flow_mod ; send; } else flood all ports ≠ in_port;
  • 55. Starting Mininet • Start mininet with 3 hosts connected to 1 switch # mn --topo=tree,1,3 --mac --controller=remote --switch ovsk,protocols=OpenFlow13
  • 56. Passing Packets • mininet> h1 ping h2 • mininet> dpctl dump-flows -O OpenFlow13
  • 57. Increase Network Size #mn --topo=tree,1,10 --mac --controller=remote --switch ovsk,protocols=OpenFlow13
  • 58. Running a high bandwidth flow mininet> iperf
  • 59. Questions Do you have any questions? ?