Prayag Varshney
I don't need any long description.. Just Go to Google and Search my name "Prayag Varshney" , you will get everything you need to know...;)
SDN/OpenFlow
Architecture and Performance Analysis
AGENDA
In this presentation, we attempt to explain the following :
Motivation
SDN and Open Flow

OpenFlow is a protocol that allows a server to tell network switches where to send packets. With OpenFlow, the packet-moving decisions are centralized, so that the network can be programmed independently of the individual switches and data center gear. OpenFlow is considered the first software-defined networking (SDN) standard.
Figure 1: The Components of OpenFlow switch

OpenFlow is a flow-oriented system and has switches and ports abstraction to control the flow that began in 2008 as a Stanford University Research Project.
The controller communicates with the OpenFlow switch and manage the switch via OpenFlow protocol. An OpenFlow switch consist of flow tables, a group tables and an OpenFlow channel.
OpenFlow ports are virtual ports at the network interface. They pass packets between OpenFlow processing and rest of the network. OpenFlow switches connect with each other via OpenFlow ports.
Software-Defined Networking (SDN) is an emerging architecture that is dynamic, manageable, costeffective, and adaptable, making it ideal for the high-bandwidth, dynamic nature of today's applications. This architecture decouples the network control and forwarding functions enabling the network control to become directly programmable and the underlying infrastructure to be abstracted for applications and network services.
SDN is a form of network virtualisation where the control plane is separated from the data plane and moved to an external software controller. A central controller performs all complex functions, including routing, naming, policy declaration, and security checks. This plane constitutes the SDN Control Plane, and consists of one or more SDN servers. The SDN Controller defines the data flows that occur in the SDN Data Plane. Each flow through the network must first get permission from the controller, which verifies that the communication is permissible by the network policy. If the controller allows a flow, it computes a route for the flow to take, and adds an entry for that flow in each of the switches along the path.

1. Mininet : It is a network emulator that simulates a collection of end-hosts, switches, routers, and links on a single Linux kernel. It is commonly used as a simulation, verification, testing tool and resource. It is an open source project hosted on GitHub.
In short, Mininet's virtual hosts, switches, links, and controllers are the real thing. They are just created using software rather than hardware and for the most part their behavior is similar to discrete hardware elements.
Features
There are other network emulators which implement OpenFlow, but we are using Mininet because it has the following features:
• It's fast - starting up a simple network takes just a few seconds. This means that your run-editdebug loop can be very quick.
• You can create custom topologies: a single switch, larger Internet-like topologies, the Stanford backbone, a data center, or anything else.
• You can run real programs: anything that runs on Linux is available for you to run, from web servers to TCP window monitoring tools to Wireshark.
• You can customize packet forwarding: Mininet's switches are programmable using the OpenFlow protocol. Custom Software-Defined Network designs that run in Mininet can easily be transferred to hardware OpenFlow switches for line-rate packet forwarding.
• You can share and replicate results: anyone with a computer can run your code once you've packaged it up.
Upon execution of mininet emulation environment with default topology, the OpenFlow controller and switch initiate the OpenFlow protocol , which can be captured and viewed in the wireshark capturing window.
One reason mininet is widely used for experimentation is that it allows you create custom topologies, many of which have been demonstrated as being quite complex and realistic, such as larger, internet like topologies.
Mininet supports different types of topologies, switches (ovsk, ovsl, user), hosts (cfs, proc, rt),controllers (none, nox, ovsc, ref, remote,pox), and tests (pingall, pingpair, iperf, all).
2.
Wireshark: It is a free and open-source packet analyzer and used for network
troubleshooting, analysis, software and communications protocol development,
and education. It is cross-platform, using the GTK+ widget toolkit in current
releases, and Qt in
the development version, to implement its user interface, and using pcap to
capture packets.Wireshark is extremely useful for watching OpenFlow protocol messages, as well as general debugging.



$ ifconfig –a
$ ssh -X [user]@[Guest IP Here]
$ sudo mn --topo single
$ sudo mn --topo linear,4
$ sudo mn --topo tree, depth=2, fanout=2
Cont'd...

Wireshark Showing Protocol Hierarchy


Verification







Verification





Pox Result
|
NODES |
BANDWIDTH (Gbps) |
ROUND TRIP DELAY (ms) (RTT) |
|
H1 H2 |
9.93 |
0.062 |
|
H2 H3 |
9.34 |
0.098 |
|
H3 H4 |
17.2 |
0.090 |
|
H4 H5 |
9.61 |
0.095 |
|
H5 H6 |
9.80 |
0.092 |
|
H6 H1 |
16.4 |
0.096 |
B.W= 11.20 Gbps, RTT= 0.088 ms
OVS Controller
|
NODES |
BANDWIDTH (Gbps) |
ROUND TRIP DELAY (ms) (RTT) |
|
H1 H2 |
9.91 |
0.093 |
|
H2 H3 |
10.1 |
0.085 |
|
H3 H4 |
9.74 |
0.107 |
|
H4 H5 |
9.59 |
0.119 |
|
H5 H6 |
9.70 |
0.112 |
|
H6 H1 |
18.2 |
0.112 |
B.W= 12.03 Gbps, RTT= 0.104 ms
Summary
After analysing the result of default and pox controller, the bandwidth of pox is greater than default controller. Hence pox controller is used for
Future Scope
By Prayag Varshney
I don't need any long description.. Just Go to Google and Search my name "Prayag Varshney" , you will get everything you need to know...;)