controllers in software defined networks · internet business issue •the internet was successful...
TRANSCRIPT
![Page 1: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/1.jpg)
Software Defined NetworksH. Khanmirza
Assistant Professor
K. N. Toosi University of Technology
1
![Page 2: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/2.jpg)
Outline
• Part I• Rise of SDN
• SDN Basics
• Part II• Research Problems
• Part III• My Current Research
2
![Page 3: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/3.jpg)
Rise of SDN“Software will eat the world”
- Marc Andreessen
3
![Page 4: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/4.jpg)
Why We Need a New Network Paradigm?
• IP Traffic grows 40-50% per year
• While bills remains unchanged!!
• Then, costs must be reduced 40-50%• In practice it reduces <20%
$30/month
time
Revenue
4
![Page 5: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/5.jpg)
Solution?
• Reduce operational costs• Just support and run protocols you need, software and features
• Reduce Capital Costs• move to simpler switches + open source control plan + apps
• Increase the price But How??• by providing differentiated software service
• in this part we all win because we get better services! if we can define.
• Is it possible now?? NO, with hardware this is not possible.
5
![Page 6: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/6.jpg)
Internet Business Issue
• The Internet was successful because it was simple and dumb
• Explosive growth of the internet led to great businesses that sell routers —>
• Only few companies could survive and were successful and this is not sustainable!!
Business vs. Simplicity?$
6
![Page 7: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/7.jpg)
Strategy 1: Vertical integration
Proprietary
Operating System
Proprietary
Hardware
Proprietary
Features
“CLI”
Network Management
7
![Page 8: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/8.jpg)
Cisco Stock Price
1991 1999
200x
Google Finance8
![Page 9: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/9.jpg)
Strategy 2: Make Internet Complicated
0
1,000
2,000
3,000
4,000
5,000
6,000
7,000
1969 1979 1989 1999 2009
Number of published Internet Standards (RFC)
9
![Page 10: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/10.jpg)
Solution
• Push innovation to service providers• They will be able to create new services fast and make distinction
• SDN (Software Defined Network)• Rise of merchant switching silicon (whitebox switches)
• COTS (Common Off The Shelf) hardware
• Make a standard and common layer for network• Now competition is providing better service
• This creates backend for cleaner race
10
![Page 11: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/11.jpg)
Accelarators
1. Rise of Linux.
2. Rise of simpler servers and switches.
3. NFV: Rise of virtualization.
4. SDN: Rise of merchant switching silicon.
11
![Page 12: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/12.jpg)
Computer Industry
Specialized
Operating System
Specialized
Hardware
Specialized
Applications
AppAppAppAppAppAppAppAppAppAppApp
Open Interface
LinuxMac
OS
Windows(OS)
Open Interface
Microprocessor
12
![Page 13: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/13.jpg)
Switch Chips
Networking Industry
Specialized
Operating System
Specialized
Hardware
Specialized
Features
AppAppAppAppAppAppAppAppAppAppApp
Open Interface
Open Interface
Control Plane 1
Control Plane 2
NOX Beacon ONIX POXONO
SFloodlight
Trema ODL Ryu
13
![Page 14: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/14.jpg)
Routing, Traffic Engineering,
Mobility, VPN
DPI, Load
Balance, SPAM
New
Services
Overall System Management
15
Server Switch RadioVM
Linux Linux Linux Linux
Programmable
Hardware
Open Source
Software
PIC
Linux
(Remote) Open Source Control Plane
Programmable Hardware
Or
VM
Proprietary
Software
![Page 15: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/15.jpg)
Routing, Traffic Engineering,
Mobility, VPN
DPI, Load
Balance, SPAM
New
Services
Overall System Management
16
Server Switch RadioVM
Linux Linux Linux Linux
Programmable
Hardware
Open Source
Software
PIC
Linux
Programmable Hardware
Or
VM
Proprietary
Software
North Bound API
(Remote) Open Source Control Plane
South Bound API
![Page 16: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/16.jpg)
Software Defined Network (SDN)
Packet
Forwarding Packet
Forwarding
Packet
Forwarding
Packet
Forwarding
Packet
Forwarding
Control
Control
Control
Control
Control
Global Network Map
Remote Control Plane
Control
ProgramControl
ProgramApp
17
![Page 17: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/17.jpg)
SDN History
• SDN is not completely new idea• Active Networks: programmable networks
• Click Router: modular router
• IETF ForCES: decoupling routing from forwarding
• Cisco Nexus 7000: modularization of control & forwarding
• SDN uniqueness: provides programmability through decoupling of control and data planes.
18
![Page 18: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/18.jpg)
SDN Benefits
• Programmability• One central place for solving problems
• VS. one protocol for each problem!
• Configuration• Automated & centralized validation
• VS. manual error-prone config
• Performance• Dynamic global control with cross-layer information
• VS. limited information
19
![Page 19: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/19.jpg)
SDN Benefits
• Innovation• Easy software implementation for new ideas
• Affordable, easily achievable test environment
• Quick deployment with software upgrade
• VS.
• Difficult & lengthy hardware implementation
• Limited test environment
• Long standardization process
20
![Page 20: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/20.jpg)
Proactive Rule Placement
Packet
Forwarding Packet
Forwarding
Packet
Forwarding
Packet
Forwarding
Packet
Forwarding
Global Network Map
Remote Control Plane
Control
ProgramControl
ProgramApp
Define Network Policy
Compile Policies into
rules
Apply Rules to Data Plane
(with i.e. OpenFlow)
21
![Page 21: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/21.jpg)
A
B
Controller
Control plane
Data planeOpenFlow
Application
UpdUpd
Ok, I can
do it
Don’t
know
what to
do
9 22
![Page 22: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/22.jpg)
Reactive Rule Placement
• Why Reactive paradigm?• Switches have limited TCAM for storing rules
• More dynamicity
• However• On-the-fly installation process may take time and yield delay spikes.
• If a high number of new flows are aggregated at the end of switches, significant overhead can be yielded at both the control plane and data plane.
23
![Page 23: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/23.jpg)
Research Challenges
24
![Page 24: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/24.jpg)
Research Challenges – Data Plane
25
![Page 25: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/25.jpg)
Research Challenges – Data Plane
• Data Plane Performance• SDN rules can use up-to 13 factors of passing packets• Rules may contain wildcards (?, *)
• Solutions• Design native white-box switches with special CPU or accelerators
• Pipelining, extended finite state machines, …
• Use TCAM• TCAM (Ternary CAM) are small (4K-32K), expensive and power hungry• Compress rules to efficiently use TCAM limited space
• Caching• Which rules? How many rules? Replacement Strategy?
• Distributing rules in several switches
26
![Page 26: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/26.jpg)
Research Challenges – Control Plane
• Performance• Better IO libraries• Compressing rules• Multithreading
• Scalability• Reactive or Proactive
• Reactivity introduce remarkable challenges• Delays, buffering next packets, load of controller, …
• Architectural consideration• Hierarchical• One logical controller, multiple consistent physical controllers• Distribute rules in switches
27
![Page 27: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/27.jpg)
Controllers Architecture
Switch Load Balancing
ECMP
Hedera
Mahout
Rule Based
DevoFlow
DIFANE
Palette
One Big Switch
Single Controller
Single Thread
NOX
Multi-thread
Maestro
NOX-MT
Beacon
Multi-Controller
Hierarchical
Kandoo
Balance Flow
Logically Centralized
ONIX
HyperFlow
Elasticon
OpenDayLight
ONOS
Special
FlowVisor
RouteFlow
28
![Page 28: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/28.jpg)
ONOS - Logically Centralized Controller
29
![Page 29: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/29.jpg)
Research Challenges – Control Plane
• Scalability (cont.)• Elasticity
• Reacting to imbalanced loads, delays, faults, …• Elasticon, Pratyaastha, our research
• Performance Evaluation• Measuring different aspects of a network in operation
• Comparing architectures • Based packet sizes, rule models and sizes, reactivity, impact on delay, CPU load
• Comparing accelerators
• Comparing different configurations
• Comparing different scenarios with traditional networks
• Special data center considerations
30
![Page 30: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/30.jpg)
Research Challenges – Control Plane
• Performance Evaluation (cont.)• Measuring different aspects of a network in operation
• Designing and using benchmarks• OFLOPS, cbench
• Sampling methods
• Finding evidences from gathered data (data mining)
• Monitoring networks at scale
• Controller Placement Problem• Within different topologies
• Developing analytical models• Few works on this, but growing
31
![Page 31: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/31.jpg)
Research Challenges – Control Plane
• Interoperability• Designing High-level specific languages ( Network DSL)
• Resiliency• When a controller fails? Link or port down
• Architecture-specific solutions
• Load Balancing• Between controllers
• Between switches
32
![Page 32: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/32.jpg)
Research Challenges – Control Plane
• QoS• Shaping, metering, scheduling, multi-layer
• Bandwidth on demand
• Adaptive routing
• Resource migration (VMs in cloud)
• Routing
• Supporting legacy IPv4 networks
• Supporting legacy protocols• MPLS over SDN
33
![Page 33: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/33.jpg)
Research Challenges – Security
34
![Page 34: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/34.jpg)
Research Challenges – Security
35
• OpenFlow networks are subject to • spoofing
• Tampering
• Repudiation
• Information disclosure
• DoS
• Elevation of privileges
• Assumption that all applications are gentle and will not affect SDN operation
• The lack of isolation, protection, access control
![Page 35: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/35.jpg)
Research Challenges – Security
36
![Page 36: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/36.jpg)
Research Challenges – Security
37
• Measuring security issues in various controllers
• Attack detection mechanisms
• Devising defending strategies against various threat vectors
• Comparing controllers in defensing capabilities
• Comparing various defense strategies
• Designing and proposing access control models and/or hardening guidelines
• Evaluating and finding new threat vectors
![Page 37: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/37.jpg)
Research Challenges – SDE
• Software-Defined Environment• Offer a programmatic access to the environment as a whole
• selecting the best available resources based on the current status of the infrastructure
• Enforcing defined policies independent of the technology and underlying network
• Workloads can be easily and automatically assigned to the appropriate IT resources based on application characteristics, security and service level policies
• Building Block• Software-defined Network (SDN)
• Software-Defined Storage (SDS)
• Software-Defined Compute (SDC)
• Software-Defined Management (SDM)
38
![Page 38: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/38.jpg)
Research Challenges
• Green Networking• Energy efficient protocols, mechanisms, applications, ...
• SDN for Sensor Networks• SDN-Wise
• SDN for IoT
• SDN for Vehicular Adhoc Networks (VANET)
• SDN for Mobile Adhoc Networks (MANET)
39
![Page 39: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/39.jpg)
Current Research
40
![Page 40: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/40.jpg)
Preliminaries
• Large networks cannot be designed based on reactive operations
• Controller must be used for• Declaring policies and applying to network• Reacting to incidents• Rules should be distributed on switches
• Switches do the routine routing operation
• Issues• How rules should be distributed among switches?• What if the number of rules exceed the TCAM size of a switch?• How break rule table?• What if load of a switch become higher than others (load balancing)
41
![Page 41: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/41.jpg)
Hierarchical Elastic Scalable SDN
42
![Page 42: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/42.jpg)
Hierarchical Elastic Scalable SDN
• Group switches in regions
43
![Page 43: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/43.jpg)
Hierarchical Elastic Scalable SDN
• Select Leader Switch (LS) in each region
44
![Page 44: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/44.jpg)
Hierarchical Elastic Scalable SDN
• Push Aggregate rules to LS
• LS knows about aggregate rules of other regions
• LS acts like BGP border switches
45
![Page 45: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/45.jpg)
Hierarchical Elastic Scalable SDN
• Push fine-grained rules to normal switches (NS)
46
![Page 46: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/46.jpg)
Hierarchical Elastic Scalable SDN
• When a NS could not match a packet with its rule table sends it to the regional LS
• LS knows the aggregated global rules
• LS may do one the followings• Sends it back to a local switch
• Sends it another LS
47
![Page 47: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/47.jpg)
Hierarchical Elastic Scalable SDN
• Issues• Small TCAMs in switches
• Break rules into smaller tables and distribute among several NSes
• High load on a LS• Controller always monitors the network
• When a LS get overloaded• Add another LS
• Change table of some of NSes to direct their traffic toward the new LS
48
![Page 48: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/48.jpg)
Hierarchical Elastic Scalable SDN
• Issues (cont.)• High load in a (transit) region
• Add new LS in the sender region and the transit region
• Connect the new Lses
• Communication path may become longer
49
![Page 49: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/49.jpg)
Hierarchical Elastic Scalable SDN
• Issues (cont.)• Most of the traffic use long paths
• Add or replace LS
• LS placement• Place LS to minimize
• Path length
• Delay
• Evaluation• We tested the ideas on mininet + floodlight controller
50
![Page 50: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/50.jpg)
Distributing Tables in Switches
• We can break a big rule table into smaller parts
• However, breaking table is not easy• Longest prefix matching rule is the main issue
• Breaking Algorithm• Determine 𝛼 points between 1 and 32
• 𝛼 = 𝛼1, 𝛼2, … , 𝛼𝛼 𝑎𝑛𝑑 𝛼1 < 𝛼2 < ⋯ < 𝛼𝛼• Expand all rules with prefix length < 𝛼 to the length 𝛼
• Break the big rule table into 𝛼 + 1 sub-tables
• Expanding Example: • 11* & 𝛼1 = 4 we obtain 4 rules: 1100*, 1101*, 1110*, 1111*
51
![Page 51: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/51.jpg)
Distributing Tables in Switches
• Determining 𝛼• Choose 𝛼 in a way that traffic load of sub-tables become balanced
• Distribute sub-tables among switches in a way that packets visit all sub-tables• When a packet matches with rule in the sub-table with longest prefix (𝛼𝛼)
then packet destination is determined
• In fact, all packets MUST visit this table
52
![Page 52: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/52.jpg)
Distributing Tables in Switches
• This is a variant of graph coloring problem
• Rainbow Path Problem• For a flow-set 𝐹 = {𝑓1, … , 𝑓𝑛} and 𝛼 colors
• Color all paths with 𝛼 colors in a way that all paths contain all colors
53
![Page 53: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/53.jpg)
References
• Nick McKoewn Talks, http://yuba.stanford.edu/~nickm/talks/
• Xia, Wenfeng, Yonggang Wen, Chuan Heng Foh, Dusit Niyato, and Haiyong Xie. “A Survey on Software-Defined Networking.” IEEE Communications Surveys & Tutorials 17, no. 1 (2015): 27–51.
• Kreutz, Diego, Fernando MV Ramos, Paulo Esteves Verissimo, Christian Esteve Rothenberg, Siamak Azodolmolky, and Steve Uhlig. “Software-Defined Networking: A Comprehensive Survey.” Proceedings of the IEEE 103, no. 1 (2015): 14–76.
54
![Page 54: Controllers in Software Defined Networks · Internet Business Issue •The Internet was successful because it was simple and dumb •Explosive growth of the internet led to great](https://reader034.vdocument.in/reader034/viewer/2022042107/5e8713211f83a025c808d06a/html5/thumbnails/54.jpg)
Thank You
55