module - 5 configuring and manging virtual networks

Upload: ijazkhan

Post on 01-Jun-2018

234 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    1/31

    © 2012 VMware Inc. All rights reserved

    Configuring and Managing Virtual Networks

    Module 5

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    2/31

    5-2

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Course Introduction

    Introduction to Virtualization

    Creating Virtual Machines

    VMware vCenter Server

    Configuring and Managing Virtual Networks

    Configuring and Managing vSphere Storage

    Virtual Machine Management

    Data Protection

     Access and Authentication Control

    Resource Management and Monitoring

    High Availability and Fault Tolerance

    Host Scalability

    Patch Management

    Installing VMware vSphere Components

     You Are Here

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    3/31

    5-3

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    VMware vSphere® ESXi™ networking features allow the following: 

    Virtual machines to communicate with other virtual and physicalmachines

    Management of the ESXi host

    The VMkernel to access IP-based storage and perform VMwarevSphere® vMotion® migrations

    Failure to properly configure ESXi networking can negatively affect

    virtual machine management and storage operations.

    Importance

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    4/31

    5-4

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Lesson 1: Introduction to vNetwork Standard Switches

    Lesson 2: Configuring Standard Virtual Switch Policies

    Module Lessons

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    5/31

    5-5

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Lesson 1:

    Introduction to vNetwork Standard

    Switches

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    6/31

    5-6

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    After this lesson, you should be able to do the following:

    Define a virtual network.

    Describe a virtual switch.

    Describe the virtual switch connection types.

    Describe the components of a vNetwork standard switch.

    Create a vNetwork standard switch.

    Learner Objectives

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    7/31

    5-7

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    A virtual network provides networking for hosts and

    virtual machines. A virtual switch:

    Directs network trafficbetween virtual machinesand links to external

    networks. Combines the bandwidth of

    multiple network adaptersand balances traffic amongthem. It can also handlephysical network interface card (NIC)failover.

    Models a physical Ethernet switch:

    •  A virtual machine’s NIC can connect to a port. • Each uplink adapter uses one port.

    What Is a Virtual Network? What Is a Virtual Switch?

    Physical NIC

    Virtual

    NICVirtual

    NIC

    Virtual

    NIC

    vmnic0 vmnic1

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    8/31

    5-8

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    A virtual switch allows the following connection types:

    One or more virtual machine port groups

    VMkernel port:

    • For IP storage, vMotion migration, VMware vSphere® Fault Tolerance• For the ESXi management network

    Types of Virtual Switch Connections

    Production Test Dev DMZ vMotion Management

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    9/31

    5-9

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    More than one network can coexist on the same virtual switch, or

    networks can exist on separate virtual switches.

    Virtual Switch Connection Examples

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    10/31

    5-10

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    A virtual network supports two types of virtual switches:

    vNetwork standard switches:

    • Virtual switch configuration for a single host• Discussed in this module

    vNetwork distributed switches:

    • Virtual switches that provide a consistent network configuration for virtualmachines as they migrate across multiple hosts

    Types of Virtual Switches

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    11/31

    5-11

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Standard Virtual Switch Components

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    12/31

    5-12

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Default Standard Virtual Switch Configuration

    Display standard

    virtual switches.

    Delete the

    virtual switch.Display virtual

    switch properties.

    Display port group

    properties.

    Display CiscoDiscovery Protocol

    information.

    Enable IPv6 on

    ESXi host.

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    13/31

    5-13

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

     You can change the number of ports on a standard virtual switch.

    Standard Virtual Switch Ports

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    14/31

    5-14

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    For each physical adapter, speed and duplex can be changed.

     You might need to set the speed and duplex for certain NIC and

    switch combinations.

    Network Adapter Properties

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    15/31

    5-15

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    ESXi supports 802.1Q VLAN tagging.

    Virtual switch tagging is one of three

    tagging policies supported.

    Packets from a virtual machine aretagged as they exit the virtual switch.

    Packets are untagged as they returnto the virtual machine.

     Affect on performance is minimal.

    ESXi provides VLAN support by

    giving a port group a VLAN ID.

    VLANs

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    16/31

    5-16

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Discuss VMware vSphere® networking needs with your network

    administration team. Discuss the following issues: Number of physical switches

    Network bandwidth required

    Physical switch support for 802.3AD (for NIC teaming)

    Physical switch support for 802.1Q (for VLAN trunking)

    Network port security

    Cisco Discovery Protocol (CDP) and its operational modes: listen,broadcast, listen and broadcast, and disabled.

    Physical Network Considerations

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    17/31

    5-17

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    In this lab, you will create a standard virtual switch and port group.

    1. View the current standard virtual switch configuration.

    2. Create a standard virtual switch with a virtual machine port group.

    3.  Attach your virtual machine to a virtual switch port group.

    Lab 5

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    18/31

    5-18

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

     You should be able to do the following:

    Define a virtual network.

    Describe a virtual switch.

    Describe the virtual switch connection types.

    Describe the components of a vNetwork standard switch.

    Create a vNetwork standard switch.

    Review of Learner Objectives

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    19/31

    5-19

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Lesson 2:

    Configuring Standard Virtual Switch

    Policies

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    20/31

    5-20

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    After this lesson, you should be able to describe the security

    properties of a standard virtual switch port group: Security

    Traffic shaping

    NIC teaming policies

    Learner Objectives

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    21/31

    5-21

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Three network policies:

    Security

    Traffic shaping

    NIC teaming

    Policies are defined:

     At the standard virtual switch level:• Default policies for all the ports on the standard virtual switch

     At the port or port group level:

    • Effective policies: Policies defined at this level override the default policiesset at the standard virtual switch level.

    Network Policies

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    22/31

    5-22

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Administrators can configure layer 2 Ethernet security options at the

    standard virtual switch and at the port groups.

    Security Policy

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    23/31

    5-23

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Network traffic shaping is a mechanism for controlling a virtual

    machine’s network bandwidth. Average rate, peak rate, and burst size are configurable.

    Traffic-Shaping Policy

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    24/31

    5-24

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Traffic shaping is

    disabled by default.Parameters apply to

    each virtual NIC in

    the standard virtual

    switch.

    On a standard

    switch, traffic

    shaping controls

    outbound traffic

    only.

    Configuring Traffic Shaping

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    25/31

    5-25

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    NIC Teaming

    settings: Load Balancing

    (outbound only)

    Network FailureDetection

    Notify Switches

    Failback

    Failover Order

    NIC Teaming Policy

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    26/31

    5-26

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Load-Balancing Method: Originating Virtual Port ID

    virtual

    NICs

    physical

    NICs

    virtual

    switch physical

    switch

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    27/31

    5-27

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Load-Balancing Method: Source MAC Hash

    virtual

    NICs

    physical

    NICs

    virtual

    switch

    Internet

    physical

    switch

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    28/31

    5-28

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Load-Balancing Method: IP-Hash

    virtual

    NICs

    physical

    NICs

    virtual

    switch

    Internet

    physical

    switch

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    29/31

    5-29

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

    Network failure is detected by the

    VMkernel, which monitors: Link state only

    Link state, plus beaconing

    Switches can be notified whenever:

     A failover event occurs

     A new virtual NIC is connected tothe virtual switch

    Failover implemented by the VMkernel

    based on configurable parameters:

    Failback:

    • How physical adapter is returned to active duty after recovering from failure Load-balancing option:

    • Use explicit failover order. Always use the highest order uplink from the listof active adapters that pass failover detection criteria.

    Detecting and Handling Network Failure

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    30/31

    5-30

    © 2012 VMware Inc. All rights reserved

    VMware vSphere: Install, Configure, Manage – Revision A

     You should be able to describe the security properties of a standard

    virtual switch port group: Security

    Traffic shaping

    NIC teaming policies

    Review of Learner Objectives

  • 8/9/2019 Module - 5 Configuring and Manging Virtual Networks

    31/31

    5-31VMware vSphere: Install, Configure, Manage – Revision A

    There are two connection types on a virtual switch: virtual machine and

    VMkernel.  A standard virtual switch is a virtual switch configuration for a single

    host.

    Network policies set at the standard virtual switch level can beoverridden at the port group level.

    Questions?

    Key Points