Download presentation
Published byBrittany Bishop Modified over 9 years ago
1
CS 490.31: Software Defined Networks 3rd Lecture 28/3/2013
Xenofontas Dimitropoulos ETH Zurich
2
Virtualization and SDN Applications
3
Virtualization Sharing physical hardware or software resources by multiple users and/or use cases Examples Operating system shares physical hardware resources Virtual machine shares a physical machine with diverse and multiple operating systems Multiplexing shares a physical channel with multiple communication flows
4
Network Virtualization
Share physical network resources to form multiple diverse virtual networks Examples Overlay and p2p networks Virtual Private Networks (VPN) Provide remote access to company’s network Group remote computers in the same Virtual Local Area Network (VLAN). Benefits: Increases utilization of resources Simplifies resource management
5
Network Virtualization
Two categories : External network virtualization (most of this talk) Combining many networks, or parts of networks, into a virtual unit. Internal network virtualization Providing network-like functionality to the software containers on a single system.
6
Internal Network Virtualization
Properties of virtual switch A virtual switch works much like a physical Ethernet switch. It detects which VMs are logically connected to each of its virtual ports and uses that information to forward traffic to the correct virtual machines.
7
Key properties of virtual network
Partitioning: each resource can be used concurrently by multiple VN instances Isolation: the clear isolation of any VN from all others Abstraction: in which a given virtual resource need not directly correspond to its component resources Aggregation: aggregate multiple instances to obtain increased capabilities 7
8
What are virtual networks used for?
Same purposes as non-virtualized networks without interfering the operation of other virtual networks while sharing the key components among virtual networks Coexistence of multiple VNs Different VNs may use different network technologies without interference Increase utilization Can support seamless migration/update of VNs Can provide normalized set of interfaces and make it easier to provision VNs
9
The “Software-defined Network”
2. At least one good operating system Extensible, possibly open-source 3. Well-defined open API App App App Network Operating System 1. Open interface to hardware Simple Packet Forwarding Hardware Simple Packet Forwarding Hardware Switches, routers and other middleboxes are dumbed down The key is to have a standardized control interface that speaks directly to hardware Simple Packet Forwarding Hardware Simple Packet Forwarding Hardware Simple Packet Forwarding Hardware 9
10
Virtualization or “Slicing” Layer
Isolated “slices” Many operating systems, or Many versions App Network Operating System 1 Network Operating System 2 Network Operating System 3 Network Operating System 4 Open interface to hardware Virtualization or “Slicing” Layer Open interface to hardware Simple Packet Forwarding Hardware Simple Packet Forwarding Hardware Simple Packet Forwarding Hardware Simple Packet Forwarding Hardware Simple Packet Forwarding Hardware
11
Virtualized OpenFlow Substrate
Larry’s Controller OpenFlow Protocol API Net Services Steve’s Controller API Net Services Dave’s Controller API Net Services Network Hypervisor & Policy Control OpenFlow Switch Virtualization technologies use a so-called hypervisor that shares resources and to enfornce isolation. In the context of network virtualization we will call the hypervisor network hypervisor. Hypervisor sits between the fwding elements and the controlorers and creates logical slices that are associated with different controlers It uses the OpenFlow protocol to communicate with both ends. Using OpenFlow it is easy to virtualize the physical network substrate OpenFlow Protocol OpenFlow Switch OpenFlow Switch
12
FlowVisor Creates Virtual Networks
Larry’s Controller Steve’s Controller Dave’s Controller OpenFlow Protocol OpenFlow Protocol FlowVisor OpenFlow Switch FlowVisor slices OpenFlow networks, creating multiple isolated and programmable logical networks on the same physical topology. OpenFlow Switch OpenFlow Switch
13
Slicing Policies The policy specifies resource limits for each slice:
Link bandwidth Maximum number of forwarding rules Topology Fraction of switch/router CPU FlowSpace: which packets does the slice control? The policies specify resource limits.
14
Switch Based Virtualization
Controller Research VLAN 2 Flow Table Controller Research VLAN 1 Flow Table Production VLANs Normal L2/L3 Processing Experiments running on PRODUCTION infrastructure Key to get scale, key to get traffic on the network (e.g. can’t just do a reset...)
15
Use Case: VLAN Based Partitioning
Basic Idea: Partition Flows based on Ports and VLAN Tags Traffic entering system (e.g. from end hosts) is tagged VLAN tags consistent throughout substrate Switch Port MAC src MAC dst Eth type VLAN ID IP Src IP Dst IP Prot TCP sport TCP dport Dave * 1,2,3 Larry * 4,5,6 Steve * 7,8,9
16
Use Case: New CDN - Turbo Coral ++
Basic Idea: Build a CDN where you control the entire network All traffic to or from Coral IP space controlled by Experimenter All other traffic controlled by default routing Topology is the entire network End hosts are automatically added (no opt-in) Switch Port MAC src MAC dst Eth type VLAN ID IP Src IP Dst IP Prot TCP sport TCP dport Turbo Coral * 84.65.* Default *
17
Use Case: Your Internet Protocol
A new layer 3 protocol Replaces IP Defined by a new Ether Type Switch Port MAC src MAC dst Eth type VLAN ID IP Src IP Dst IP Prot TCP sport TCP dport Your IP * YourIP Rest * !YourIP
18
FlowSpace: Maps Packets to Slices
"flowspace is a way of thinking about classes of packets" "each slice has forwarding control of a specific set of packets, as specified by packet header fields" "that is, all packets in a given flow are controlled by the same slice" "each flow is controlled by exactly one slice" (ignoring monitoring slices for the purpose of the talk) "in practice, flow spaces are described using ordered ACL-like rules"
19
Applications of SDN
20
Dynamic Flow Aggregation on an OpenFlow Network
Scope Different Networks want different flow granularity (ISP, Backbone,…) Switch resources are limited (flow entries, memory) Network management is hard Current Solutions : MPLS, IP aggregation How OpenFlow Helps? Dynamically define flow granularity by wildcarding arbitrary header fields Granularity is on the switch flow entries, no packet rewrite or encapsulation Create meaningful bundles and manage them using your own software (reroute, monitor) Higher Flexibility, Better Control, Easier Management, Experimentation
21
ElasticTree: Reducing Energy in Data Center Networks
Shuts off links and switches to reduce data center power Choice of optimizers to balance power, fault tolerance, and BW OpenFlow provides network routes and port statistics The demo: Hardware-based 16-node Fat Tree Your choice of traffic pattern, bandwidth, optimization strategy Graph shows live power and latency variation demo credits: Brandon Heller, Srini Seetharaman, Yiannis Yiakoumis, David Underhill
22
openflow.org/videos
23
[Hands-on Tutorial] http://www. openflow. org/wk/index
24
Part 5 of OpenFlow Tutorial:
TutorialFlow Today’s Hands-On Session Part 5 of OpenFlow Tutorial:
25
Tutorial Setup h1 h2 h3 Controller port6633 c0 OpenFlow Tutorial
loopback ( :6633) OpenFlow Tutorial 3hosts-1switch topology s1 OpenFlow Switch loopback ( :6634) dpctl (user space process) s1-eth0 s1-eth1 s1-eth2 h1-eth0 h3-eth0 h4-eth0 h1 h2 h3 virtual hosts
26
This talk wouldn’t be possible without:
Past slides from: Brandon Heller Nick McKeown Rob Sherwood Guru Parulkar Srini Seetharaman Yiannis Yiakoumis Guido Appenzeller Masa Kobayashi Scott Shenker Sangjin Jeong others
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.