SlideShare a Scribd company logo

Software defined networking(sdn) vahid sadri

SDN Environment How to Start Project with SDN

1 of 84
Download to read offline
SDN Environment
Vahid Sadri
Sadri@email.com
Iran
Software-Defiened Networking
(SDN)
In the name of God
• Outline
1- Overview SDN
2- What is OpenFlow?
3- Start Project 1
• Requirements Project
• Useful Linux commands
• MiniNet
• SSH Protocol
• X11 (X-Windows)
• Create Network in Mininet
• Topologies
• Controller (Test Remote Controller)
SDNSoftware-defiened networking
Motivation
Problem Statement
• Complex carrier networks
• with a large variety of proprietary nodes and hardware appliances.
• Launching new services is difficult and takes too long
• Space and power to accommodate
• requires just another variety of box, which needs to be integrated.
• Operation is expensive
• Rapidly reach end of life
• due to existing procure-design,-
integrate-deploy cycle.
 Network functionalities are based on specific HW&SW
 One physical node per role
Traditional Network model
Sisyphus on Different Hills
Telco Operators
Equipment
Vendors
SDOs
2-6 Years
Demand
Drive
Standardise
Implement
Sell
Deploy
Critical mass of
supporters
Develop Deploy Publish
2-6 Months
Telco Cycle Service Providers Cycle
2-6 years 2-6 months
Service Providers
AVAILABLE AVAILABLE
Idea !! Idea !!
Source: Adapted from D. Lopez Telefonica I+D, NFV
• Very intensive
in hardware
• Software not at
the core
• Very intensive
in software
• Hardware is a
necessary base
x
HARDWARE SOFTWARE+
-
+
-
Traditional telcos Internet players
Adapt to survive: Telco evolution focus shifting from hardware to software
Source: Adapted from D. Lopez Telefonica I+D, NFV
Enter the Software-Defined Era
Google, FacebookAT&T, Telefonica,
Telebras
Trends
• High performance industry
standard servers shipped in very
high volume
• Convergence of computing,
storage and networks
• New virtualization technologies
that abstract underlying hardware
yielding elasticity, scalability and
automation
• Software-defined networking
• Cloud services
• Mobility, explosion of devices and
traffic
Challenges
• Huge capital investment to deal with
current trends
• Network operators face an increasing
disparity between costs and revenues
• Complexity: large and increasing
variety of proprietary hardware
appliances in operator’s network
• Reduced hardware lifecycles
• Lack of flexibility and agility: cannot
move network resources where &
when needed
• Launching new services is difficult and
takes too long. Often requires yet
another proprietary box which needs to
be integrated
Source: Adapted from D. Lopez Telefonica I+D, NFV
A means to make the network more flexible and simple by
minimising dependence on HW constraints
v
 Network Functions are SW-based over well-known HW
 Multiple roles over same HW
ORCHESTRATION, AUTOMATION
& REMOTE INSTALL
DPI
BRAS
GGSN/
SGSN
Firewall
CG-NAT
PE Router
VIRTUAL
APPLIANCES
STANDARD
HIGH VOLUME
SERVERS
Virtualised Network Model:
VIRTUAL APPLIANCE APPROACHv
 Network Functions are based on specific HW&SW
 One physical node per role
DPI
BRAS
GGSN/SGSN
Session Border
ControllerFirewall CG-NAT
PE Router
Traditional Network Model:
APPLIANCE APPROACH
The NFV Concept
Source: Adapted from D. Lopez Telefonica I+D, NFV
BRAS
FirewallDPI
CDN
Tester/QoE
monitor
WAN
Acceleration
Message
Router
Radio Access
Network Nodes
Carrier
Grade NAT
Session Border
Controller
Network Virtualisation Approach
PE RouterSGSN/GGSN
Independent Software Vendors
Standard High Volume
Ethernet Switches
Standard High Volume Storage
Standard High Volume Servers
Orchestrated,
automatic &
remote install.
• Fragmented non-commodity hardware.
• Physical install per appliance per site.
• Hardware development large barrier to entry for new
vendors, constraining innovation & competition.
Classical Network Appliance Approach
Target
Source: NFV
Network Functions Virtualization
• Network Functions Virtualization is about implementing network
functions in software - that today run on proprietary hardware -
leveraging (high volume) standard servers and IT virtualization
• Supports multi-versioning and multi-tenancy of network functions, which
allows use of a single physical platform for different applications, users
and tenants
• Enables new ways to implement resilience, service assurance, test and
diagnostics and security surveillance
• Provides opportunities for pure software players
• Facilitates innovation towards new network functions and services that
are only practical in a pure software network environment
• Applicable to any data plane packet processing and control plane
functions, in fixed or mobile networks
• NFV will only scale if management and configuration of functions can be
automated
• NFV aims to ultimately transform the way network operators architect and
operate their networks, but change can be incremental
Source: Adapted from D. Lopez Telefonica I+D, NFV
Benefits & Promises of NFV
• Reduced equipment costs (CAPEX)
• through consolidating equipment and economies of scale of IT industry.
• Increased speed of time to market
• by minimising the typical network operator cycle of innovation.
• Availability of network appliance multi-version and multi-tenancy,
• allows a single platform for different applications, users and tenants.
• Enables a variety of eco-systems and encourages openness.
• Encouraging innovation to bring new services and generate new
revenue streams.
Source: NFV
Benefits & Promises of NFV
• Flexibility to easily, rapidly, dynamically provision and
instantiate new services in various locations
• Improved operational efficiency
• by taking advantage of the higher uniformity of the physical network
platform and its homogeneity to other support platforms.
• Software-oriented innovation to rapidly prototype and test
new services and generate new revenue streams
• More service differentiation & customization
• Reduced (OPEX) operational costs: reduced power, reduced
space, improved network monitoring
• IT-oriented skillset and talent
Source: Adapted from D. Lopez Telefonica I+D, NFV
So, why we need/want NFV(/SDN)?
1. Virtualization: Use network resource without worrying about where it is
physically located, how much it is, how it is organized, etc.
2. Orchestration: Manage thousands of devices
3. Programmable: Should be able to change behavior on the fly.
4. Dynamic Scaling: Should be able to change size, quantity
5. Automation
6. Visibility: Monitor resources, connectivity
7. Performance: Optimize network device utilization
8. Multi-tenancy
9. Service Integration
10. Openness: Full choice of modular plug-ins
Note: These are exactly the same reasons why we need/want SDN.
Source: Adapted from Raj Jain
NFV and SDN
• NFV and SDN are highly complementary
• Both topics are mutually beneficial but not dependent on each other
Network
Functions
Virtualization
Software
Defined
Networking
Open
Innovation
Creates competitive
supply of innovative
applications by third
parties
Creates network
abstractions to
enable faster
innovation
Reduces CAPEX, OPEX,
Space & Power
Consumption
Source: NFV
NFV vs SDN
• NFV: re-definition of network equipment architecture
• NFV was born to meet Service Provider (SP) needs:
• Lower CAPEX by reducing/eliminating proprietary hardware
• Consolidate multiple network functions onto industry standard
platforms
• SDN: re-definition of network architecture
• SDN comes from the IT world:
• Separate the data and control layers,
while centralizing the control
• Deliver the ability to program network behavior using well-
defined interfaces
Network equipment as
Black boxes
Open interfaces (OpenFlow) for
instructing the boxes what to do
SDN
Boxes with autonomous
behaviour Decisions are taken out of the box
FEATURE FEATURE
OPERATING SYSTEM
SPECIALIZED PACKET
FORWARDING HARDWAREFEATURE FEATURE
OPERATING SYSTEM
SPECIALIZED PACKET
FORWARDING HARDWARE
FEATURE FEATURE
OPERATING SYSTEM
SPECIALIZED PACKET
FORWARDING HARDWAREFEATURE FEATURE
OPERATING SYSTEM
SPECIALIZED PACKET
FORWARDING HARDWARE
SDN
Adapting OSS to manage black boxes
Simpler OSS to manage the SDN
controller
SDN
FEATURE FEATURE
OPERATING SYSTEM
SPECIALIZED PACKET
FORWARDING HARDWAREFEATURE FEATURE
OPERATING SYSTEM
SPECIALIZED PACKET
FORWARDING HARDWARE
FEATURE FEATURE
OPERATING SYSTEM
SPECIALIZED PACKET
FORWARDING HARDWAREFEATURE FEATURE
OPERATING SYSTEM
SPECIALIZED PACKET
FORWARDING HARDWARE
Software Defined Networking
Source: Adapted from D. Lopez Telefonica I+D, NFV
Scope of NFV and OpenFlow/SDN
Source: NEC
Networking with SDN & NFV
Source: NEC
(Network Virtualization)2 = SDN + NFV
SDN: Software Defined
Networking
NFV: Network Functions
Virtualisation
Source: Adapted from D. Lopez Telefonica I+D, NFV
Some Use Case Examples
…not in any particular order
• Switching elements: BNG, CG-NAT, routers.
• Mobile network nodes: HLR/HSS, MME, SGSN, GGSN/PDN-GW.
• Home networks: Functions contained in home routers and set top boxes to create virtualised
home environments.
• Tunnelling gateway elements: IPSec/SSL VPN gateways.
• Traffic analysis: DPI, QoE measurement.
• Service Assurance: SLA monitoring, Test and Diagnostics.
• NGN signalling: SBCs, IMS.
• Converged and network-wide functions: AAA servers, policy control and charging platforms.
• Application-level optimisation: CDNs, Cache Servers, Load Balancers, Application Accelerators.
• Security functions: Firewalls, virus scanners, intrusion detection systems, spam protection.
Source: NFV
The ETSI NFV ISG
• Global operators-led Industry
Specification Group (ISG) under the
auspices of ETSI
– ~150 member organisations
• Open membership
– ETSI members sign the “Member
Agreement”
– Non-ETSI members sign the
“Participant Agreement”
– Opening up to academia
• Operates by consensus
– Formal voting only when required
• Deliverables: White papers
addressing challenges and operator
requirements, as input to SDOs
– Not a standardisation body by itself
• Currently, four WGs and two EGs
– Infrastructure
– Software Architecture
– Management & Orchestration
– Reliability & Availability
– Performance & Portability
– Security
Source: Adapted from D. Lopez Telefonica I+D, NFV
High-level Architecture
NFV Layers
NFV Infrastructure
End
Point
End
Point
E2E Network Service
Compute Storage NetworkHW Resources
Virtualization LayerVirtualization SW
Virtual
Compute
Virtual
Storage
Virtual
Network
Virtual Resources
Logical Abstractions
Network Service
VNF VNF VNF
VNF VNF
Logical Links
VNF Instances
VNF VNF VNF
SW Instances
VNF : Virtualized Network Function
VNF
Source: Adapted from D. Lopez Telefonica I+D, NFV
Rethinking relayering
‫ساده‬ ‫خیلی‬ ‫تعریف‬ ‫یک‬
‫افزاری‬ ‫نرم‬ ‫صورت‬ ‫به‬ ‫شبکه‬ ‫مدیریت‬
o‫چرا؟‬
o‫داره؟‬ ‫مشکلی‬ ‫چه‬ ‫ما‬ ‫فعلی‬ ‫های‬ ‫شبکه‬ ‫مگر‬
o‫میشه؟‬ ‫چی‬ ‫نباشه‬ ‫اگر‬
o‫میشه؟‬ ‫چی‬ ‫باشه‬ ‫اگر‬
o‫میخوره؟‬ ‫ما‬ ‫درد‬ ‫چه‬ ‫به‬ ‫اصال‬
Limitations of Current Networks
26
Switches
Limitations of Current Networks
• Enterprise networks are difficult to manage
• “New control requirements have arisen”:
• Greater scale
• Migration of VMS
• Implement new ideas
• How to easily configure huge networks?
27
• Old ways to configure a network
Limitations of Current Networks
Specialized Packet
Forwarding Hardware
App App App
Specialized Packet
Forwarding Hardware
App App App
Specialized Packet
Forwarding Hardware
App App App
Specialized Packet
Forwarding Hardware
App App App
Specialized Packet
Forwarding Hardware
Operating
System
Operating
System
Operating
System
Operating
System
Operating
System
App App App
28
Limitations of Current Networks
29
Million of lines
of source code
Billions of gates
Many complex functions into
infrastructure
OSPF, BGP, multicast,
differentiated services,
Traffic Engineering, NAT,
firewalls, …
Specialized Packet
Forwarding Hardware
Operating
System
Feature Feature
Cannot dynamically change according to network conditions
• No control plane abstraction for the whole network!
• It’s like old times – when there was no OS…
Limitations of Current Networks
Wilkes with the EDSAC, 1949
30
Cisco, IBM, Alcatel, Juniper Networks,
Broadcom, Citrix, Dell, Google, HP,
Intel, NEC,vmWare and Verizon
Cisco ONE
NSX
Idea: An OS for Networks
Specialized Packet
Forwarding Hardware
App App App
Specialized Packet
Forwarding Hardware
App App App
Specialized Packet
Forwarding Hardware
App App App
Specialized Packet
Forwarding Hardware
App App App
Specialized Packet
Forwarding Hardware
Operating
System
Operating
System
Operating
System
Operating
System
Operating
System
App App App
Closed
32
Idea: An OS for Networks
Specialized Packet
Forwarding Hardware
App App App
Specialized Packet
Forwarding Hardware
App App App
Specialized Packet
Forwarding Hardware
App App App
Specialized Packet
Forwarding Hardware
App App App
Specialized Packet
Forwarding Hardware
Operating
System
Operating
System
Operating
System
Operating
System
Operating
System
App App App
Network Operating System
Control Programs (Route,Forwarding,VPN,LB,..)
33
Idea: An OS for Networks
Simple Packet
Forwarding
Hardware
Simple Packet
Forwarding
Hardware
Simple Packet
Forwarding
Hardware
Simple Packet
Forwarding
Hardware Simple Packet
Forwarding
Hardware
Network Operating System
Control Programs (Route,Forwarding,VPN,LB,..)
34
OpenFlow Protocol (SSL/TCP)
Port 6633
What is OpenFlow?
How it helps SDN
‫از‬ ‫قبل‬SDN‫پروتکل‬ ‫با‬ ‫باید‬
OpenFlow
‫شویم‬ ‫آشنا‬
OpenFlow
Defines the part of the router architecture that decides what to do with
packets arriving on an inbound interface.
that gives access to the forwarding
plane of a network switch or router over the network.
OpenFlow is a communications protocol
Forwarding Plane
In routing, the Forwarding Plane, sometimes called the Data Plane
‫پروتکل‬OpenFlow
‫به‬‫جزء‬ ‫ترین‬‫اصلي‬ ‫عنوان‬
‫هاي‬‫شبکه‬
(Software Defined Networking)
SDN
‫پروتکل‬ ‫از‬ ‫استفاده‬ ‫با‬ ‫ما‬OpenFlow‫خصوصی‬ ‫دیگر‬ ‫تجهیزات‬ ‫یا‬ ‫سوئیچ‬ ‫با‬‫حرف‬‫زنیم‬ ‫می‬
‫پروتکل‬ ‫باید‬ ‫تجهیزات‬ ‫که‬ ‫باشید‬ ‫داشته‬ ‫توجه‬OpenFlow‫را‬ ‫ما‬ ‫حرف‬ ‫وگرنه‬ ‫کند‬ ‫پشتیبانی‬ ‫را‬
‫فهمدددددد‬ ‫نمی‬
• OpenFlow
40
Structure of the current devices
• OpenFlow
41
Data Path (Hardware)
OpenFlow
OpenFlow Controller
OpenFlow Protocol (SSL/TCP)
POX,Ryu,Pyretic,…
Control Path(os)
• OpenFlow Switching
42
Controller
Server Controller
(Linux ubuntu)
Hardware
Layer
Software
Layer
OpenFlow Table
MAC
src
MAC
dst
IP
Src
IP
Dst
TCP
sport
TCP
dport
Action
OpenFlow Client
**5.6.7.81.2.3.4** port 1
port 4port 3port 2port 1
1.2.3.45.6.7.8 42
5.6.7.8 port 11.2.3.4
• OpenFlow Table Entry
43
Switch
Port
MAC
src
MAC
dst
Eth
type
VLAN
ID
IP
Src
IP
Dst
IP
Prot
TCP
sport
TCP
dport
Rule Action Stats
+ mask
Packet + byte counters
1.Forward packet to port(s)
2.Encapsulate and forward to controller
3.Drop packet
4.Send to normal processing pipeline
5.…
OpenFlow 01.1234
Versions
More information (Historical information about version of the OpenFlow )
Mininet
MiniNet
The main difference between simulation and emulation is
that simulation is done all in software and emulation is done
in hardware and software.
Emulation allows developers to see the real-time interactions
between different hardware and software models.
Mininet is a Software Emulator for prototyping a large network on a single machine
Enter to mininet.org
‫داریم‬ ‫نیاز‬ ‫پروژه‬ ‫این‬ ‫برای‬ ‫که‬ ‫هایی‬ ‫برنامه‬ ‫اکثر‬:
Linux Windows
1- A Linux Distribution (in my project Ubuntu)
2- Mininet
3- Controller (pox,nox,Ryu,Pyretic,…)
4- Wireshark (more information)
5- X11 Client (Xinit,xview-clients)
1- Virtualization Product (VirtualBox,vmWare)
2- SSH Client (Putty.exe)
3- X11 Server (Xming Server for windows)
sdn-sadri.ova
Download
‫لینوکس‬ ‫با‬ ‫کار‬ ‫شروع‬ ‫برای‬ ‫کاربردی‬ ‫دستورات‬:
Command Description
1 Pwd ‫جاری‬ ‫دایرکتوری‬ ‫مسیر‬ ‫نمایش‬
2 Ls ‫نمایش‬‫جاری‬ ‫مسیر‬ ‫فایلهای‬ ‫و‬ ‫ها‬ ‫پوشه‬ ‫لیست‬
3 Ifconfig ‫تنظیمات‬ ‫نمایش‬‫شبکه‬ ‫کارت‬
4 Ping
5 Apt-get ‫نصب،حذف،بروزرسانی‬‫نیاز‬ ‫مورد‬ ‫های‬ ‫برنامه‬
6 Poweroff,shutdown,init 0
7 Reboot,init 6
8 Su Switch User | by default su mean switch user to Root (superuser)
9 Passwd Change password current user
10 sudo Switch User and Doing | by default sudo in Root
11 Vi,nano Text Editor
12 Man Manual (Help) | Help Command, Ex: man pwd
13 Service Services manager | Ex: service
14 dhclient DHCP Client | -r option for Release interface
sudo /etc/init.d/networking {stop|start|restart}
Ifconfig <eth0> down | up ‫خاص‬ ‫اینترفیس‬ ‫یک‬ ‫کردن‬ ‫فعال‬ ‫و‬ ‫غیرفعال‬
Sudo ifdown –a ‫شبکه‬ ‫کارتهای‬ ‫همه‬ ‫کردن‬ ‫فعال‬ ‫غیر‬
Sudo ifup –a ‫فعال‬‫کارتهای‬ ‫همه‬ ‫کردن‬‫شبکه‬
Sudo ifdown <eth0> ‫خاص‬ ‫اینترفیس‬ ‫یک‬ ‫کردن‬ ‫غیرفعال‬
Sudo ifup <eth0> ‫خاص‬ ‫اینترفیس‬ ‫یک‬ ‫کردن‬ ‫فعال‬
• Interfaces Command
SSHSecure SHell
Secure Shell (SSH) is a cryptographic network protocol for secure data communication
‫یک‬‫پایه‬ ‫بر‬ ‫امن‬ ‫ارتباطی‬ ‫پروتکل‬TPC/IP‫و‬ ‫کالینت‬ ‫بین‬ ‫ها‬ ‫داده‬ ‫گذاری‬ ‫رمز‬ ‫با‬ ‫که‬ ‫است‬ ‫گیرنده‬ ‫سرویس‬ ‫و‬ ‫دهنده‬ ‫سرویس‬ ‫بین‬
‫میکند‬ ‫جلوگیری‬ ‫مسیر‬ ‫طول‬ ‫در‬ ‫اطالعات‬ ‫افشای‬ ‫از‬ ‫سرور‬
Port 22
Mininet
My Client
Linux Ubuntu Windows
SSH Server
SSH Client
SSH Protocol
Port 22
Putty.exe
More information
X11 provides the basic framework for a GUI environment
X11‫محیط‬ ‫یک‬ ‫برای‬ ‫امکانات‬ ‫ترین‬ ‫ای‬ ‫پایه‬GUI‫کند‬ ‫می‬ ‫فراهم‬ ‫را‬(‫و‬ ‫کیبرد‬ ‫و‬ ‫ماوس‬ ‫با‬ ‫ارتباط‬ ،‫ها‬ ‫پنجره‬ ‫نمایش‬ ‫و‬ ‫رسم‬ ‫مانند‬)...
X11 X-Windows
‫مثال‬:
•‫ساعت‬ ‫نمایش‬
•‫فایرفاکس‬ ‫کردن‬ ‫باز‬
•‫کردن‬ ‫باز‬ ‫ما‬ ‫پروژه‬ ‫در‬ ‫یا‬Wireshark
xclock
‫اندازی‬ ‫راه‬ ‫برای‬X11‫کنیم؟؟؟‬ ‫چیکار‬ ‫باید‬
Mininet
My Client
X11 Client X11 Server
Linux-mininet# xclock
X11 Forwarding
X11 Forwarding GUI
X11 Client X11 Server
Xinit ming
#Sudo apt-get install xinit
#Sudo apt-get install xview-clients
#Sudo apt-get install x11-apps
http://sourceforge.net/projects/xming/
Download & Install
X Window System Server for Windows#Sudo apt-get update
#Sudo startx
‫منابع‬ ‫بروزرسانی‬ ‫برای‬(Repository)‫لینوکس‬
‫اجرای‬xinit
‫اجرا‬ ‫نحوه‬X11
1-‫برنامه‬ ‫ابتدا‬Xming server‫کنیم‬ ‫می‬ ‫اجرا‬ ‫ویندوز‬ ‫روی‬ ‫را‬
2-‫با‬ ‫ارتباط‬ ‫برای‬ ‫بعد‬ ‫به‬ ‫این‬ ‫از‬MiniNet‫طریق‬ ‫از‬SSH‫باید‬
‫کنید‬ ‫طی‬ ‫را‬ ‫شده‬ ‫مشخص‬ ‫عکس‬ ‫در‬ ‫که‬ ‫مراحلی‬
3-‫گزینه‬ ‫و‬Enable X11 forwarding‫بزنید‬ ‫تیک‬ ‫را‬.
4-‫سپس‬IP‫سرور‬Mininet‫قسمت‬ ‫در‬ ‫را‬Session‫وارد‬
‫میکنیم‬‫و‬‫به‬MiniNet‫قابلیت‬ ‫با‬X11‫شویم‬ ‫می‬ ‫متصل‬.
192.168.56.102
‫در‬ ‫شبکه‬ ‫یک‬ ‫ساخت‬Mininet
mnCommand
Enter to MiniNet
‫هدف‬MiniNet‫مجازی‬ ‫شبکه‬ ‫یک‬ ‫ساخت‬
Hosts (Pc)
Switches
Controllers (Ryu,Pyretic)
*** Creating network
*** Adding controller
*** Adding hosts:
h1 h2
*** Adding switches:
s1
*** Adding links:
(h1, s1) (h2, s1)
*** Configuring hosts
h1 h2
*** Starting controller
*** Starting 1 switches
s1
*** Starting CLI:
mininet>
Documented commands (type help <topic>):
========================================
Command Descriptions
1 EOF ‫خروج‬‫از‬mininet
2 Exit ‫خروج‬‫از‬mininet
3 Quit ‫خروج‬‫از‬mininet
4 Time ‫مدت‬‫در‬ ‫را‬ ‫دستور‬ ‫یک‬ ‫اجرای‬ ‫زمان‬mininet‫می‬
‫دهد‬
5 Sh ‫اجرای‬‫دستور‬ ‫یک‬Shell‫داخل‬ ‫که‬ ‫زمانی‬mininet
‫هستیم‬
6 intfs ‫شبکه‬ ‫اینترفیسهای‬ ‫همه‬ ‫لیست‬
7 Gterm,xterm Xterm‫یک‬‫برپایه‬ ‫استاندارد‬ ‫ترمینال‬X-windows
Gterm=GNOME Terminal
8 Pingall Ping‫ها‬ ‫هاست‬ ‫همه‬ ‫بین‬
9 Pingallfull Ping‫هاست‬ ‫همه‬ ‫بین‬‫بیشتر‬ ‫جزئیات‬ ‫با‬ ‫ولی‬ ‫ها‬
10 Dpctl ‫برای‬ ‫ابزاری‬‫کنترل‬Flow Table‫سوئیچ‬ ‫یک‬
‫ش‬ ‫می‬ ‫استفاده‬ ‫یابی‬ ‫عیب‬ ‫برای‬ ‫ابزار‬ ‫این‬ ‫از‬ ‫معموال‬‫ود‬.
11 Link ‫غیرفعال‬ ‫و‬ ‫فعال‬ ‫برای‬‫توپو‬ ‫در‬ ‫لینک‬ ‫یک‬ ‫کردن‬‫لوژی‬
12 help ‫راهنما‬
13 nodes ‫تمام‬‫دهد‬ ‫می‬ ‫نشان‬ ‫را‬ ‫ما‬ ‫شبکه‬ ‫نودهای‬
14 iperf ‫باند‬ ‫پهنای‬ ‫محاسبه‬ ‫برای‬ ‫ابزای‬‫هاست‬ ‫دو‬ ‫بین‬
15 iprefudp ‫ه‬ ‫دو‬ ‫بین‬ ‫باند‬ ‫پهنای‬ ‫کارایی‬ ‫تست‬ ‫برای‬ ‫ابزاری‬‫با‬ ‫است‬
‫باند‬ ‫پهنای‬ ‫یک‬ ‫تعریف‬‫مثال‬ ‫خاص‬20‫مگابایت‬
16 dump ‫ها‬ ‫نود‬ ‫مورد‬ ‫در‬ ‫اطالعاتی‬‫میدهد‬
17 net ‫دهد‬ ‫می‬ ‫را‬ ‫شبکه‬ ‫اتصاالت‬ ‫لیست‬
18 Source ‫یکسری‬ ‫خواندی‬‫فایل‬ ‫یک‬ ‫از‬ ‫دستورات‬
19 Pingpair ‫پینگ‬‫تست‬ ‫برای‬ ‫بیشتر‬ ،‫هاست‬ ‫دو‬ ‫اولین‬ ‫بین‬‫های‬
‫میشود‬ ‫استفاده‬ ‫سریع‬.
20 Pingpaifull ‫باال‬ ‫دستور‬ ‫مانند‬‫بیشتر‬ ‫جزئیات‬ ‫با‬ ‫ولی‬
21 py ‫پایتون‬ ‫عبارت‬ ‫یک‬ ‫اجرای‬
22 Noecho ‫خروجی‬ ‫نمایش‬ ‫بدون‬ ‫دستور‬ ‫یک‬ ‫اجرای‬
MiniNet Topologies
sudo mn
*** Creating network
*** Adding controller
*** Adding hosts:
h1 h2
*** Adding switches:
s1
*** Adding links:
(h1, s1) (h2, s1)
*** Configuring hosts
h1 h2
*** Starting controller
*** Starting 1 switches
s1
• Default Topology
sudo mn --topo single,3
mininet> net
h1 h1-eth0:s1-eth1
h2 h2-eth0:s1-eth2
h3 h3-eth0:s1-eth3
s1 lo: s1-eth1:h1-eth0 s1-eth2:h2-eth0 s1-eth3:h3-eth0
• Single
sudo mn --topo reserved,3
mininet> net
h1 h1-eth0:s1-eth3
h2 h2-eth0:s1-eth2
h3 h3-eth0:s1-eth1
s1 lo: s1-eth1:h3-eth0 s1-eth2:h2-eth0 s1-eth3:h1-eth0
• Reserved
Single:
h1 h1-eth0:s1-eth1
h2 h2-eth0:s1-eth2
h3 h3-eth0:s1-eth3
sudo mn --topo linear,3
mininet> net
h1 h1-eth0:s1-eth1
h2 h2-eth0:s2-eth1
h3 h3-eth0:s3-eth1
s1 lo: s1-eth1:h1-eth0 s1-eth2:s2-eth2
s2 lo: s2-eth1:h2-eth0 s2-eth2:s1-eth2 s2-eth3:s3-eth2
s3 lo: s3-eth1:h3-eth0 s3-eth2:s2-eth3
• Linear A serial connection with N switches and N hosts
sudo mn --topo tree,3
mininet> net
h1 h1-eth0:s3-eth1
h2 h2-eth0:s3-eth2
.
.
.
• Tree A multiple level topology with N levels and TWO hosts per switch
• Custom Topologies Using a simple Python API
Cd /home/mininet/mininet/custom/mininet@mininet:~$
README topo-2sw-2host.py
mininet@mininet:~$ ls
Python API
mininet@mininet:~$ Vi topo-2sw-2host.py
# Add links
self.addLink( leftHost, leftSwitch )
self.addLink( leftSwitch, rightSwitch )
self.addLink( rightSwitch, rightHost )
# Add hosts and switches
leftHost = self.addHost( 'h1' )
rightHost = self.addHost( 'h2' )
leftSwitch = self.addSwitch( 's3' )
rightSwitch = self.addSwitch( 's4' )
topos = { 'mytopo': ( lambda: MyTopo() )
• To start up a mininet with the provided custom topology, do:
sudo mn --custom custom_example.py --topo mytopo
sudo mn --custom /home/mininet/mininet/custom/topo-2sw-2host.py --topo mytopo
• Controller
Name Versions Language Description
NOX 1.0 C++ The original OpenFlow controller. Developed by Nicira and donated to research in 2008.
POX 1.0 Python POX is NOX's Python-only younger sibling and is designed for rapid prototyping.
Open
Daylight
1.0, 1.3 Java
Industry supported (Cisco, Brocade, etc) Linux Foundation project. OpenDaylight has
attracted considerable attention over the past year.
Beacon 1.0 Java
Written by David Erickson at Stanford in 2010, Beacon is one of the most widely cited
OpenFlow controllers and served as the basis of Floodlight.
Flowvisor 1.0 C
Special purpose controller that acts as transparent proxy for multiple controllers and enables
rich network slicing.
Floodlight 1.0 Java
Open source core of the commercial controller product made by Big Switch Networks, forked
from Beacon but without OSGI.
Trema 1.0 C and Ruby Formerly known as Helios, this controller came from research efforts at NEC.
Ryu
1.0, 1.2, and
1.3
Python
Started by NTT Labs, Ryu is one of the more complete and easy to integrate OpenFlow
controllers with open source today.
Pyretic
1.0, 1.2, and
1.3 Python Pyretic is one member of the Frenetic family of SDN programming languages.
Scott Shenker
Default Controller
In the Mininet is
“OVSC”
Openflow Virtual Switch Controller
• Choose Controller in Mininet
http://sdnhub.org/tutorials/ryu/
$ sudo mn --topo single,3 --controller remote --switch ovsk
Ovsk ( Open vSwitch in Kernel ) = support for both OpenFlow ver 1.0 and 1.3
--controller remote Run Local Controller 127.0.0.1
--controller=remote=192.168.1.200,port=6633
Controller = Default Controller “OVSC”
$ sudo ovs-vsctl set bridge s1 protocols=OpenFlow13 Force a switch to support OpenFlow 1.3
• How to run RYU & link to Mininet
sudo mn --topo single,3 --mac --controller remote --switch ovskmininet@mininet:~$
‫در‬ ‫شبکه‬ ‫یک‬ ‫ساخت‬mininet‫کنترللر‬ ‫یک‬ ‫از‬ ‫استفاده‬ ‫و‬Remote
*** Creating network
*** Adding controller
Unable to contact the remote controller at 127.0.0.1:6633
*** Adding hosts:
h1 h2 h3
*** Adding switches:
s1
*** Adding links:
(h1, s1) (h2, s1) (h3, s1)
*** Configuring hosts
h1 h2 h3
*** Starting controller
*** Starting 1 switches
s1
*** Starting CLI:
mininet>
‫نکردیم‬ ‫اجرا‬ ‫ما‬ ‫را‬ ‫کنترللری‬ ‫هیچ‬ ‫اینکه‬ ‫بدلیل‬Mininet‫دهد‬ ‫تشخیص‬ ‫را‬ ‫کنترللری‬ ‫است‬ ‫نتوانسته‬.
‫کنترللر‬ ‫به‬ ‫نیست‬ ‫قادر‬ ‫گوید‬ ‫می‬ ‫و‬Remote‫به‬ ‫را‬Mininet‫کند‬ ‫اضافه‬.
‫بیاریم‬ ‫در‬ ‫اجرا‬ ‫به‬ ‫را‬ ‫کنترلر‬ ‫یک‬ ‫ما‬ ‫باید‬ ‫پس‬
•‫برنامه‬ ‫از‬ ‫استفاده‬ ‫با‬ ‫اینکار‬ ‫برای‬Putty‫دیگر‬ ‫ارتباط‬ ‫یک‬SSH‫میزنیم‬ ‫لینوکس‬ ‫به‬.
•‫کنیم‬ ‫می‬ ‫اجرا‬ ‫را‬ ‫نظر‬ ‫مورد‬ ‫کنترلرر‬ ‫سپس‬.
• Run RYU Controller
mininet@mininet:~$ ryu-manager --verbose ryu/app/simple_switch.py
mininet@mininet:~$ Cd ryu
OpenFlow 1.0
• Upgrade Ubuntu Open vSwitch 1.4 to 2.3 using packages in Mininet VM
1 Remove old Open vSwtich (1.4):
sudo apt-get remove openvswitch-common openvswitch-datapath-dkms
openvswitch-controller openvswitch-pki openvswitch-switch
Download the new Open vSwtich source tarball:2
mkdir openvswitch
cd openvswitch
wget http://openvswitch.org/releases/openvswitch-2.3.0.tar.gz
tar zxvf openvswitch-2.3.0.tar.gz
cd openvswitch-2.3.0
ovs-vswitchd –version
ovs-vswitchd (Open vSwitch) 1.4.0+build0
• Upgrade Ubuntu Open vSwitch 1.4 to 2.3 using packages in Mininet VM
3
4
Install all the dependencies that will be needed:
sudo apt-get update
sudo apt-get -y install build-essential fakeroot debhelper autoconf
automake libssl-dev pkg-config bzip2 openssl python-all procps python-qt4
python-zopeinterface python-twisted-conch
Build the Debian packages:
DEB_BUILD_OPTIONS='parallel=2 nocheck' fakeroot debian/rules binary
Install the packages:5
cd ..
sudo dpkg -i openvswitch-common*.deb openvswitch-datapath-dkms*.deb openvswitch-
controller*.deb openvswitch-pki*.deb openvswitch-switch*.deb
• Upgrade Ubuntu Open vSwitch 1.4 to 2.3 using packages in Mininet VM
6 Open vSwitch Controller from starting automatically on boot:
sudo /etc/init.d/openvswitch-controller stop
sudo update-rc.d openvswitch-controller disable
sudo /etc/init.d/openvswitch-switch start
ovs-vswitchd –version
ovs-vswitchd (Open vSwitch) 2.3.0
Bookmarks
Repository
A software repository is a storage location from which software packages may be retrieved and installed
on a computer.
‫یک‬‫مخزن‬‫افزاری‬‫نرم‬‫کاربران‬ ‫که‬ ‫جاییست‬ ،‫آن‬ ‫از‬ ‫را‬ ‫افزارها‬‫نرم‬ ‫توانند‬‫می‬‫دریافت‬ ‫مخزن‬‫خو‬ ‫کامپیوتر‬ ‫روی‬ ‫بر‬ ‫سپس‬ ‫و‬ ‫کرده‬‫نصب‬ ‫د‬
‫کنند‬‫باشیم‬ ‫داشته‬ ‫دسترسی‬ ‫ها‬ ‫افزار‬ ‫نرم‬ ‫آپدیت‬ ‫آخرین‬ ‫به‬ ‫تا‬ ‫کنیم‬ ‫می‬ ‫آپدیت‬ ‫را‬ ‫مخزن‬ ‫این‬ ‫معموال‬ ‫ما‬.
More information (Click Here)
Back to Previous Slide
Putty.exe
PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm
terminal emulator. It is written and maintained primarily by Simon Tatham.
‫پ‬‫وتی‬(Putty)‫نام‬‫رایگان‬ ‫افزار‬ ‫نرم‬ ‫مجموعه‬ ‫یک‬SSH Client/Server‫در‬‫محیط‬windows‫توانید‬ ‫می‬ ‫آن‬ ‫از‬ ‫استفاده‬ ‫با‬ ‫که‬ ‫باشد‬ ‫می‬
‫های‬ ‫پروتکل‬ ‫طریق‬ ‫از‬Raw،Rlogin‫و‬SSH‫متصل‬ ‫لینوکس‬ ‫سرور‬ ‫یک‬ ‫به‬‫شوید‬.
Download Link
Back to Previous Slide
Ubuntu
Ubuntu is an open source software platform that runs everywhere from the smartphone, the tablet and the
PC to the server and the cloud.
‫اوبونتو‬(‫به‬‫انگلیسی‬:Ubuntu)‫یک‬‫توزیع‬‫لینوکس‬‫توزیع‬ ‫مبنای‬ ‫بر‬ ‫که‬ ‫است‬‫دبیان‬‫دار‬ ‫تفاوت‬ ‫آن‬ ‫با‬ ‫اما‬ ‫است؛‬‫شده‬ ‫گذاری‬‫پایه‬‫د‬.‫نام‬
‫از‬ ‫یکی‬ ‫از‬ ‫اوبونتو‬‫مفاهیم‬‫جنوبی‬ ‫آفریقای‬‫معنی‬ ‫به‬«‫دیگران‬ ‫به‬ ‫نسبت‬ ‫انسانیت‬».
Ubuntu Site
Back to Previous Slide
Ubuntu 14.10 Desktop
Wireshark
Wireshark is a free and open-source packet analyzer. It is used for network troubleshooting, analysis,
software and communications protocol development, and education.
Wireshark‫یک‬‫آنالیزگر‬‫است‬ ‫شبکه‬ ‫در‬ ‫پکت‬.‫یک‬‫پکت‬ ‫آنالیزگر‬‫اند‬ ‫دام‬ ‫به‬ ‫را‬ ‫شوند‬ ‫می‬ ‫وبدل‬ ‫رد‬ ‫شبکه‬ ‫در‬ ‫که‬ ‫هایی‬ ‫پکت‬ ،‫آنها‬ ‫و‬ ‫اخته‬
‫دهد‬ ‫می‬ ‫نمایش‬ ‫را‬ ‫آن‬ ‫جزئیات‬ ‫امکان‬ ‫صورت‬ ‫در‬ ‫و‬ ‫دهد‬ ‫می‬ ‫قرار‬ ‫پردازش‬ ‫مورد‬ ‫را‬.
‫در‬‫می‬ ‫قرار‬ ‫برسی‬ ‫مورد‬ ‫و‬ ‫انداخته‬ ‫دام‬ ‫به‬ ‫را‬ ‫گذرد‬ ‫می‬ ‫کابل‬ ‫طریق‬ ‫از‬ ‫که‬ ‫را‬ ‫آنچه‬ ‫دقیق‬ ‫طور‬ ‫به‬ ‫افزار‬ ‫نرم‬ ‫این‬ ‫واقع‬‫دهد‬.
Wireshark Site
Back to Previous Slide
SDN_tutorial_VM_32bit
Back to Previous Slide
•SDN Controllers: OpenDaylight, RYU, Floodlight, POX, and Pyretic
•Example code for a hub, L2 learning switch, and other applications
•Open vSwitch 2.1.0 with support for Openflow 1.2, 1.3 and 1.4
•Mininet to create and run example topologies
•Wireshark 1.11.3 with native support for OpenFlow parsing
•X11 Display
•Firefox
•JDK, Eclipse, and Maven
‫سبزتان‬ ‫ر‬‫حضو‬ ‫از‬‫تشکر‬ ‫با‬
‫صدری‬ ‫وحید‬

Recommended

Software Defined Networks
Software Defined NetworksSoftware Defined Networks
Software Defined NetworksShreeya Shah
 
Introduction to SDN: Software Defined Networking
Introduction to SDN: Software Defined NetworkingIntroduction to SDN: Software Defined Networking
Introduction to SDN: Software Defined NetworkingAnkita Mahajan
 
Software Defined networking (SDN)
Software Defined networking (SDN)Software Defined networking (SDN)
Software Defined networking (SDN)Milson Munakami
 
SDN & NFV Introduction - Open Source Data Center Networking
SDN & NFV Introduction - Open Source Data Center NetworkingSDN & NFV Introduction - Open Source Data Center Networking
SDN & NFV Introduction - Open Source Data Center NetworkingThomas Graf
 
Software-Defined Networking(SDN):A New Approach to Networking
Software-Defined Networking(SDN):A New Approach to NetworkingSoftware-Defined Networking(SDN):A New Approach to Networking
Software-Defined Networking(SDN):A New Approach to NetworkingAnju Ann
 
SDN: an introduction
SDN: an introductionSDN: an introduction
SDN: an introductionLuca Profico
 
Software Defined Networking (SDN) Technology Brief
Software Defined Networking (SDN) Technology BriefSoftware Defined Networking (SDN) Technology Brief
Software Defined Networking (SDN) Technology BriefZivaro Inc
 
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014SAMeh Zaghloul
 

More Related Content

What's hot

Introduction to OpenDaylight & Application Development
Introduction to OpenDaylight & Application DevelopmentIntroduction to OpenDaylight & Application Development
Introduction to OpenDaylight & Application DevelopmentMichelle Holley
 
Introduction to OpenFlow, SDN and NFV
Introduction to OpenFlow, SDN and NFVIntroduction to OpenFlow, SDN and NFV
Introduction to OpenFlow, SDN and NFVKingston Smiler
 
SDN Architecture & Ecosystem
SDN Architecture & EcosystemSDN Architecture & Ecosystem
SDN Architecture & EcosystemKingston Smiler
 
Introduction to SDN and NFV
Introduction to SDN and NFVIntroduction to SDN and NFV
Introduction to SDN and NFVCoreStack
 
SDN and NFV: Friends or Enemies
SDN and NFV: Friends or EnemiesSDN and NFV: Friends or Enemies
SDN and NFV: Friends or EnemiesJustyna Bak
 
Software Defined Networking (SDN)
Software Defined Networking (SDN)Software Defined Networking (SDN)
Software Defined Networking (SDN)NetProtocol Xpert
 
Why sdn
Why sdnWhy sdn
Why sdnlz1dsb
 
SDN Basics – What You Need to Know about Software-Defined Networking
SDN Basics – What You Need to Know about Software-Defined NetworkingSDN Basics – What You Need to Know about Software-Defined Networking
SDN Basics – What You Need to Know about Software-Defined NetworkingSDxCentral
 
NFV +SDN (Network Function Virtualization)
NFV +SDN (Network Function Virtualization)NFV +SDN (Network Function Virtualization)
NFV +SDN (Network Function Virtualization)Hamidreza Bolhasani
 
Sdn presentation
Sdn presentation Sdn presentation
Sdn presentation Frikha Nour
 
Software Defined Networking/ Networking/ Traditional Networking/ SDN Benefits
Software Defined Networking/ Networking/ Traditional Networking/ SDN BenefitsSoftware Defined Networking/ Networking/ Traditional Networking/ SDN Benefits
Software Defined Networking/ Networking/ Traditional Networking/ SDN BenefitsMehak Azeem
 
Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)rjain51
 
Introduction to OpenFlow
Introduction to OpenFlowIntroduction to OpenFlow
Introduction to OpenFlowJoel W. King
 
Software Defined Network - SDN
Software Defined Network - SDNSoftware Defined Network - SDN
Software Defined Network - SDNVenkata Naga Ravi
 
Software Defined Network (SDN)
Software Defined Network (SDN)Software Defined Network (SDN)
Software Defined Network (SDN)Ahmed Ayman
 
SDN, OpenFlow, NFV, and Virtual Network
SDN, OpenFlow, NFV, and Virtual NetworkSDN, OpenFlow, NFV, and Virtual Network
SDN, OpenFlow, NFV, and Virtual NetworkTim4PreStartup
 
Software-Defined Networking (SDN): Unleashing the Power of the Network
Software-Defined Networking (SDN): Unleashing the Power of the NetworkSoftware-Defined Networking (SDN): Unleashing the Power of the Network
Software-Defined Networking (SDN): Unleashing the Power of the NetworkRobert Keahey
 
Software Define Networking (SDN)
Software Define Networking (SDN)Software Define Networking (SDN)
Software Define Networking (SDN)Pradeep Kumar TS
 

What's hot (20)

Introduction to OpenDaylight & Application Development
Introduction to OpenDaylight & Application DevelopmentIntroduction to OpenDaylight & Application Development
Introduction to OpenDaylight & Application Development
 
Introduction to OpenFlow, SDN and NFV
Introduction to OpenFlow, SDN and NFVIntroduction to OpenFlow, SDN and NFV
Introduction to OpenFlow, SDN and NFV
 
SDN Presentation
SDN PresentationSDN Presentation
SDN Presentation
 
SDN Architecture & Ecosystem
SDN Architecture & EcosystemSDN Architecture & Ecosystem
SDN Architecture & Ecosystem
 
Introduction to SDN and NFV
Introduction to SDN and NFVIntroduction to SDN and NFV
Introduction to SDN and NFV
 
SDN and NFV: Friends or Enemies
SDN and NFV: Friends or EnemiesSDN and NFV: Friends or Enemies
SDN and NFV: Friends or Enemies
 
Software Defined Networking (SDN)
Software Defined Networking (SDN)Software Defined Networking (SDN)
Software Defined Networking (SDN)
 
Why sdn
Why sdnWhy sdn
Why sdn
 
SDN Basics – What You Need to Know about Software-Defined Networking
SDN Basics – What You Need to Know about Software-Defined NetworkingSDN Basics – What You Need to Know about Software-Defined Networking
SDN Basics – What You Need to Know about Software-Defined Networking
 
NFV +SDN (Network Function Virtualization)
NFV +SDN (Network Function Virtualization)NFV +SDN (Network Function Virtualization)
NFV +SDN (Network Function Virtualization)
 
Introduction to SDN and NFV
Introduction to SDN and NFVIntroduction to SDN and NFV
Introduction to SDN and NFV
 
Sdn presentation
Sdn presentation Sdn presentation
Sdn presentation
 
Software Defined Networking/ Networking/ Traditional Networking/ SDN Benefits
Software Defined Networking/ Networking/ Traditional Networking/ SDN BenefitsSoftware Defined Networking/ Networking/ Traditional Networking/ SDN Benefits
Software Defined Networking/ Networking/ Traditional Networking/ SDN Benefits
 
Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)
 
Introduction to OpenFlow
Introduction to OpenFlowIntroduction to OpenFlow
Introduction to OpenFlow
 
Software Defined Network - SDN
Software Defined Network - SDNSoftware Defined Network - SDN
Software Defined Network - SDN
 
Software Defined Network (SDN)
Software Defined Network (SDN)Software Defined Network (SDN)
Software Defined Network (SDN)
 
SDN, OpenFlow, NFV, and Virtual Network
SDN, OpenFlow, NFV, and Virtual NetworkSDN, OpenFlow, NFV, and Virtual Network
SDN, OpenFlow, NFV, and Virtual Network
 
Software-Defined Networking (SDN): Unleashing the Power of the Network
Software-Defined Networking (SDN): Unleashing the Power of the NetworkSoftware-Defined Networking (SDN): Unleashing the Power of the Network
Software-Defined Networking (SDN): Unleashing the Power of the Network
 
Software Define Networking (SDN)
Software Define Networking (SDN)Software Define Networking (SDN)
Software Define Networking (SDN)
 

Similar to Software defined networking(sdn) vahid sadri

NFV Linaro Connect Keynote
NFV Linaro Connect KeynoteNFV Linaro Connect Keynote
NFV Linaro Connect KeynoteLinaro
 
SDN and NFV Friends or Enemies ?
SDN and NFV Friends or Enemies ?SDN and NFV Friends or Enemies ?
SDN and NFV Friends or Enemies ?Kedar Raval
 
Know about SDN and NFV
Know about SDN and NFVKnow about SDN and NFV
Know about SDN and NFVKedar Raval
 
Optimising nfv service chains on open stack using docker
Optimising nfv service chains on open stack using dockerOptimising nfv service chains on open stack using docker
Optimising nfv service chains on open stack using dockerAnanth Padmanabhan
 
Optimising nfv service chains on open stack using docker
Optimising nfv service chains on open stack using dockerOptimising nfv service chains on open stack using docker
Optimising nfv service chains on open stack using dockerSatya Sanjibani Routray
 
Optimising nfv service chains on open stack using docker
Optimising nfv service chains on open stack using dockerOptimising nfv service chains on open stack using docker
Optimising nfv service chains on open stack using dockerRahul Krishna Upadhyaya
 
[OpenStack Day in Korea 2015] Track 2-3 - 오픈스택 클라우드에 최적화된 네트워크 가상화 '누아지(Nuage)'
[OpenStack Day in Korea 2015] Track 2-3 - 오픈스택 클라우드에 최적화된 네트워크 가상화 '누아지(Nuage)'[OpenStack Day in Korea 2015] Track 2-3 - 오픈스택 클라우드에 최적화된 네트워크 가상화 '누아지(Nuage)'
[OpenStack Day in Korea 2015] Track 2-3 - 오픈스택 클라우드에 최적화된 네트워크 가상화 '누아지(Nuage)'OpenStack Korea Community
 
Delivering Composable NFV Services for Business, Residential and Mobile Edge
Delivering Composable NFV Services for Business, Residential and Mobile EdgeDelivering Composable NFV Services for Business, Residential and Mobile Edge
Delivering Composable NFV Services for Business, Residential and Mobile EdgePLUMgrid
 
Why Network Functions Virtualization sdn?
Why Network Functions Virtualization sdn?Why Network Functions Virtualization sdn?
Why Network Functions Virtualization sdn?idrajeev
 
Network Function Virtualization Orchestration LI
Network Function Virtualization Orchestration LINetwork Function Virtualization Orchestration LI
Network Function Virtualization Orchestration LIKrishnamoorthy Arvind
 
Network Function Virtualization (NFV) BoF
Network Function Virtualization (NFV) BoFNetwork Function Virtualization (NFV) BoF
Network Function Virtualization (NFV) BoFAPNIC
 
Non-Fluff Software Defined Networking, Network Function Virtualization and IoT
Non-Fluff Software Defined Networking, Network Function Virtualization and IoTNon-Fluff Software Defined Networking, Network Function Virtualization and IoT
Non-Fluff Software Defined Networking, Network Function Virtualization and IoTMark Ryan Castellani
 
Non-Fluff Software Defined Networking, Network Function Virtualization and IoT
Non-Fluff Software Defined Networking, Network Function Virtualization and IoTNon-Fluff Software Defined Networking, Network Function Virtualization and IoT
Non-Fluff Software Defined Networking, Network Function Virtualization and IoTMark Ryan Castellani
 
Lenovo networking: top of the top of the rack
Lenovo networking: top of the top of the rackLenovo networking: top of the top of the rack
Lenovo networking: top of the top of the rackLenovo Data Center
 
LF_DPDK17_OpenNetVM: A high-performance NFV platforms to meet future communic...
LF_DPDK17_OpenNetVM: A high-performance NFV platforms to meet future communic...LF_DPDK17_OpenNetVM: A high-performance NFV platforms to meet future communic...
LF_DPDK17_OpenNetVM: A high-performance NFV platforms to meet future communic...LF_DPDK
 
ONAP - Open Network Automation Platform
ONAP - Open Network Automation PlatformONAP - Open Network Automation Platform
ONAP - Open Network Automation PlatformAtul Pandey
 

Similar to Software defined networking(sdn) vahid sadri (20)

Nfv short-course-sbrc14-full
Nfv short-course-sbrc14-fullNfv short-course-sbrc14-full
Nfv short-course-sbrc14-full
 
Feec telecom-nw-softwarization-aug-2015
Feec telecom-nw-softwarization-aug-2015Feec telecom-nw-softwarization-aug-2015
Feec telecom-nw-softwarization-aug-2015
 
NFV Linaro Connect Keynote
NFV Linaro Connect KeynoteNFV Linaro Connect Keynote
NFV Linaro Connect Keynote
 
SDN and NFV Friends or Enemies ?
SDN and NFV Friends or Enemies ?SDN and NFV Friends or Enemies ?
SDN and NFV Friends or Enemies ?
 
Know about SDN and NFV
Know about SDN and NFVKnow about SDN and NFV
Know about SDN and NFV
 
Optimising nfv service chains on open stack using docker
Optimising nfv service chains on open stack using dockerOptimising nfv service chains on open stack using docker
Optimising nfv service chains on open stack using docker
 
Optimising nfv service chains on open stack using docker
Optimising nfv service chains on open stack using dockerOptimising nfv service chains on open stack using docker
Optimising nfv service chains on open stack using docker
 
Optimising nfv service chains on open stack using docker
Optimising nfv service chains on open stack using dockerOptimising nfv service chains on open stack using docker
Optimising nfv service chains on open stack using docker
 
[OpenStack Day in Korea 2015] Track 2-3 - 오픈스택 클라우드에 최적화된 네트워크 가상화 '누아지(Nuage)'
[OpenStack Day in Korea 2015] Track 2-3 - 오픈스택 클라우드에 최적화된 네트워크 가상화 '누아지(Nuage)'[OpenStack Day in Korea 2015] Track 2-3 - 오픈스택 클라우드에 최적화된 네트워크 가상화 '누아지(Nuage)'
[OpenStack Day in Korea 2015] Track 2-3 - 오픈스택 클라우드에 최적화된 네트워크 가상화 '누아지(Nuage)'
 
Delivering Composable NFV Services for Business, Residential and Mobile Edge
Delivering Composable NFV Services for Business, Residential and Mobile EdgeDelivering Composable NFV Services for Business, Residential and Mobile Edge
Delivering Composable NFV Services for Business, Residential and Mobile Edge
 
Why Network Functions Virtualization sdn?
Why Network Functions Virtualization sdn?Why Network Functions Virtualization sdn?
Why Network Functions Virtualization sdn?
 
Network Function Virtualization Orchestration LI
Network Function Virtualization Orchestration LINetwork Function Virtualization Orchestration LI
Network Function Virtualization Orchestration LI
 
Network Function Virtualization (NFV) BoF
Network Function Virtualization (NFV) BoFNetwork Function Virtualization (NFV) BoF
Network Function Virtualization (NFV) BoF
 
2017 dagstuhl-nfv-rothenberg
2017 dagstuhl-nfv-rothenberg2017 dagstuhl-nfv-rothenberg
2017 dagstuhl-nfv-rothenberg
 
Introduction to SDN
Introduction to SDNIntroduction to SDN
Introduction to SDN
 
Non-Fluff Software Defined Networking, Network Function Virtualization and IoT
Non-Fluff Software Defined Networking, Network Function Virtualization and IoTNon-Fluff Software Defined Networking, Network Function Virtualization and IoT
Non-Fluff Software Defined Networking, Network Function Virtualization and IoT
 
Non-Fluff Software Defined Networking, Network Function Virtualization and IoT
Non-Fluff Software Defined Networking, Network Function Virtualization and IoTNon-Fluff Software Defined Networking, Network Function Virtualization and IoT
Non-Fluff Software Defined Networking, Network Function Virtualization and IoT
 
Lenovo networking: top of the top of the rack
Lenovo networking: top of the top of the rackLenovo networking: top of the top of the rack
Lenovo networking: top of the top of the rack
 
LF_DPDK17_OpenNetVM: A high-performance NFV platforms to meet future communic...
LF_DPDK17_OpenNetVM: A high-performance NFV platforms to meet future communic...LF_DPDK17_OpenNetVM: A high-performance NFV platforms to meet future communic...
LF_DPDK17_OpenNetVM: A high-performance NFV platforms to meet future communic...
 
ONAP - Open Network Automation Platform
ONAP - Open Network Automation PlatformONAP - Open Network Automation Platform
ONAP - Open Network Automation Platform
 

Recently uploaded

Series of training sessions by our experts for you to provide necessary insig...
Series of training sessions by our experts for you to provide necessary insig...Series of training sessions by our experts for you to provide necessary insig...
Series of training sessions by our experts for you to provide necessary insig...AshishChanchal1
 
Checklist to troubleshoot CD moisture profiles.docx
Checklist to troubleshoot CD moisture profiles.docxChecklist to troubleshoot CD moisture profiles.docx
Checklist to troubleshoot CD moisture profiles.docxNoman khan
 
Application of eddy current in industry and domestic purposes.pptx
Application of eddy current in industry and domestic purposes.pptxApplication of eddy current in industry and domestic purposes.pptx
Application of eddy current in industry and domestic purposes.pptxsukantatechedu
 
PSYCHROMETRY AND DRYING POST HARVEST TECHNOLOGY UNIT 2.pptx
PSYCHROMETRY AND DRYING POST HARVEST TECHNOLOGY UNIT 2.pptxPSYCHROMETRY AND DRYING POST HARVEST TECHNOLOGY UNIT 2.pptx
PSYCHROMETRY AND DRYING POST HARVEST TECHNOLOGY UNIT 2.pptxARUL S
 
aircraft workshops hangars part1.pdf
aircraft workshops hangars part1.pdfaircraft workshops hangars part1.pdf
aircraft workshops hangars part1.pdfgamalgendy
 
Unit_1.pdf computer networks and computer topology
Unit_1.pdf computer networks and computer topologyUnit_1.pdf computer networks and computer topology
Unit_1.pdf computer networks and computer topology22i261
 
python presentation lists,strings,operation
python presentation lists,strings,operationpython presentation lists,strings,operation
python presentation lists,strings,operationManjuRaghavan1
 
Drone design for agricultural applications
Drone design for agricultural applicationsDrone design for agricultural applications
Drone design for agricultural applicationsturbomachinesproject
 
Haifa University Student Centre .pptxsaa
Haifa University Student Centre .pptxsaaHaifa University Student Centre .pptxsaa
Haifa University Student Centre .pptxsaassuser1cd9c9
 
Research and Publication PELecture_Notes.ppsx
Research and Publication PELecture_Notes.ppsxResearch and Publication PELecture_Notes.ppsx
Research and Publication PELecture_Notes.ppsxVASANTHIG10
 
Renewable sources to produce electricity , Wind Energy
Renewable sources to produce electricity , Wind EnergyRenewable sources to produce electricity , Wind Energy
Renewable sources to produce electricity , Wind EnergyMaryam79507
 
Wireless module 2 notes vtu 18ec81 GSM Module
Wireless module 2 notes vtu 18ec81 GSM ModuleWireless module 2 notes vtu 18ec81 GSM Module
Wireless module 2 notes vtu 18ec81 GSM ModuleChetan Naik
 
seminar power point presentation by Getahun Shanko.pptx
seminar power point presentation by Getahun Shanko.pptxseminar power point presentation by Getahun Shanko.pptx
seminar power point presentation by Getahun Shanko.pptxGetahunShankoKefeni
 
Robust, Precise, Fast - Chose Two for Radiated EMC Measurements!
Robust, Precise, Fast - Chose Two for Radiated EMC Measurements!Robust, Precise, Fast - Chose Two for Radiated EMC Measurements!
Robust, Precise, Fast - Chose Two for Radiated EMC Measurements!Mathias Magdowski
 
Chase Commerce Center History Nordberg manufacturing Rexnord Global power com...
Chase Commerce Center History Nordberg manufacturing Rexnord Global power com...Chase Commerce Center History Nordberg manufacturing Rexnord Global power com...
Chase Commerce Center History Nordberg manufacturing Rexnord Global power com...drezdzond
 
Basic Concepts of Material Science for Electrical and Electronic Materials ...
Basic Concepts of Material Science for  Electrical and Electronic Materials  ...Basic Concepts of Material Science for  Electrical and Electronic Materials  ...
Basic Concepts of Material Science for Electrical and Electronic Materials ...PeopleFinder
 
Data Mining Theory and Python Project.pptx
Data Mining Theory and Python Project.pptxData Mining Theory and Python Project.pptx
Data Mining Theory and Python Project.pptxGaziMdNoorHossain
 
CONFINED SPACE ENTRY for confined space training .pptx
CONFINED SPACE ENTRY for confined space training .pptxCONFINED SPACE ENTRY for confined space training .pptx
CONFINED SPACE ENTRY for confined space training .pptxCPGglobal
 

Recently uploaded (20)

Series of training sessions by our experts for you to provide necessary insig...
Series of training sessions by our experts for you to provide necessary insig...Series of training sessions by our experts for you to provide necessary insig...
Series of training sessions by our experts for you to provide necessary insig...
 
Checklist to troubleshoot CD moisture profiles.docx
Checklist to troubleshoot CD moisture profiles.docxChecklist to troubleshoot CD moisture profiles.docx
Checklist to troubleshoot CD moisture profiles.docx
 
Application of eddy current in industry and domestic purposes.pptx
Application of eddy current in industry and domestic purposes.pptxApplication of eddy current in industry and domestic purposes.pptx
Application of eddy current in industry and domestic purposes.pptx
 
PSYCHROMETRY AND DRYING POST HARVEST TECHNOLOGY UNIT 2.pptx
PSYCHROMETRY AND DRYING POST HARVEST TECHNOLOGY UNIT 2.pptxPSYCHROMETRY AND DRYING POST HARVEST TECHNOLOGY UNIT 2.pptx
PSYCHROMETRY AND DRYING POST HARVEST TECHNOLOGY UNIT 2.pptx
 
aircraft workshops hangars part1.pdf
aircraft workshops hangars part1.pdfaircraft workshops hangars part1.pdf
aircraft workshops hangars part1.pdf
 
Unit_1.pdf computer networks and computer topology
Unit_1.pdf computer networks and computer topologyUnit_1.pdf computer networks and computer topology
Unit_1.pdf computer networks and computer topology
 
python presentation lists,strings,operation
python presentation lists,strings,operationpython presentation lists,strings,operation
python presentation lists,strings,operation
 
Drone design for agricultural applications
Drone design for agricultural applicationsDrone design for agricultural applications
Drone design for agricultural applications
 
WIPAC Monthly Magazine - February 2024
WIPAC Monthly Magazine  -  February 2024WIPAC Monthly Magazine  -  February 2024
WIPAC Monthly Magazine - February 2024
 
Présentation IIRB 2024 Prévibest T. Leborgne
Présentation IIRB 2024 Prévibest T. LeborgnePrésentation IIRB 2024 Prévibest T. Leborgne
Présentation IIRB 2024 Prévibest T. Leborgne
 
Haifa University Student Centre .pptxsaa
Haifa University Student Centre .pptxsaaHaifa University Student Centre .pptxsaa
Haifa University Student Centre .pptxsaa
 
Research and Publication PELecture_Notes.ppsx
Research and Publication PELecture_Notes.ppsxResearch and Publication PELecture_Notes.ppsx
Research and Publication PELecture_Notes.ppsx
 
Renewable sources to produce electricity , Wind Energy
Renewable sources to produce electricity , Wind EnergyRenewable sources to produce electricity , Wind Energy
Renewable sources to produce electricity , Wind Energy
 
Wireless module 2 notes vtu 18ec81 GSM Module
Wireless module 2 notes vtu 18ec81 GSM ModuleWireless module 2 notes vtu 18ec81 GSM Module
Wireless module 2 notes vtu 18ec81 GSM Module
 
seminar power point presentation by Getahun Shanko.pptx
seminar power point presentation by Getahun Shanko.pptxseminar power point presentation by Getahun Shanko.pptx
seminar power point presentation by Getahun Shanko.pptx
 
Robust, Precise, Fast - Chose Two for Radiated EMC Measurements!
Robust, Precise, Fast - Chose Two for Radiated EMC Measurements!Robust, Precise, Fast - Chose Two for Radiated EMC Measurements!
Robust, Precise, Fast - Chose Two for Radiated EMC Measurements!
 
Chase Commerce Center History Nordberg manufacturing Rexnord Global power com...
Chase Commerce Center History Nordberg manufacturing Rexnord Global power com...Chase Commerce Center History Nordberg manufacturing Rexnord Global power com...
Chase Commerce Center History Nordberg manufacturing Rexnord Global power com...
 
Basic Concepts of Material Science for Electrical and Electronic Materials ...
Basic Concepts of Material Science for  Electrical and Electronic Materials  ...Basic Concepts of Material Science for  Electrical and Electronic Materials  ...
Basic Concepts of Material Science for Electrical and Electronic Materials ...
 
Data Mining Theory and Python Project.pptx
Data Mining Theory and Python Project.pptxData Mining Theory and Python Project.pptx
Data Mining Theory and Python Project.pptx
 
CONFINED SPACE ENTRY for confined space training .pptx
CONFINED SPACE ENTRY for confined space training .pptxCONFINED SPACE ENTRY for confined space training .pptx
CONFINED SPACE ENTRY for confined space training .pptx
 

Software defined networking(sdn) vahid sadri

  • 2. • Outline 1- Overview SDN 2- What is OpenFlow? 3- Start Project 1 • Requirements Project • Useful Linux commands • MiniNet • SSH Protocol • X11 (X-Windows) • Create Network in Mininet • Topologies • Controller (Test Remote Controller)
  • 4. Motivation Problem Statement • Complex carrier networks • with a large variety of proprietary nodes and hardware appliances. • Launching new services is difficult and takes too long • Space and power to accommodate • requires just another variety of box, which needs to be integrated. • Operation is expensive • Rapidly reach end of life • due to existing procure-design,- integrate-deploy cycle.  Network functionalities are based on specific HW&SW  One physical node per role Traditional Network model
  • 5. Sisyphus on Different Hills Telco Operators Equipment Vendors SDOs 2-6 Years Demand Drive Standardise Implement Sell Deploy Critical mass of supporters Develop Deploy Publish 2-6 Months Telco Cycle Service Providers Cycle 2-6 years 2-6 months Service Providers AVAILABLE AVAILABLE Idea !! Idea !! Source: Adapted from D. Lopez Telefonica I+D, NFV
  • 6. • Very intensive in hardware • Software not at the core • Very intensive in software • Hardware is a necessary base x HARDWARE SOFTWARE+ - + - Traditional telcos Internet players Adapt to survive: Telco evolution focus shifting from hardware to software Source: Adapted from D. Lopez Telefonica I+D, NFV Enter the Software-Defined Era Google, FacebookAT&T, Telefonica, Telebras
  • 7. Trends • High performance industry standard servers shipped in very high volume • Convergence of computing, storage and networks • New virtualization technologies that abstract underlying hardware yielding elasticity, scalability and automation • Software-defined networking • Cloud services • Mobility, explosion of devices and traffic Challenges • Huge capital investment to deal with current trends • Network operators face an increasing disparity between costs and revenues • Complexity: large and increasing variety of proprietary hardware appliances in operator’s network • Reduced hardware lifecycles • Lack of flexibility and agility: cannot move network resources where & when needed • Launching new services is difficult and takes too long. Often requires yet another proprietary box which needs to be integrated Source: Adapted from D. Lopez Telefonica I+D, NFV
  • 8. A means to make the network more flexible and simple by minimising dependence on HW constraints v  Network Functions are SW-based over well-known HW  Multiple roles over same HW ORCHESTRATION, AUTOMATION & REMOTE INSTALL DPI BRAS GGSN/ SGSN Firewall CG-NAT PE Router VIRTUAL APPLIANCES STANDARD HIGH VOLUME SERVERS Virtualised Network Model: VIRTUAL APPLIANCE APPROACHv  Network Functions are based on specific HW&SW  One physical node per role DPI BRAS GGSN/SGSN Session Border ControllerFirewall CG-NAT PE Router Traditional Network Model: APPLIANCE APPROACH The NFV Concept Source: Adapted from D. Lopez Telefonica I+D, NFV
  • 9. BRAS FirewallDPI CDN Tester/QoE monitor WAN Acceleration Message Router Radio Access Network Nodes Carrier Grade NAT Session Border Controller Network Virtualisation Approach PE RouterSGSN/GGSN Independent Software Vendors Standard High Volume Ethernet Switches Standard High Volume Storage Standard High Volume Servers Orchestrated, automatic & remote install. • Fragmented non-commodity hardware. • Physical install per appliance per site. • Hardware development large barrier to entry for new vendors, constraining innovation & competition. Classical Network Appliance Approach Target Source: NFV
  • 10. Network Functions Virtualization • Network Functions Virtualization is about implementing network functions in software - that today run on proprietary hardware - leveraging (high volume) standard servers and IT virtualization • Supports multi-versioning and multi-tenancy of network functions, which allows use of a single physical platform for different applications, users and tenants • Enables new ways to implement resilience, service assurance, test and diagnostics and security surveillance • Provides opportunities for pure software players • Facilitates innovation towards new network functions and services that are only practical in a pure software network environment • Applicable to any data plane packet processing and control plane functions, in fixed or mobile networks • NFV will only scale if management and configuration of functions can be automated • NFV aims to ultimately transform the way network operators architect and operate their networks, but change can be incremental Source: Adapted from D. Lopez Telefonica I+D, NFV
  • 11. Benefits & Promises of NFV • Reduced equipment costs (CAPEX) • through consolidating equipment and economies of scale of IT industry. • Increased speed of time to market • by minimising the typical network operator cycle of innovation. • Availability of network appliance multi-version and multi-tenancy, • allows a single platform for different applications, users and tenants. • Enables a variety of eco-systems and encourages openness. • Encouraging innovation to bring new services and generate new revenue streams. Source: NFV
  • 12. Benefits & Promises of NFV • Flexibility to easily, rapidly, dynamically provision and instantiate new services in various locations • Improved operational efficiency • by taking advantage of the higher uniformity of the physical network platform and its homogeneity to other support platforms. • Software-oriented innovation to rapidly prototype and test new services and generate new revenue streams • More service differentiation & customization • Reduced (OPEX) operational costs: reduced power, reduced space, improved network monitoring • IT-oriented skillset and talent Source: Adapted from D. Lopez Telefonica I+D, NFV
  • 13. So, why we need/want NFV(/SDN)? 1. Virtualization: Use network resource without worrying about where it is physically located, how much it is, how it is organized, etc. 2. Orchestration: Manage thousands of devices 3. Programmable: Should be able to change behavior on the fly. 4. Dynamic Scaling: Should be able to change size, quantity 5. Automation 6. Visibility: Monitor resources, connectivity 7. Performance: Optimize network device utilization 8. Multi-tenancy 9. Service Integration 10. Openness: Full choice of modular plug-ins Note: These are exactly the same reasons why we need/want SDN. Source: Adapted from Raj Jain
  • 14. NFV and SDN • NFV and SDN are highly complementary • Both topics are mutually beneficial but not dependent on each other Network Functions Virtualization Software Defined Networking Open Innovation Creates competitive supply of innovative applications by third parties Creates network abstractions to enable faster innovation Reduces CAPEX, OPEX, Space & Power Consumption Source: NFV
  • 15. NFV vs SDN • NFV: re-definition of network equipment architecture • NFV was born to meet Service Provider (SP) needs: • Lower CAPEX by reducing/eliminating proprietary hardware • Consolidate multiple network functions onto industry standard platforms • SDN: re-definition of network architecture • SDN comes from the IT world: • Separate the data and control layers, while centralizing the control • Deliver the ability to program network behavior using well- defined interfaces
  • 16. Network equipment as Black boxes Open interfaces (OpenFlow) for instructing the boxes what to do SDN Boxes with autonomous behaviour Decisions are taken out of the box FEATURE FEATURE OPERATING SYSTEM SPECIALIZED PACKET FORWARDING HARDWAREFEATURE FEATURE OPERATING SYSTEM SPECIALIZED PACKET FORWARDING HARDWARE FEATURE FEATURE OPERATING SYSTEM SPECIALIZED PACKET FORWARDING HARDWAREFEATURE FEATURE OPERATING SYSTEM SPECIALIZED PACKET FORWARDING HARDWARE SDN Adapting OSS to manage black boxes Simpler OSS to manage the SDN controller SDN FEATURE FEATURE OPERATING SYSTEM SPECIALIZED PACKET FORWARDING HARDWAREFEATURE FEATURE OPERATING SYSTEM SPECIALIZED PACKET FORWARDING HARDWARE FEATURE FEATURE OPERATING SYSTEM SPECIALIZED PACKET FORWARDING HARDWAREFEATURE FEATURE OPERATING SYSTEM SPECIALIZED PACKET FORWARDING HARDWARE Software Defined Networking Source: Adapted from D. Lopez Telefonica I+D, NFV
  • 17. Scope of NFV and OpenFlow/SDN Source: NEC
  • 18. Networking with SDN & NFV Source: NEC
  • 19. (Network Virtualization)2 = SDN + NFV SDN: Software Defined Networking NFV: Network Functions Virtualisation Source: Adapted from D. Lopez Telefonica I+D, NFV
  • 20. Some Use Case Examples …not in any particular order • Switching elements: BNG, CG-NAT, routers. • Mobile network nodes: HLR/HSS, MME, SGSN, GGSN/PDN-GW. • Home networks: Functions contained in home routers and set top boxes to create virtualised home environments. • Tunnelling gateway elements: IPSec/SSL VPN gateways. • Traffic analysis: DPI, QoE measurement. • Service Assurance: SLA monitoring, Test and Diagnostics. • NGN signalling: SBCs, IMS. • Converged and network-wide functions: AAA servers, policy control and charging platforms. • Application-level optimisation: CDNs, Cache Servers, Load Balancers, Application Accelerators. • Security functions: Firewalls, virus scanners, intrusion detection systems, spam protection. Source: NFV
  • 21. The ETSI NFV ISG • Global operators-led Industry Specification Group (ISG) under the auspices of ETSI – ~150 member organisations • Open membership – ETSI members sign the “Member Agreement” – Non-ETSI members sign the “Participant Agreement” – Opening up to academia • Operates by consensus – Formal voting only when required • Deliverables: White papers addressing challenges and operator requirements, as input to SDOs – Not a standardisation body by itself • Currently, four WGs and two EGs – Infrastructure – Software Architecture – Management & Orchestration – Reliability & Availability – Performance & Portability – Security Source: Adapted from D. Lopez Telefonica I+D, NFV
  • 23. NFV Layers NFV Infrastructure End Point End Point E2E Network Service Compute Storage NetworkHW Resources Virtualization LayerVirtualization SW Virtual Compute Virtual Storage Virtual Network Virtual Resources Logical Abstractions Network Service VNF VNF VNF VNF VNF Logical Links VNF Instances VNF VNF VNF SW Instances VNF : Virtualized Network Function VNF Source: Adapted from D. Lopez Telefonica I+D, NFV
  • 25. ‫ساده‬ ‫خیلی‬ ‫تعریف‬ ‫یک‬ ‫افزاری‬ ‫نرم‬ ‫صورت‬ ‫به‬ ‫شبکه‬ ‫مدیریت‬ o‫چرا؟‬ o‫داره؟‬ ‫مشکلی‬ ‫چه‬ ‫ما‬ ‫فعلی‬ ‫های‬ ‫شبکه‬ ‫مگر‬ o‫میشه؟‬ ‫چی‬ ‫نباشه‬ ‫اگر‬ o‫میشه؟‬ ‫چی‬ ‫باشه‬ ‫اگر‬ o‫میخوره؟‬ ‫ما‬ ‫درد‬ ‫چه‬ ‫به‬ ‫اصال‬
  • 26. Limitations of Current Networks 26 Switches
  • 27. Limitations of Current Networks • Enterprise networks are difficult to manage • “New control requirements have arisen”: • Greater scale • Migration of VMS • Implement new ideas • How to easily configure huge networks? 27
  • 28. • Old ways to configure a network Limitations of Current Networks Specialized Packet Forwarding Hardware App App App Specialized Packet Forwarding Hardware App App App Specialized Packet Forwarding Hardware App App App Specialized Packet Forwarding Hardware App App App Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System Operating System App App App 28
  • 29. Limitations of Current Networks 29 Million of lines of source code Billions of gates Many complex functions into infrastructure OSPF, BGP, multicast, differentiated services, Traffic Engineering, NAT, firewalls, … Specialized Packet Forwarding Hardware Operating System Feature Feature Cannot dynamically change according to network conditions
  • 30. • No control plane abstraction for the whole network! • It’s like old times – when there was no OS… Limitations of Current Networks Wilkes with the EDSAC, 1949 30
  • 31. Cisco, IBM, Alcatel, Juniper Networks, Broadcom, Citrix, Dell, Google, HP, Intel, NEC,vmWare and Verizon Cisco ONE NSX
  • 32. Idea: An OS for Networks Specialized Packet Forwarding Hardware App App App Specialized Packet Forwarding Hardware App App App Specialized Packet Forwarding Hardware App App App Specialized Packet Forwarding Hardware App App App Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System Operating System App App App Closed 32
  • 33. Idea: An OS for Networks Specialized Packet Forwarding Hardware App App App Specialized Packet Forwarding Hardware App App App Specialized Packet Forwarding Hardware App App App Specialized Packet Forwarding Hardware App App App Specialized Packet Forwarding Hardware Operating System Operating System Operating System Operating System Operating System App App App Network Operating System Control Programs (Route,Forwarding,VPN,LB,..) 33
  • 34. Idea: An OS for Networks Simple Packet Forwarding Hardware Simple Packet Forwarding Hardware Simple Packet Forwarding Hardware Simple Packet Forwarding Hardware Simple Packet Forwarding Hardware Network Operating System Control Programs (Route,Forwarding,VPN,LB,..) 34 OpenFlow Protocol (SSL/TCP) Port 6633
  • 35. What is OpenFlow? How it helps SDN
  • 36. ‫از‬ ‫قبل‬SDN‫پروتکل‬ ‫با‬ ‫باید‬ OpenFlow ‫شویم‬ ‫آشنا‬
  • 37. OpenFlow Defines the part of the router architecture that decides what to do with packets arriving on an inbound interface. that gives access to the forwarding plane of a network switch or router over the network. OpenFlow is a communications protocol Forwarding Plane In routing, the Forwarding Plane, sometimes called the Data Plane
  • 39. ‫پروتکل‬ ‫از‬ ‫استفاده‬ ‫با‬ ‫ما‬OpenFlow‫خصوصی‬ ‫دیگر‬ ‫تجهیزات‬ ‫یا‬ ‫سوئیچ‬ ‫با‬‫حرف‬‫زنیم‬ ‫می‬ ‫پروتکل‬ ‫باید‬ ‫تجهیزات‬ ‫که‬ ‫باشید‬ ‫داشته‬ ‫توجه‬OpenFlow‫را‬ ‫ما‬ ‫حرف‬ ‫وگرنه‬ ‫کند‬ ‫پشتیبانی‬ ‫را‬ ‫فهمدددددد‬ ‫نمی‬
  • 40. • OpenFlow 40 Structure of the current devices
  • 41. • OpenFlow 41 Data Path (Hardware) OpenFlow OpenFlow Controller OpenFlow Protocol (SSL/TCP) POX,Ryu,Pyretic,… Control Path(os)
  • 42. • OpenFlow Switching 42 Controller Server Controller (Linux ubuntu) Hardware Layer Software Layer OpenFlow Table MAC src MAC dst IP Src IP Dst TCP sport TCP dport Action OpenFlow Client **5.6.7.81.2.3.4** port 1 port 4port 3port 2port 1 1.2.3.45.6.7.8 42 5.6.7.8 port 11.2.3.4
  • 43. • OpenFlow Table Entry 43 Switch Port MAC src MAC dst Eth type VLAN ID IP Src IP Dst IP Prot TCP sport TCP dport Rule Action Stats + mask Packet + byte counters 1.Forward packet to port(s) 2.Encapsulate and forward to controller 3.Drop packet 4.Send to normal processing pipeline 5.…
  • 44. OpenFlow 01.1234 Versions More information (Historical information about version of the OpenFlow )
  • 46. MiniNet The main difference between simulation and emulation is that simulation is done all in software and emulation is done in hardware and software. Emulation allows developers to see the real-time interactions between different hardware and software models. Mininet is a Software Emulator for prototyping a large network on a single machine Enter to mininet.org
  • 47. ‫داریم‬ ‫نیاز‬ ‫پروژه‬ ‫این‬ ‫برای‬ ‫که‬ ‫هایی‬ ‫برنامه‬ ‫اکثر‬: Linux Windows 1- A Linux Distribution (in my project Ubuntu) 2- Mininet 3- Controller (pox,nox,Ryu,Pyretic,…) 4- Wireshark (more information) 5- X11 Client (Xinit,xview-clients) 1- Virtualization Product (VirtualBox,vmWare) 2- SSH Client (Putty.exe) 3- X11 Server (Xming Server for windows) sdn-sadri.ova Download
  • 48. ‫لینوکس‬ ‫با‬ ‫کار‬ ‫شروع‬ ‫برای‬ ‫کاربردی‬ ‫دستورات‬: Command Description 1 Pwd ‫جاری‬ ‫دایرکتوری‬ ‫مسیر‬ ‫نمایش‬ 2 Ls ‫نمایش‬‫جاری‬ ‫مسیر‬ ‫فایلهای‬ ‫و‬ ‫ها‬ ‫پوشه‬ ‫لیست‬ 3 Ifconfig ‫تنظیمات‬ ‫نمایش‬‫شبکه‬ ‫کارت‬ 4 Ping 5 Apt-get ‫نصب،حذف،بروزرسانی‬‫نیاز‬ ‫مورد‬ ‫های‬ ‫برنامه‬ 6 Poweroff,shutdown,init 0 7 Reboot,init 6 8 Su Switch User | by default su mean switch user to Root (superuser) 9 Passwd Change password current user 10 sudo Switch User and Doing | by default sudo in Root 11 Vi,nano Text Editor 12 Man Manual (Help) | Help Command, Ex: man pwd 13 Service Services manager | Ex: service 14 dhclient DHCP Client | -r option for Release interface
  • 49. sudo /etc/init.d/networking {stop|start|restart} Ifconfig <eth0> down | up ‫خاص‬ ‫اینترفیس‬ ‫یک‬ ‫کردن‬ ‫فعال‬ ‫و‬ ‫غیرفعال‬ Sudo ifdown –a ‫شبکه‬ ‫کارتهای‬ ‫همه‬ ‫کردن‬ ‫فعال‬ ‫غیر‬ Sudo ifup –a ‫فعال‬‫کارتهای‬ ‫همه‬ ‫کردن‬‫شبکه‬ Sudo ifdown <eth0> ‫خاص‬ ‫اینترفیس‬ ‫یک‬ ‫کردن‬ ‫غیرفعال‬ Sudo ifup <eth0> ‫خاص‬ ‫اینترفیس‬ ‫یک‬ ‫کردن‬ ‫فعال‬ • Interfaces Command
  • 50. SSHSecure SHell Secure Shell (SSH) is a cryptographic network protocol for secure data communication ‫یک‬‫پایه‬ ‫بر‬ ‫امن‬ ‫ارتباطی‬ ‫پروتکل‬TPC/IP‫و‬ ‫کالینت‬ ‫بین‬ ‫ها‬ ‫داده‬ ‫گذاری‬ ‫رمز‬ ‫با‬ ‫که‬ ‫است‬ ‫گیرنده‬ ‫سرویس‬ ‫و‬ ‫دهنده‬ ‫سرویس‬ ‫بین‬ ‫میکند‬ ‫جلوگیری‬ ‫مسیر‬ ‫طول‬ ‫در‬ ‫اطالعات‬ ‫افشای‬ ‫از‬ ‫سرور‬ Port 22
  • 51. Mininet My Client Linux Ubuntu Windows SSH Server SSH Client SSH Protocol Port 22 Putty.exe More information
  • 52. X11 provides the basic framework for a GUI environment X11‫محیط‬ ‫یک‬ ‫برای‬ ‫امکانات‬ ‫ترین‬ ‫ای‬ ‫پایه‬GUI‫کند‬ ‫می‬ ‫فراهم‬ ‫را‬(‫و‬ ‫کیبرد‬ ‫و‬ ‫ماوس‬ ‫با‬ ‫ارتباط‬ ،‫ها‬ ‫پنجره‬ ‫نمایش‬ ‫و‬ ‫رسم‬ ‫مانند‬)... X11 X-Windows ‫مثال‬: •‫ساعت‬ ‫نمایش‬ •‫فایرفاکس‬ ‫کردن‬ ‫باز‬ •‫کردن‬ ‫باز‬ ‫ما‬ ‫پروژه‬ ‫در‬ ‫یا‬Wireshark
  • 54. ‫اندازی‬ ‫راه‬ ‫برای‬X11‫کنیم؟؟؟‬ ‫چیکار‬ ‫باید‬ Mininet My Client X11 Client X11 Server Linux-mininet# xclock X11 Forwarding X11 Forwarding GUI
  • 55. X11 Client X11 Server Xinit ming #Sudo apt-get install xinit #Sudo apt-get install xview-clients #Sudo apt-get install x11-apps http://sourceforge.net/projects/xming/ Download & Install X Window System Server for Windows#Sudo apt-get update #Sudo startx ‫منابع‬ ‫بروزرسانی‬ ‫برای‬(Repository)‫لینوکس‬ ‫اجرای‬xinit
  • 56. ‫اجرا‬ ‫نحوه‬X11 1-‫برنامه‬ ‫ابتدا‬Xming server‫کنیم‬ ‫می‬ ‫اجرا‬ ‫ویندوز‬ ‫روی‬ ‫را‬ 2-‫با‬ ‫ارتباط‬ ‫برای‬ ‫بعد‬ ‫به‬ ‫این‬ ‫از‬MiniNet‫طریق‬ ‫از‬SSH‫باید‬ ‫کنید‬ ‫طی‬ ‫را‬ ‫شده‬ ‫مشخص‬ ‫عکس‬ ‫در‬ ‫که‬ ‫مراحلی‬ 3-‫گزینه‬ ‫و‬Enable X11 forwarding‫بزنید‬ ‫تیک‬ ‫را‬. 4-‫سپس‬IP‫سرور‬Mininet‫قسمت‬ ‫در‬ ‫را‬Session‫وارد‬ ‫میکنیم‬‫و‬‫به‬MiniNet‫قابلیت‬ ‫با‬X11‫شویم‬ ‫می‬ ‫متصل‬. 192.168.56.102
  • 57. ‫در‬ ‫شبکه‬ ‫یک‬ ‫ساخت‬Mininet mnCommand Enter to MiniNet
  • 58. ‫هدف‬MiniNet‫مجازی‬ ‫شبکه‬ ‫یک‬ ‫ساخت‬ Hosts (Pc) Switches Controllers (Ryu,Pyretic)
  • 59. *** Creating network *** Adding controller *** Adding hosts: h1 h2 *** Adding switches: s1 *** Adding links: (h1, s1) (h2, s1) *** Configuring hosts h1 h2 *** Starting controller *** Starting 1 switches s1 *** Starting CLI: mininet>
  • 60. Documented commands (type help <topic>): ======================================== Command Descriptions 1 EOF ‫خروج‬‫از‬mininet 2 Exit ‫خروج‬‫از‬mininet 3 Quit ‫خروج‬‫از‬mininet 4 Time ‫مدت‬‫در‬ ‫را‬ ‫دستور‬ ‫یک‬ ‫اجرای‬ ‫زمان‬mininet‫می‬ ‫دهد‬ 5 Sh ‫اجرای‬‫دستور‬ ‫یک‬Shell‫داخل‬ ‫که‬ ‫زمانی‬mininet ‫هستیم‬ 6 intfs ‫شبکه‬ ‫اینترفیسهای‬ ‫همه‬ ‫لیست‬ 7 Gterm,xterm Xterm‫یک‬‫برپایه‬ ‫استاندارد‬ ‫ترمینال‬X-windows Gterm=GNOME Terminal 8 Pingall Ping‫ها‬ ‫هاست‬ ‫همه‬ ‫بین‬ 9 Pingallfull Ping‫هاست‬ ‫همه‬ ‫بین‬‫بیشتر‬ ‫جزئیات‬ ‫با‬ ‫ولی‬ ‫ها‬ 10 Dpctl ‫برای‬ ‫ابزاری‬‫کنترل‬Flow Table‫سوئیچ‬ ‫یک‬ ‫ش‬ ‫می‬ ‫استفاده‬ ‫یابی‬ ‫عیب‬ ‫برای‬ ‫ابزار‬ ‫این‬ ‫از‬ ‫معموال‬‫ود‬. 11 Link ‫غیرفعال‬ ‫و‬ ‫فعال‬ ‫برای‬‫توپو‬ ‫در‬ ‫لینک‬ ‫یک‬ ‫کردن‬‫لوژی‬ 12 help ‫راهنما‬ 13 nodes ‫تمام‬‫دهد‬ ‫می‬ ‫نشان‬ ‫را‬ ‫ما‬ ‫شبکه‬ ‫نودهای‬ 14 iperf ‫باند‬ ‫پهنای‬ ‫محاسبه‬ ‫برای‬ ‫ابزای‬‫هاست‬ ‫دو‬ ‫بین‬ 15 iprefudp ‫ه‬ ‫دو‬ ‫بین‬ ‫باند‬ ‫پهنای‬ ‫کارایی‬ ‫تست‬ ‫برای‬ ‫ابزاری‬‫با‬ ‫است‬ ‫باند‬ ‫پهنای‬ ‫یک‬ ‫تعریف‬‫مثال‬ ‫خاص‬20‫مگابایت‬ 16 dump ‫ها‬ ‫نود‬ ‫مورد‬ ‫در‬ ‫اطالعاتی‬‫میدهد‬ 17 net ‫دهد‬ ‫می‬ ‫را‬ ‫شبکه‬ ‫اتصاالت‬ ‫لیست‬ 18 Source ‫یکسری‬ ‫خواندی‬‫فایل‬ ‫یک‬ ‫از‬ ‫دستورات‬ 19 Pingpair ‫پینگ‬‫تست‬ ‫برای‬ ‫بیشتر‬ ،‫هاست‬ ‫دو‬ ‫اولین‬ ‫بین‬‫های‬ ‫میشود‬ ‫استفاده‬ ‫سریع‬. 20 Pingpaifull ‫باال‬ ‫دستور‬ ‫مانند‬‫بیشتر‬ ‫جزئیات‬ ‫با‬ ‫ولی‬ 21 py ‫پایتون‬ ‫عبارت‬ ‫یک‬ ‫اجرای‬ 22 Noecho ‫خروجی‬ ‫نمایش‬ ‫بدون‬ ‫دستور‬ ‫یک‬ ‫اجرای‬
  • 62. sudo mn *** Creating network *** Adding controller *** Adding hosts: h1 h2 *** Adding switches: s1 *** Adding links: (h1, s1) (h2, s1) *** Configuring hosts h1 h2 *** Starting controller *** Starting 1 switches s1 • Default Topology
  • 63. sudo mn --topo single,3 mininet> net h1 h1-eth0:s1-eth1 h2 h2-eth0:s1-eth2 h3 h3-eth0:s1-eth3 s1 lo: s1-eth1:h1-eth0 s1-eth2:h2-eth0 s1-eth3:h3-eth0 • Single
  • 64. sudo mn --topo reserved,3 mininet> net h1 h1-eth0:s1-eth3 h2 h2-eth0:s1-eth2 h3 h3-eth0:s1-eth1 s1 lo: s1-eth1:h3-eth0 s1-eth2:h2-eth0 s1-eth3:h1-eth0 • Reserved Single: h1 h1-eth0:s1-eth1 h2 h2-eth0:s1-eth2 h3 h3-eth0:s1-eth3
  • 65. sudo mn --topo linear,3 mininet> net h1 h1-eth0:s1-eth1 h2 h2-eth0:s2-eth1 h3 h3-eth0:s3-eth1 s1 lo: s1-eth1:h1-eth0 s1-eth2:s2-eth2 s2 lo: s2-eth1:h2-eth0 s2-eth2:s1-eth2 s2-eth3:s3-eth2 s3 lo: s3-eth1:h3-eth0 s3-eth2:s2-eth3 • Linear A serial connection with N switches and N hosts
  • 66. sudo mn --topo tree,3 mininet> net h1 h1-eth0:s3-eth1 h2 h2-eth0:s3-eth2 . . . • Tree A multiple level topology with N levels and TWO hosts per switch
  • 67. • Custom Topologies Using a simple Python API Cd /home/mininet/mininet/custom/mininet@mininet:~$ README topo-2sw-2host.py mininet@mininet:~$ ls Python API mininet@mininet:~$ Vi topo-2sw-2host.py # Add links self.addLink( leftHost, leftSwitch ) self.addLink( leftSwitch, rightSwitch ) self.addLink( rightSwitch, rightHost ) # Add hosts and switches leftHost = self.addHost( 'h1' ) rightHost = self.addHost( 'h2' ) leftSwitch = self.addSwitch( 's3' ) rightSwitch = self.addSwitch( 's4' ) topos = { 'mytopo': ( lambda: MyTopo() )
  • 68. • To start up a mininet with the provided custom topology, do: sudo mn --custom custom_example.py --topo mytopo sudo mn --custom /home/mininet/mininet/custom/topo-2sw-2host.py --topo mytopo
  • 70. Name Versions Language Description NOX 1.0 C++ The original OpenFlow controller. Developed by Nicira and donated to research in 2008. POX 1.0 Python POX is NOX's Python-only younger sibling and is designed for rapid prototyping. Open Daylight 1.0, 1.3 Java Industry supported (Cisco, Brocade, etc) Linux Foundation project. OpenDaylight has attracted considerable attention over the past year. Beacon 1.0 Java Written by David Erickson at Stanford in 2010, Beacon is one of the most widely cited OpenFlow controllers and served as the basis of Floodlight. Flowvisor 1.0 C Special purpose controller that acts as transparent proxy for multiple controllers and enables rich network slicing. Floodlight 1.0 Java Open source core of the commercial controller product made by Big Switch Networks, forked from Beacon but without OSGI. Trema 1.0 C and Ruby Formerly known as Helios, this controller came from research efforts at NEC. Ryu 1.0, 1.2, and 1.3 Python Started by NTT Labs, Ryu is one of the more complete and easy to integrate OpenFlow controllers with open source today. Pyretic 1.0, 1.2, and 1.3 Python Pyretic is one member of the Frenetic family of SDN programming languages. Scott Shenker
  • 71. Default Controller In the Mininet is “OVSC” Openflow Virtual Switch Controller
  • 72. • Choose Controller in Mininet http://sdnhub.org/tutorials/ryu/ $ sudo mn --topo single,3 --controller remote --switch ovsk Ovsk ( Open vSwitch in Kernel ) = support for both OpenFlow ver 1.0 and 1.3 --controller remote Run Local Controller 127.0.0.1 --controller=remote=192.168.1.200,port=6633 Controller = Default Controller “OVSC” $ sudo ovs-vsctl set bridge s1 protocols=OpenFlow13 Force a switch to support OpenFlow 1.3
  • 73. • How to run RYU & link to Mininet sudo mn --topo single,3 --mac --controller remote --switch ovskmininet@mininet:~$ ‫در‬ ‫شبکه‬ ‫یک‬ ‫ساخت‬mininet‫کنترللر‬ ‫یک‬ ‫از‬ ‫استفاده‬ ‫و‬Remote *** Creating network *** Adding controller Unable to contact the remote controller at 127.0.0.1:6633 *** Adding hosts: h1 h2 h3 *** Adding switches: s1 *** Adding links: (h1, s1) (h2, s1) (h3, s1) *** Configuring hosts h1 h2 h3 *** Starting controller *** Starting 1 switches s1 *** Starting CLI: mininet> ‫نکردیم‬ ‫اجرا‬ ‫ما‬ ‫را‬ ‫کنترللری‬ ‫هیچ‬ ‫اینکه‬ ‫بدلیل‬Mininet‫دهد‬ ‫تشخیص‬ ‫را‬ ‫کنترللری‬ ‫است‬ ‫نتوانسته‬. ‫کنترللر‬ ‫به‬ ‫نیست‬ ‫قادر‬ ‫گوید‬ ‫می‬ ‫و‬Remote‫به‬ ‫را‬Mininet‫کند‬ ‫اضافه‬.
  • 74. ‫بیاریم‬ ‫در‬ ‫اجرا‬ ‫به‬ ‫را‬ ‫کنترلر‬ ‫یک‬ ‫ما‬ ‫باید‬ ‫پس‬ •‫برنامه‬ ‫از‬ ‫استفاده‬ ‫با‬ ‫اینکار‬ ‫برای‬Putty‫دیگر‬ ‫ارتباط‬ ‫یک‬SSH‫میزنیم‬ ‫لینوکس‬ ‫به‬. •‫کنیم‬ ‫می‬ ‫اجرا‬ ‫را‬ ‫نظر‬ ‫مورد‬ ‫کنترلرر‬ ‫سپس‬. • Run RYU Controller mininet@mininet:~$ ryu-manager --verbose ryu/app/simple_switch.py mininet@mininet:~$ Cd ryu OpenFlow 1.0
  • 75. • Upgrade Ubuntu Open vSwitch 1.4 to 2.3 using packages in Mininet VM 1 Remove old Open vSwtich (1.4): sudo apt-get remove openvswitch-common openvswitch-datapath-dkms openvswitch-controller openvswitch-pki openvswitch-switch Download the new Open vSwtich source tarball:2 mkdir openvswitch cd openvswitch wget http://openvswitch.org/releases/openvswitch-2.3.0.tar.gz tar zxvf openvswitch-2.3.0.tar.gz cd openvswitch-2.3.0 ovs-vswitchd –version ovs-vswitchd (Open vSwitch) 1.4.0+build0
  • 76. • Upgrade Ubuntu Open vSwitch 1.4 to 2.3 using packages in Mininet VM 3 4 Install all the dependencies that will be needed: sudo apt-get update sudo apt-get -y install build-essential fakeroot debhelper autoconf automake libssl-dev pkg-config bzip2 openssl python-all procps python-qt4 python-zopeinterface python-twisted-conch Build the Debian packages: DEB_BUILD_OPTIONS='parallel=2 nocheck' fakeroot debian/rules binary Install the packages:5 cd .. sudo dpkg -i openvswitch-common*.deb openvswitch-datapath-dkms*.deb openvswitch- controller*.deb openvswitch-pki*.deb openvswitch-switch*.deb
  • 77. • Upgrade Ubuntu Open vSwitch 1.4 to 2.3 using packages in Mininet VM 6 Open vSwitch Controller from starting automatically on boot: sudo /etc/init.d/openvswitch-controller stop sudo update-rc.d openvswitch-controller disable sudo /etc/init.d/openvswitch-switch start ovs-vswitchd –version ovs-vswitchd (Open vSwitch) 2.3.0
  • 79. Repository A software repository is a storage location from which software packages may be retrieved and installed on a computer. ‫یک‬‫مخزن‬‫افزاری‬‫نرم‬‫کاربران‬ ‫که‬ ‫جاییست‬ ،‫آن‬ ‫از‬ ‫را‬ ‫افزارها‬‫نرم‬ ‫توانند‬‫می‬‫دریافت‬ ‫مخزن‬‫خو‬ ‫کامپیوتر‬ ‫روی‬ ‫بر‬ ‫سپس‬ ‫و‬ ‫کرده‬‫نصب‬ ‫د‬ ‫کنند‬‫باشیم‬ ‫داشته‬ ‫دسترسی‬ ‫ها‬ ‫افزار‬ ‫نرم‬ ‫آپدیت‬ ‫آخرین‬ ‫به‬ ‫تا‬ ‫کنیم‬ ‫می‬ ‫آپدیت‬ ‫را‬ ‫مخزن‬ ‫این‬ ‫معموال‬ ‫ما‬. More information (Click Here) Back to Previous Slide
  • 80. Putty.exe PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm terminal emulator. It is written and maintained primarily by Simon Tatham. ‫پ‬‫وتی‬(Putty)‫نام‬‫رایگان‬ ‫افزار‬ ‫نرم‬ ‫مجموعه‬ ‫یک‬SSH Client/Server‫در‬‫محیط‬windows‫توانید‬ ‫می‬ ‫آن‬ ‫از‬ ‫استفاده‬ ‫با‬ ‫که‬ ‫باشد‬ ‫می‬ ‫های‬ ‫پروتکل‬ ‫طریق‬ ‫از‬Raw،Rlogin‫و‬SSH‫متصل‬ ‫لینوکس‬ ‫سرور‬ ‫یک‬ ‫به‬‫شوید‬. Download Link Back to Previous Slide
  • 81. Ubuntu Ubuntu is an open source software platform that runs everywhere from the smartphone, the tablet and the PC to the server and the cloud. ‫اوبونتو‬(‫به‬‫انگلیسی‬:Ubuntu)‫یک‬‫توزیع‬‫لینوکس‬‫توزیع‬ ‫مبنای‬ ‫بر‬ ‫که‬ ‫است‬‫دبیان‬‫دار‬ ‫تفاوت‬ ‫آن‬ ‫با‬ ‫اما‬ ‫است؛‬‫شده‬ ‫گذاری‬‫پایه‬‫د‬.‫نام‬ ‫از‬ ‫یکی‬ ‫از‬ ‫اوبونتو‬‫مفاهیم‬‫جنوبی‬ ‫آفریقای‬‫معنی‬ ‫به‬«‫دیگران‬ ‫به‬ ‫نسبت‬ ‫انسانیت‬». Ubuntu Site Back to Previous Slide Ubuntu 14.10 Desktop
  • 82. Wireshark Wireshark is a free and open-source packet analyzer. It is used for network troubleshooting, analysis, software and communications protocol development, and education. Wireshark‫یک‬‫آنالیزگر‬‫است‬ ‫شبکه‬ ‫در‬ ‫پکت‬.‫یک‬‫پکت‬ ‫آنالیزگر‬‫اند‬ ‫دام‬ ‫به‬ ‫را‬ ‫شوند‬ ‫می‬ ‫وبدل‬ ‫رد‬ ‫شبکه‬ ‫در‬ ‫که‬ ‫هایی‬ ‫پکت‬ ،‫آنها‬ ‫و‬ ‫اخته‬ ‫دهد‬ ‫می‬ ‫نمایش‬ ‫را‬ ‫آن‬ ‫جزئیات‬ ‫امکان‬ ‫صورت‬ ‫در‬ ‫و‬ ‫دهد‬ ‫می‬ ‫قرار‬ ‫پردازش‬ ‫مورد‬ ‫را‬. ‫در‬‫می‬ ‫قرار‬ ‫برسی‬ ‫مورد‬ ‫و‬ ‫انداخته‬ ‫دام‬ ‫به‬ ‫را‬ ‫گذرد‬ ‫می‬ ‫کابل‬ ‫طریق‬ ‫از‬ ‫که‬ ‫را‬ ‫آنچه‬ ‫دقیق‬ ‫طور‬ ‫به‬ ‫افزار‬ ‫نرم‬ ‫این‬ ‫واقع‬‫دهد‬. Wireshark Site Back to Previous Slide
  • 83. SDN_tutorial_VM_32bit Back to Previous Slide •SDN Controllers: OpenDaylight, RYU, Floodlight, POX, and Pyretic •Example code for a hub, L2 learning switch, and other applications •Open vSwitch 2.1.0 with support for Openflow 1.2, 1.3 and 1.4 •Mininet to create and run example topologies •Wireshark 1.11.3 with native support for OpenFlow parsing •X11 Display •Firefox •JDK, Eclipse, and Maven
  • 84. ‫سبزتان‬ ‫ر‬‫حضو‬ ‫از‬‫تشکر‬ ‫با‬ ‫صدری‬ ‫وحید‬