Network Virtualization Ben Pfaff Nicira Networks, Inc.

Slides:



Advertisements
Similar presentations
Towards Software Defined Cellular Networks
Advertisements

Internetworking II: MPLS, Security, and Traffic Engineering
PortLand: A Scalable Fault-Tolerant Layer 2 Data Center Network Fabric
DOT – Distributed OpenFlow Testbed
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Connecting LANs: Section Figure 15.1 Five categories of connecting devices.
PortLand: A Scalable Fault-Tolerant Layer 2 Data Center Network Fabric. Presented by: Vinuthna Nalluri Shiva Srivastava.
Multi-Layer Switching Layers 1, 2, and 3. Cisco Hierarchical Model Access Layer –Workgroup –Access layer aggregation and L3/L4 services Distribution Layer.
1 Version 3.0 Module 8 Virtual LANs. 2 Version 3.0.
PortLand Presented by Muhammad Sadeeq and Ling Su.
Data Center Virtualization: Open vSwitch Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking.
A Scalable, Commodity Data Center Network Architecture Mohammad Al-Fares, Alexander Loukissas, Amin Vahdat Presented by Gregory Peaker and Tyler Maclean.
A Scalable, Commodity Data Center Network Architecture.
Secure Cloud Computing with Virtualized Network Infrastructure HotCloud 10 By Xuanran Zong.
Networking Components
Jennifer Rexford Princeton University MW 11:00am-12:20pm SDN Software Stack COS 597E: Software Defined Networking.
(part 3).  Switches, also known as switching hubs, have become an increasingly important part of our networking today, because when working with hubs,
Microsoft Virtual Academy Module 4 Creating and Configuring Virtual Machine Networks.
Virtual LANs. VLAN introduction VLANs logically segment switched networks based on the functions, project teams, or applications of the organization regardless.
Connecting LANs, Backbone Networks, and Virtual LANs
© 2006 Cisco Systems, Inc. All rights reserved.1 Microsoft Network Load Balancing Support Vivek V
Common Devices Used In Computer Networks
Traffic Management - OpenFlow Switch on the NetFPGA platform Chun-Jen Chung( ) Sriram Gopinath( )
Technical Refresher Session 3. Overview Difference between communication between devices on a single logical network and communication between different.
Chapter 8: Virtual LAN (VLAN)
June, 2006 Stanford 2006 Ethane. June, 2006 Stanford 2006 Security and You  What does security mean to you?  Data on personal PC?  Data on family PC?
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
Day11 Devices/LAN/WAN. Network Devices Hub Switches Bridge Router Gateway.
Chapter 7 Backbone Network. Announcements and Outline Announcements Outline Backbone Network Components  Switches, Routers, Gateways Backbone Network.
A machine that acts as the central relay between computers on a network Low cost, low function machine usually operating at Layer 1 Ties together the.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs.
Chapter 4 Version 1 Virtual LANs. Introduction By default, switches forward broadcasts, this means that all segments connected to a switch are in one.
Network Virtualization in Multi-tenant Datacenters Author: VMware, UC Berkeley and ICSI Publisher: 11th USENIX Symposium on Networked Systems Design and.
SOFTWARE DEFINED NETWORKING/OPENFLOW: A PATH TO PROGRAMMABLE NETWORKS April 23, 2012 © Brocade Communications Systems, Inc.
The Goals Proposal Realizing broadcast/multicast in virtual networks
Local Area Networks Honolulu Community College
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
Enterprise Network Systems TCP Mark Clements. 3 March 2008ENS 2 Last Week – Client/ Server Cost effective way of providing more computing power High specs.
Introduction to Mininet, Open vSwitch, and POX
Networking Components Assignment 3 Corbin Watkins.
XRBLOCK IETF 85 Atlanta Network Virtualization Architecture Design and Control Plane Requirements draft-fw-nvo3-server2vcenter-01 draft-wu-nvo3-nve2nve.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Wrapping up subnetting, mapping IPs to physical ports BSAD 146 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
Software Defined Networking and OpenFlow Geddings Barrineau Ryan Izard.
Open vSwitch: Extending Networking into the Virtualization Layer Ben Pfaff Justin Pettit Teemu Koponen Keith Amidon Martin Casado Nicira Networks, Inc.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI network layer CCNA Exploration Semester 1 – Chapter 5.
InterVLAN Routing 1. InterVLAN Routing 2. Multilayer Switching.
Instructor Materials Chapter 1: LAN Design
CIS 700-5: The Design and Implementation of Cloud Networks
Heitor Moraes, Marcos Vieira, Italo Cunha, Dorgival Guedes
Local Area Networks Honolulu Community College
Networking Devices.
ETHANE: TAKING CONTROL OF THE ENTERPRISE
Securing the Network Perimeter with ISA 2004
Chapter 4 Data Link Layer Switching
1.
Introducing To Networking
Introduction to Networking
Virtual LANs.
IS3120 Network Communications Infrastructure
Chapter 7 Backbone Network
CS222 Web Programming Course Outline
The Stanford Clean Slate Program
Network Virtualization
TCP/IP Networking An Example
NTHU CS5421 Cloud Computing
Open vSwitch HW offload over DPDK
Implementing an OpenFlow Switch on the NetFPGA platform
All or Nothing The Challenge of Hardware Offload
Computer Networks ARP and RARP
Presentation transcript:

Network Virtualization Ben Pfaff Nicira Networks, Inc.

Preview ● Data Centers ● Problems: Isolation, Connectivity ● Solution: Network Virtualization ● Network Tunnels ● A Network Virtualization Architecture ● Open vSwitch Design ● Questions?

Data Centers Front of a rack Rear of a rack “Top of Rack” switch A data center has many racks. A rack has servers. The servers in a rack connect to a 48-port “top of rack” (ToR) switch. Data centers buy the cheapest ToR switches they can find. They are pretty dumb devices. Data centers do not rewire their networks without a really good reason.

Data Center Network Design before VMs Machine 1 Machine 40 Machine 2... “Top of Rack” Switch One rack of machines Aggregation Switch other ToRs Core Switch other agg switches

Data Center Network Design with VMs Machine 1 Machine 40 Machine 2... “Top of Rack” Switch One rack of machines Aggregation Switch other ToRs Core Switch other agg switches VMVM VMVM VMVM up to 128 VMs each VMVM VMVM VMVM VMVM VMVM VMVM virtual switch (= vswitch)

Problem: Isolation Machine 1 Machine 40 Machine 2... “Top of Rack” Switch One rack of machines Aggregation Switch other ToRs Core Switch other agg switches VMVM VMVM VMVM up to 128 VMs each VMVM VMVM VMVM VMVM VMVM VMVM virtual switch (= vswitch) All VMs can talk to each other by default. You don't want someone in engineering screwing up the finance network. You don't want a break- in to your production website to allow stealing human resources data. Some switches have security features but: ● You bought the cheap ones instead. ● There are hundreds of switches to set up.

Problem: Connectivity Machine 1 Machine 40 Machine 2... “Top of Rack” Switch One rack of machines Aggregation Switch other ToRs Core Switch other agg switches VMVM VMVM VMVM up to 128 VMs each VMVM VMVM VMVM VMVM VMVM VMVM virtual switch (= vswitch) The VMs in a data center can name each other by their MAC addresses (L2 addresses). This only works within a data center. To access machines or VMs in another data center, IP addresses (L3 addresses) must be used. And those IP addresses have to be globally routable. The Internet L3 L2

Non-Solution: VLANs A VLAN partitions a physical Ethernet network into isolated virtual Ethernet networks: Ethernet IP TCP VLA N L2 L3 L4 The Internet is an L3 network. When a packet crosses the Internet, it loses all its L2 headers, including the VLAN tag. You lose all the isolation when your traffic crosses the Internet. Other problems: limited number, static allocation.

Solution: Network Virtualization Virtualization Layering Network Virtualization Ethernet IP TCP Ethernet IP TCP Ethernet IP GRE Tunneling: Separating Virtual and Physical Network Physical HeadersVirtual Headers

Path of a Packet (No Tunnel) Machine 1 Machine 40 Machine 2... “Top of Rack” Switch One rack of machines Aggregation Switch other ToRs Core Switch other agg switches VMVM VMVM VMVM up to 128 VMs each VMVM VMVM VMVM VMVM VMVM VMVM virtual switch (= vswitch) A packet from one VM to another passes through a number of switches along the way. Each switch only looks at the destination MAC address to decide where the packet should go.

Path of a Packet (Via Tunnel) Machine 1 Machine 40 Machine 2... “Top of Rack” Switch Aggregation Switch Core Switch VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM Aggregation Switch “Top of Rack” Switch... Machine 2 Machine 40 Machine 1 The Internet routing switching physical virtual Ethernet IP TCP Ethernet IP GRE Physical Headers Virtual Headers Data Center 1Data Center 2

Challenges ● Setting up the tunnels: ● Initially. ● After VM startup/shutdown ● After VM migration ● Handling network failures ● Monitoring, administration ● Administration Þ Use a central controller to set up the tunnels.

A Network Virtualization Distributed System Machine 1 Machine 2 Machine 3 Machine 4 controller OVSOVS OVSOVS OVSOVS OVSOVS control protocols VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM Data Center 1 Data Center 2 “Top of Rack” Switch Aggregation Switch Core Switch wires The Internet “Top of Rack” Switch Aggregation Switch Core Switch

Controller Duties ● Monitor: ● Physical network ● VM locations, states ● Control: ● Tunnel setup ● All packets on virtual and physical network ● Virtual/physical mapping ● Tells OVS running everywhere else what to do

Open vSwitch ● Ethernet switch implemented in software ● Can be remotely controlled ● Tunnels (GRE and others) ● Integrates with VMMs, e.g. XenServer, KVM ● Free and open source openvswitch.org

Open vSwitch: OVSDB protocol ● Slow-moving state: ● VM placement (via VMM integration) ● Tunnel setup ● Buzzwords: ● Lightweight ● Transactional ● Not SQL ● Persistent

Open vSwitch: OpenFlow protocol Ethernet switch Flow table = ordered list of “if-then” rules: “If this packet comes from VM A and going to VM B, then send it out via tunnel 42.” (No rule: send to controller.)

OpenFlow in the Data Center (One Possibility) Machine 1 Machine 2 Machine 3 Machine 4 controller OVSOVS OVSOVS OVSOVS OVSOVS control protocols VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM VMVM Data Center 1 Data Center 2 “Top of Rack” Switch Aggregation Switch Core Switch wires The Internet “Top of Rack” Switch Aggregation Switch Core Switch 1. VM sends packet. 2. Open vSwitch checks flow table – no match. Sends packet to controller. 3. Controller tells OVS to set up a tunnel to the destination and send the packet on that tunnel. 4. OVS sends packet on the new tunnel. 5. Normal switching and routing carry the packet to its destination in the usual way. The same process repeats on the other end to send the reply back. This is done at most on a per-”flow” basis, and other optimizations keep it from happening too frequently

Open vSwitch: Design Overview NIC Host operating system VM 1VM 2VM 3 VNI C Virtual machines Hypervisor physical machine Controller ovs-vswitchd Adminstrative CLI/GUI...other network elements...

Open vSwitch: Design Details OVS kernel module ovs-vswitchd NIC Hypervisor Host operating system user kernel VM 1VM 2VM 3 VNI C Virtual machines Hypervisor physical machine Controller Cache hierarchy: <1us: Kernel module <1ms: ovs-vswitchd <10ms: controller

OpenFlow: Another Use Redundant Wiring Between Switches:

OpenFlow: Another Use Effective topology with normal L2 switching:

OpenFlow: Another Use controller L2 routing managed by controller: (Requires all switches to support OpenFlow)

Conclusion ● Companies spread VMs across data centers. ● Ordinary networking exposes differences between VMs in the same data center and those in different data centers. ● Tunnels can hide the differences. ● A controller and OpenFlow switches at the edge of the network can set up and maintain the tunnels.

Questions?