17
OpenFlow : Enabling Innovation in Campus Networks SIGCOMM 2008 Nick McKeown, Tom Anderson, et el. Stanford University California, USA 2011. 04. 11 Presented by Hyogi Jung 1/17

OpenFlow : Enabling Innovation in Campus Networks

  • Upload
    rachel

  • View
    85

  • Download
    1

Embed Size (px)

DESCRIPTION

OpenFlow : Enabling Innovation in Campus Networks. SIGCOMM 2008 Nick McKeown , Tom Anderson , et el. Stanford University California, USA 2011. 04. 11 Presented by Hyogi Jung. Contents. Internet Closed for Innovations OpenFlow Goals Concepts Architecture Flow Table Structure - PowerPoint PPT Presentation

Citation preview

Page 1: OpenFlow  : Enabling Innovation in Campus Networks

OpenFlow : Enabling Innovation in Campus Networks

SIGCOMM 2008

Nick McKeown, Tom Anderson, et el.Stanford University California, USA

2011. 04. 11Presented by Hyogi Jung

1/17

Page 2: OpenFlow  : Enabling Innovation in Campus Networks

Contents• Internet Closed for Innovations• OpenFlow– Goals– Concepts– Architecture– Flow Table Structure– Controller

• Summary

2/17

Page 3: OpenFlow  : Enabling Innovation in Campus Networks

Innovations in Legacy Internet

• Experiments we’d like to do new– Mobility management– Network-wide energy management– New naming/addressing schemes– Network access control

• Problem with our network– Paths are fixed– IP-only– Addresses dictated by DNS, DHCP, etc– No means to add our own processing

3/17

Page 4: OpenFlow  : Enabling Innovation in Campus Networks

Why Internet Closed for Innovations?

• Commercial Vendor won’t open software and hardware development environment– Complexity of support– Market protection and barrier to entry

• Hard to build my own– Prototypes are unstable– Software only : Too slow– Hardware/Software : Fanout too small

(need>100 ports for wiring closet)4/17

Page 5: OpenFlow  : Enabling Innovation in Campus Networks

Experimenter’s Dream(Vendor’s Nightmare)

5/17

StandardNetwork

Processinghwsw Experimenter writes

experimental codeon switch/router

User-defined

Processing

StandardNetwork

Processing

Page 6: OpenFlow  : Enabling Innovation in Campus Networks

OpenFlow’s Goal• Put an open platform– researchers/students to test new ideas at scale

through production networks– without requiring vendors to expose internal

workings• Bring Future Internet to legacy Internet• An open development environment for all re-

searchers(e.g. Linux, Verilog, etc)

6/17

Page 7: OpenFlow  : Enabling Innovation in Campus Networks

OpenFlow Concept

7/17

Ethernet SwitchControl Path (Software)

Data Path (Hardware)

Control Path

Data Path (Hardware)

OpenFlow

OpenFlow Controller

OpenFlow Protocol (SSL/TCP)

Page 8: OpenFlow  : Enabling Innovation in Campus Networks

OpenFlow Network Architecture

8/17

Controller

OpenFlow Switch

FlowTable

SecureChannel

PCOpenFlow

Protocol

SSL

hw

sw

OpenFlow Switch specification

Page 9: OpenFlow  : Enabling Innovation in Campus Networks

Operation Step

9/17

Controller

PC

OpenFlowSwitch

OpenFlowSwitch

OpenFlowSwitch

OpenFlowSwitch

New func-tion!

If header = x, send to port 4If header =y, overwrite header with z,

send to ports 5,6If header = ?, send to me

FlowTa-ble

FlowTa-ble

FlowTa-ble

FlowTa-ble

Page 10: OpenFlow  : Enabling Innovation in Campus Networks

Packet Processing• OpenFlow SW’s Packet Processing– Search a matched entry of flow table with arriving

packet’s information

10/17

Packetin from

NetworkFlow lookup

Send to securechannel

Apply actions

No match

Match

Page 11: OpenFlow  : Enabling Innovation in Campus Networks

Flow Table Structure• Exploit flow table in switches, routers, and

chipsets

11/17

Page 12: OpenFlow  : Enabling Innovation in Campus Networks

Flow Table Entry

12/17

SwitchPort

MACsrc

MACdst

Ethtype

VLANID

IPSrc

IPDst

IPProt

TCPsport

TCPdport

Rule Action Stats

1. Forward packet to port(s)2. Encapsulate and forward to controller3. Drop packet4. Send to normal processing pipeline

+ mask

Packet + byte counters

Page 13: OpenFlow  : Enabling Innovation in Campus Networks

Flow Table Entry Examples(OpenFlow is Backward Compatible)

• Ethernet Switching

• IP Routing

• Application Firewall

13/17

SwitchPort

MACsrc

MACdst

Ethtype

VLANID

IPSrc

IPDst

IPProt

TCPsport

TCPdport Action

* * 00:1F:. * * * * * * * port6

SwitchPort

MACsrc

MACdst

Ethtype

VLANID

IPSrc

IPDst

IPProt

TCPsport

TCPdport Action

* * * * * * 5.6.7.8 * * * port6

SwitchPort

MACsrc

MACdst

Ethtype

VLANID

IPSrc

IPDst

IPProt

TCPsport

TCPdport Action

* * * * * * * * * 22 drop

Page 14: OpenFlow  : Enabling Innovation in Campus Networks

Flow Table Entry Examples(OpenFlow allows layers to be combined)

• Flow Switching

• VLAN + App

• Port + Ethernet + IP

14/17

SwitchPort

MACsrc

MACdst

Ethtype

VLANID

IPSrc

IPDst

IPProt

TCPsport

TCPdport Action

port3 00:2E:.. 00:1F:. 0800 vlan1 1.2.3.4 5.6.7.8 4 17264 80 port6

SwitchPort

MACsrc

MACdst

Ethtype

VLANID

IPSrc

IPDst

IPProt

TCPsport

TCPdport Action

* * * * vlan1 * * * * 80 port6

SwitchPort

MACsrc

MACdst

Ethtype

VLANID

IPSrc

IPDst

IPProt

TCPsport

TCPdport Action

port3 00:2E:.. * 0800 * * 5.6.7.8 4 * 22 drop

Page 15: OpenFlow  : Enabling Innovation in Campus Networks

OpenFlow Controller• Centralized Intelligential agency for entire

OpenFlow network• NOX is an open-source OpenFlow Controller• Researchers can insert their software code

into NOX controller for testing their idea

15/17

Nox Controller

OpenFlow SwitchOpenFlow Switch OpenFlow Switch

Page 16: OpenFlow  : Enabling Innovation in Campus Networks

OpenFlow Hardware (Switches)

16/17

• NEC

• HP

• Pronto

Page 17: OpenFlow  : Enabling Innovation in Campus Networks

Summary• OpenFlow– Standard way to control flow-tables in commercial

switches and routers– Put an open platform– An open development environment for all re-

searcher– Test Environment for Future Internet Technologies

17/17