OPENFLOW DEMO
Jason Kalai
APRICOT 2013
OpenFlow Definitions
• OpenFlow Controller: Supports the server feature of the

•
•

•
•

OpenFlow protocol. Manages the f...
OpenFlow Flow Table
Rule Action
Action Stats
Stats
Rule Action
Rule
Stats
Packet + byte counters

1.
2.
3.
4.
Ingress MAC
...
OpenFlow Startup Example
OpenFlow Controller

• Switch connects to controller. Both exchange Hello’s.
Version negotiation....
Topology OpenFlow Application Example
Switch and controller startup already
complete.

Packet-Out
LLDP Request

OpenFlow C...
Topology OpenFlow Application Example
OpenFlow Controller

Packet-In LLDP
Request

Packet-In LLDP
Request

•
•

A

Each sw...
Reactive OpenFlow Application Example
OpenFlow Controller

Packet-In
ARP Request

Packet-Out
ARP Request

ARP Request

ARP...
Reactive OpenFlow Application Example
OpenFlow Controller

Packet-In
ARP Reply

ARP Reply

A

B
Reactive OpenFlow Application Example
OpenFlow Controller

Flow-Mod
Add

A

Flow-Mod
Add

B
Reactive OpenFlow Application Example
OpenFlow Controller

Packet-Out
ARP Reply

IP Packet

ARP Reply

A

B
Upcoming SlideShare
Loading in …5
×

Sgnog openflow demo-v1.0

1,331 views
1,135 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,331
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
62
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Sgnog openflow demo-v1.0

  1. 1. OPENFLOW DEMO Jason Kalai APRICOT 2013
  2. 2. OpenFlow Definitions • OpenFlow Controller: Supports the server feature of the • • • • OpenFlow protocol. Manages the forwarding behavior of one or more OpenFlow switches. OpenFlow-Only switch: Supports the mandatory client features of the OpenFlow protocol. OpenFlow-Capable / Hybrid Switch: Supports the mandatory client features of OpenFlow in addition to normal switch functions. Flow Entry: The basic unit of forwarding management. Flow Table: Consists of a set of priority ordered flow entries. 2
  3. 3. OpenFlow Flow Table Rule Action Action Stats Stats Rule Action Rule Stats Packet + byte counters 1. 2. 3. 4. Ingress MAC Port src MAC dst Eth type Forward packet to port(s) Encapsulate and forward to controller Drop packet Send to normal processing pipeline VLAN VLAN ID PCP IP Src IP Dst IP Prot IP ToS TCP sport TCP dport
  4. 4. OpenFlow Startup Example OpenFlow Controller • Switch connects to controller. Both exchange Hello’s. Version negotiation. • Controller requests features with Features-Request. • Switch responds with Features-Reply to indicate supported features and OpenFlow-enabled ports.
  5. 5. Topology OpenFlow Application Example Switch and controller startup already complete. Packet-Out LLDP Request OpenFlow Controller Packet-Out LLDP Request Controller discovers topology of the network by forwarding LLDP’s out to the switching and inspecting the replies. A B
  6. 6. Topology OpenFlow Application Example OpenFlow Controller Packet-In LLDP Request Packet-In LLDP Request • • A Each switch forwards the LLDP’s out the indicated ports. Each switch forwards the LLDP’s to the controller as Packet-in’s. • Controller now knows the network topology. B
  7. 7. Reactive OpenFlow Application Example OpenFlow Controller Packet-In ARP Request Packet-Out ARP Request ARP Request ARP Request A • System A needs to communicate with B. • No path exists. • OpenFlow controller reactively establishes path through the switching network. B
  8. 8. Reactive OpenFlow Application Example OpenFlow Controller Packet-In ARP Reply ARP Reply A B
  9. 9. Reactive OpenFlow Application Example OpenFlow Controller Flow-Mod Add A Flow-Mod Add B
  10. 10. Reactive OpenFlow Application Example OpenFlow Controller Packet-Out ARP Reply IP Packet ARP Reply A B

×