VSphere Networking - VMware VSphere 7

3y ago
116 Views
15 Downloads
2.93 MB
284 Pages
Last View : 5d ago
Last Download : 2m ago
Upload by : Ryan Jay
Transcription

vSphere NetworkingUpdate 1VMware vSphere 7.0VMware ESXi 7.0vCenter Server 7.0

vSphere NetworkingYou can find the most up-to-date technical documentation on the VMware website at:https://docs.vmware.com/VMware, Inc.3401 Hillview Ave.Palo Alto, CA 94304www.vmware.comCopyrightVMware, Inc. 2009-2020 VMware, Inc. All rights reserved. Copyright and trademark information.2

ContentsAbout vSphere Networking 12Updated Information 131 Introduction to vSphere Networking 14Networking Concepts OverviewNetwork Services in ESXi1416VMware ESXi Dump Collector Support172 Setting Up Networking with vSphere Standard Switches 18vSphere Standard Switches18Create a vSphere Standard Switch20Port Group Configuration for Virtual MachinesAdd a Virtual Machine Port Group22Edit a Standard Switch Port Group2321Remove a Port Group from a vSphere Standard SwitchvSphere Standard Switch Properties2424Change the Size of the MTU on a vSphere Standard SwitchChange the Speed of a Physical Adapter2525Add and Team Physical Adapters in a vSphere Standard SwitchView the Topology Diagram of a vSphere Standard Switch25263 Setting Up Networking with vSphere Distributed Switches 28vSphere Distributed Switch ArchitectureCreate a vSphere Distributed Switch2832Upgrade a vSphere Distributed Switch to a Later Version33Edit General and Advanced vSphere Distributed Switch Settings35Managing Networking on Multiple Hosts on a vSphere Distributed SwitchTasks for Managing Host Networking on a vSphere Distributed SwitchAdd Hosts to a vSphere Distributed Switch363738Configure Physical Network Adapters on a vSphere Distributed SwitchMigrate VMkernel Adapters to a vSphere Distributed Switch40Create a VMkernel Adapter on a vSphere Distributed Switch41Migrate Virtual Machine Networking to the vSphere Distributed Switch3943Use a Host as a Template to Create a Uniform Networking Configuration on a vSphereDistributed Switch 44Remove Hosts from a vSphere Distributed SwitchManaging Networking on Host Proxy SwitchesVMware, Inc.46473

vSphere NetworkingMigrate Network Adapters on a Host to a vSphere Distributed Switch47Migrate a VMkernel Adapter on a Host to a vSphere Standard Switch48Assign a Physical NIC of a Host to a vSphere Distributed SwitchRemove a Physical NIC from a vSphere Distributed SwitchRemoving NICs from Active Virtual MachinesDistributed Port Groups49494950Add a Distributed Port Group50Edit General Distributed Port Group SettingsRemove a Distributed Port GroupWorking with Distributed Ports545556Monitor the State of Distributed PortsConfigure Distributed Port Settings5656Configuring Virtual Machine Networking on a vSphere Distributed SwitchMigrate Virtual Machines to or from a vSphere Distributed Switch57Connect an Individual Virtual Machine to a Distributed Port Group58Topology Diagrams of a vSphere Distributed Switch58View the Topology of a vSphere Distributed SwitchView the Topology of a Host Proxy Switch5759614 Setting Up VMkernel Networking 62VMkernel Networking Layer63View Information About VMkernel Adapters on a Host65Create a VMkernel Adapter on a vSphere Standard Switch66Create a VMkernel Adapter on a Host Associated with a vSphere Distributed SwitchEdit a VMkernel Adapter Configuration70Overriding the Default Gateway of a VMkernel Adapter72Configure the VMkernel Adapter Gateway by Using esxcli CommandsView TCP/IP Stack Configuration on a HostRemove a VMkernel Adapter7373Change the Configuration of a TCP/IP Stack on a HostCreate a Custom TCP/IP Stack687475755 LACP Support on a vSphere Distributed Switch 77LACP Teaming and Failover Configuration for Distributed Port Groups79Configure a Link Aggregation Group to Handle the Traffic for Distributed Port GroupsCreate a Link Aggregation Group8081Set a Link Aggregating Group as Standby in the Teaming and Failover Order of DistributedPort Groups 82Assign Physical NICs to the Ports of the Link Aggregation Group83Set the Link Aggregation Group as Active in the Teaming and Failover Order of theDistributed Port Group 83Edit a Link Aggregation GroupVMware, Inc.844

vSphere NetworkingLimitations of the LACP Support on a vSphere Distributed Switch856 Backing Up and Restoring Networking Configurations 86Backing Up and Restoring a vSphere Distributed Switch ConfigurationExport vSphere Distributed Switch ConfigurationsImport a vSphere Distributed Switch ConfigurationRestore a vSphere Distributed Switch Configuration86868788Export, Import, and Restore vSphere Distributed Port Group ConfigurationsExport vSphere Distributed Port Group Configurations89Import a vSphere Distributed Port Group Configuration89Restore a vSphere Distributed Port Group Configuration88907 Rollback and Recovery of the Management Network 91vSphere Networking Rollback91Disable Network Rollback93Disable Network Rollback by Using the vCenter Server Configuration File93Resolve Errors in the Management Network Configuration on a vSphere Distributed Switch938 Networking Policies 95Applying Networking Policies on a vSphere Standard or Distributed SwitchConfigure Overriding Networking Policies on Port LevelTeaming and Failover Policy969798Load Balancing Algorithms Available for Virtual SwitchesRoute Based on Originating Virtual PortRoute Based on Source MAC HashRoute Based on IP Hash100100101102Route Based on Physical NIC LoadUse Explicit Failover Order104104Configure NIC Teaming, Failover, and Load Balancing on a vSphere Standard Switch orStandard Port Group 104Configure NIC Teaming, Failover, and Load Balancing on a Distributed Port Group orDistributed Port 106VLAN Policy109Configure VLAN Tagging on a Distributed Port Group or Distributed PortConfigure VLAN Tagging on an Uplink Port Group or Uplink PortSecurity Policy109110111Configure the Security Policy for a vSphere Standard Switch or Standard Port GroupConfigure the Security Policy for a Distributed Port Group or Distributed PortTraffic Shaping Policy112114Configure Traffic Shaping for a vSphere Standard Switch or Standard Port GroupEdit the Traffic Shaping Policy on a Distributed Port Group or Distributed PortVMware, Inc.1111141155

vSphere NetworkingResource Allocation Policy117Edit the Resource Allocation Policy on a Distributed Port GroupMonitoring Policy117117Enable or Disable NetFlow Monitoring on a Distributed Port Group or Distributed PortTraffic Filtering and Marking Policy118118Traffic Filtering and Marking on a Distributed Port Group or Uplink Port Group119Enable Traffic Filtering and Marking on a Distributed Port Group or Uplink Port Group119Mark Traffic on a Distributed Port Group or Uplink Port Group120Filter Traffic on a Distributed Port Group or Uplink Port Group122Working with Network Traffic Rules on a Distributed Port Group or Uplink Port Group123Disable Traffic Filtering and Marking on a Distributed Port Group or Uplink Port Group126Traffic Filtering and Marking on a Distributed Port or Uplink Port126Enable Traffic Filtering and Marking on a Distributed Port or Uplink PortMark Traffic on a Distributed Port or Uplink Port128Filter Traffic on a Distributed Port or Uplink Port129127Working with Network Traffic Rules on a Distributed Port or Uplink Port131Disable Traffic Filtering and Marking on a Distributed Port or Uplink Port134Qualifying Traffic for Filtering and MarkingSystem Traffic QualifierMAC Traffic QualifierIP Traffic Qualifier134134135136Manage Policies for Multiple Port Groups on a vSphere Distributed SwitchPort Blocking Policies137141Edit the Port Blocking Policy for a Distributed Port Group141Edit the Blocking Policy for a Distributed Port or Uplink Port1419 Isolating Network Traffic by Using VLANs 142VLAN ConfigurationPrivate VLANs142143Create a Private VLAN143Remove a Primary Private VLAN144Remove a Secondary Private VLAN10 Managing Network ResourcesDirectPath I/O144146146Enable Passthrough for a Network Device on a HostConfigure a PCI Device on a Virtual MachineSingle Root I/O Virtualization (SR-IOV)SR-IOV SupportVMware, Inc.1471471481496

vSphere NetworkingSR-IOV Component Architecture and InteractionvSphere and Virtual Function InteractionDirectPath I/O vs SR-IOV151153154Configure a Virtual Machine to Use SR-IOV154Enable SR-IOV on a Host Physical Adapter155Assign a Virtual Function as SR-IOV Passthrough Adapter to a Virtual MachineNetworking Options for the Traffic Related to an SR-IOV Enabled Virtual MachineUsing an SR-IOV Physical Adapter to Handle Virtual Machine TrafficEnabling SR-IOV by Using Host Profiles or an ESXCLI CommandEnable SR-IOV in a Host Profile156157157158158Enable SR-IOV on a Host Physical Adapter by Using an ESXCLI Command159Virtual Machine That Uses an SR-IOV Virtual Function Fails to Power On Because the Host IsOut of Interrupt Vectors 160Remote Direct Memory Access for Virtual MachinesPVRDMA Support161162Configure an ESXi Host for PVRDMA163Tag a VMkernel Adapter for PVRDMAEnable the Firewall Rule for PVRDMA163164Assign a PVRDMA Adapter to a Virtual Machine164Configure a Virtual Machine to Use PVRDMA Native EndpointsNetwork Requirements for RDMA over Converged EthernetConfigure Remote Direct Memory Access Network AdaptersView RDMA Capable Network Adapter166167167Configure Remote Direct Memory Access Network AdaptersJumbo Frames165168170Enable Jumbo Frames on a vSphere Distributed SwitchEnable Jumbo Frames on a vSphere Standard SwitchEnable Jumbo Frames for a VMkernel Adapter171171Enable Jumbo Frame Support on a Virtual MachineTCP Segmentation Offload171172173Enable or Disable Software TSO in the VMkernel173Determine Whether TSO Is Supported on the Physical Network Adapters on an ESXi Host174Enable or Disable TSO on an ESXi Host174Determine Whether TSO Is Enabled on an ESXi HostEnable or Disable TSO on a Linux Virtual Machine175Enable or Disable TSO on a Windows Virtual MachineLarge Receive Offload175175176Enable Hardware LRO for All VMXNET3 Adapters on an ESXi HostEnable or Disable Software LRO for All VMXNET3 Adapters on an ESXi Host177Determine Whether LRO Is Enabled for VMXNET3 Adapters on an ESXi Host177Change the Size of the LRO Buffer for VMXNET 3 AdaptersVMware, Inc.1761787

vSphere NetworkingEnable or Disable LRO for All VMkernel Adapters on an ESXi HostChange the Size of the LRO Buffer for VMkernel Adapters178178Enable or Disable LRO on a VMXNET3 Adapter on a Linux Virtual Machine179Enable or Disable LRO on a VMXNET3 Adapter on a Windows Virtual MachineEnable LRO Globally on a Windows Virtual MachineNetQueue and Networking PerformanceEnable NetQueue on a Host181Disable NetQueue on a Host18117918018111 vSphere Network I/O Control 183About vSphere Network I/O Control Version 3183Enable Network I/O Control on a vSphere Distributed SwitchBandwidth Allocation for System Traffic184184Bandwidth Allocation Parameters for System Traffic185Example Bandwidth Reservation for System TrafficConfigure Bandwidth Allocation for System TrafficBandwidth Allocation for Virtual Machine Traffic186186187About Allocating Bandwidth for Virtual Machines188Bandwidth Allocation Parameters for Virtual Machine TrafficAdmission Control for Virtual Machine BandwidthCreate a Network Resource Pool190190191Add a Distributed Port Group to a Network Resource PoolConfigure Bandwidth Allocation for a Virtual Machine192193Configure Bandwidth Allocation on Multiple Virtual MachinesChange the Quota of a Network Resource Pool194195Remove a Distributed Port Group from a Network Resource PoolDelete a Network Resource Pool196196Move a Physical Adapter Out the Scope of Network I/O Control19712 MAC Address Management 198MAC Address Assignment from vCenter ServerVMware OUI Allocation198199Prefix-Based MAC Address Allocation199Range-Based MAC Address Allocation200Assigning a MAC Address200Change to or Adjust Range- or Prefixed-Based AllocationsSet or Change Allocation Type201MAC Address Generation on ESXi Hosts202Setting a Static MAC Address to a Virtual MachineVMware OUI in Static MAC AddressesAssign a Static MAC AddressVMware, Inc.2002032032048

vSphere NetworkingAssign a Static MAC Address in the Virtual Machine Configuration File20413 Configuring vSphere for IPv6 206vSphere IPv6 ConnectivityDeploying vSphere on IPv6206208Enable IPv6 on a vSphere Installation208Enable IPv6 on an Upgraded vSphere EnvironmentEnable or Disable IPv6 Support on a HostSet Up IPv6 on an ESXi Host209211211Set Up IPv6 on vCenter Server21214 Monitoring Network Connection and Traffic 214Capture Network Packets by Using the PacketCapture Utility214Capturing and Tracing Network Packets by Using the pktcap-uw Utilitypktcap-uw Command Syntax for Capturing Packetspktcap-uw Command Syntax for Tracing Packetspktcap-uw Options for Output Control216219219pktcap-uw Options for Filtering Packets220Capturing Packets by Using the pktcap-uw Utility222Capture Packets That Arrive at a Physical Adapter222Capture Packets for a VMXNET3 Virtual Machine AdapterCapture Packets for a VMkernel AdapterCapture Dropped Packets226229Using the Capture Points of the pktcap-uw UtilityTrace Packets by Using the pktcap-uw Utility230232Configure the NetFlow Settings of a vSphere Distributed Switch233234Port Mirroring Interoperability234Create a Port Mirroring Session236Select Port Mirroring Session Type237Specify Port Mirroring Name and Session DetailsSelect Port Mirroring Sources237238Select Port Mirroring Destinations and Verify SettingsView Port Mirroring Session Details239239Edit Port Mirroring Session Details, Sources, and DestinationsvSphere Distributed Switch Health Check240241Enable or Disable vSphere Distributed Switch Health CheckView vSphere Distributed Switch Health StatusSwitch Discovery Protocol224228Capture Packets at DVFilter LevelWorking With Port Mirroring242242243Enable Cisco Discovery Protocol on a vSphere Distributed SwitchVMware, Inc.2162439

vSphere NetworkingEnable Link Layer Discovery Protocol on a vSphere Distributed SwitchView Switch Information244245View the Topology Diagram of an NSX Virtual Distributed Switch24515 Configuring Protocol Profiles for Virtual Machine Networking 246Add a Network Protocol Profile247Select the Network Protocol Profile Name and Network249Specify Network Protocol Profile IPv4 Configuration249Specify Network Protocol Profile IPv6 Configuration250Specify Network Protocol Profile DNS and Other ConfigurationComplete the Network Protocol Profile Creation250251Associate a Port Group with a Network Protocol Profile251Use a Network Protocol Profile to Allocate IP Addresses to a Virtual Machine or vApp25216 Multicast Filtering 254Multicast Filtering Modes254Enable Multicast Snooping on a vSphere Distributed SwitchEdit the Query Time Interval for Multicast Snooping255256Edit the Number of Source IP Addresses for IGMP and MLD25617 Stateless Network Deployment 25818 Networking Best Practices 26019 Troubleshooting NetworkingGuidelines for TroubleshootingIdentifying Symptoms262263263Defining the Problem SpaceTesting Possible SolutionsTroubleshooting with Logs263264265Troubleshooting MAC Address Allocation266Duplicate MAC Addresses of Virtual Machines on the Same Network266Attempt to Power On a Virtual Machine Fails Due to a MAC Address ConflictUnable to Remove a Host from a vSphere Distributed Switch270Hosts on a vSphere Distributed Switch Lose Connectivity to vCenter ServerAlarm for Loss of Network Redundancy on a Host269271272Virtual Machines Lose Connectivity After Changing the Uplink Failover Order of a DistributedPort Group 273Unable to Add a Physical Adapter to a vSphere Distributed SwitchTroubleshooting SR-IOV Enabled Workloads274275SR-IOV Enabled Workload Cannot Communicate After You Change Its MAC AddressVMware, Inc.27510

vSphere NetworkingA Virtual Machine that Runs a VPN Client Causes Denial of Service for Virtual Machines on theHost or Across a vSphere HA Cluster 276Low Throughput for UDP Workloads on Windows Virtual Machines279Virtual Machines on the Same Distributed Port Group and on Different Hosts CannotCommunicate with Each Other 281Attempt to Power On a Migrated vApp Fails Because the Associated Protocol Profile Is Missing282Networking Configuration Operation Is Rolled Back and a Host Is Disconnected from vCenterServer 283VMware, Inc.11

About vSphere Networking vSphere Networking provides information about configuring networking for VMware vSphere ,including how to create vSphere distributed switches and vSphere standard switches.vSphere Networking also provides information on monitoring networks, managing networkresources, and networking best practices.At VMware, we value inclusion. To foster this principle within our customer, partner, and internalcommunity, we have updated this guide to remove instances of non-inclusive language.Intended AudienceThe information presented is written for experienced Windows or Linux system administratorswho are familiar with network configuration and virtual machine technology.VMware, Inc.12

Updated InformationThis vSphere Networking guide is updated with each release of the product or when necessary.This table provides the update history of the vSphere Networking guide.RevisionDescription11 DEC 2020Minor corrections.NOV 5 2020The information on changing the configuration of the TCP/IP stack on a host incorrectly stated thatchanging the DNS and default gateway configuration of custom TCP/IP stacks was not supported.Multiple DNS and gateways configurations are supported when using separate TCP/IP stacks. SeeChange the Configuration of a TCP/IP Stack on a Host.25 AUG 2020Added support for PVRDMA namespaces. See PVRDMA Support.04 AUG 2020At VMware, we value inclusion. To foster this principle within our customer, partner, and internalcommunity, we are replacing some of the terminology in our content. We have updated this guide toremove instances of non-inclusive language.02 APR 2020Initial release.VMware, Inc.13

Introduction to vSphereNetworking1Get to know the basic concepts of vSphere networking and how to set up and configure anetwork in a vSphere environment.This chapter includes the following topics:nNetworking Concepts OverviewnNetwork Services in ESXinVMware ESXi Dump Collector SupportNetworking Concepts OverviewA few concepts are essential for a thorough understanding of virtual networking. If you are newto vSphere, it is helpful to review these concepts.Physical NetworkA network of physical machines that are connected so that they can send data to and receivedata from each other. VMware ESXi runs on a physical machine.Virtual NetworkA network of virtual machines running on a physical machine that are connected logically toeach other so that they can send data to and receive data from each other. Virtual machinescan be connected to the virtual networks that you create when you add a network.Opaque NetworkAn opaque network is a network created and managed by a separate entity outside of vSphere. For example, logical networks that are created and managed by VMware NSXappear in vCenter Server as opaque networks of the type nsx.LogicalSwitch. You can choosean opaque network as the backing for a VM network adapter. To manage an opaquenetwork, use the management tools associated with the opaque network, such as VMware NSX Manager or the VMware NSX API management tools.Physical Ethernet SwitchVMware, Inc.14

vSphere NetworkingA physical ethernet switch manages network traffic between machines on the physicalnetwork. A switch has multiple ports, each of which can be connected to a single machine oranother switch on the network. Each port can be configured to behave in certain waysdepending on the needs of the machine connected to it. The switch learns which hosts areconnected to which of its ports and uses that information to forward traffic to the correctphysical machines. Switches are the core of a physical network. Multiple switches can beconnected together to form larger networks.vSphere Standard SwitchIt works much like a physical Ethernet switch. It detects which virtual machines are logicallyconnected to each of its virtual ports and uses that information to forward traffic to thecorrect virtu

Migrate Virtual Machine Networking to the vSphere Distributed Switch 43 Use a Host as a Template to Create a Uniform Networking Configuration on a vSphere Distributed Switch 44 Remove Hosts from a vSphere Distributed Switch 46 Managing Networking on Host Proxy Switches 47 VMware, Inc. 3

Related Documents:

o VMware vSphere Web Client o DR to the Cloud services Optional Features: o VMware vSphereSDKs o vSphere Virtual Machine File System (VMFS) o vSphere Virtual SMP o vSphere vMotion o vSphere Storage vMotion o vSphere High Availability (HA) o vSphere Distributed Resource Scheduler (DRS) o vSphere Storage DRS o vSphere Fault Tolerance o vSphere .

1 VMware vSphere and the vSphere Web Services SDK 15 . Introduction to vSphere Clusters 219 VMware DRS 219 VMware HA 220 VMware HCI 220 Creating and Configuring Clusters 221 . 17 vSphere Performance 263 vSphere Performance Data Collection 263 PerformanceManager Objects and Methods 265

1 VMware vSphere and the vSphere Web Services SDK 15 . Introduction to vSphere Clusters 220 VMware DRS 220 VMware HA 221 VMware HCI 221 Creating and Configuring Clusters 222 . 17 vSphere Performance 264 vSphere Performance Data Collection 264 PerformanceManager Objects and Methods 266

15. Create and manage a vSphere cluster that is enabled with VMware vSphere High Availability and VMware vSphere 16. Distributed Resource Scheduler 17. Discuss solutions for managing the vSphere life cycle 18. Use VMware vSphere Lifecycle Manager to perform upgrades to ESXi hosts and virtual machines 備註事項 1.

15. Create and manage a vSphere cluster that is enabled with VMware vSphere High Availability and VMware vSphere 16. Distributed Resource Scheduler 17. Discuss solutions for managing the vSphere life cycle 18. Use VMware vSphere Lifecycle Manager to perform upgrades to ESXi hosts and virtual machines 備註事項 1.

CHEAT SHEET 1 / 9 VMware vSphere 4 What is VMware vSphere 4? VMware vSphere 4, the industry’s rst cloud OS Internal Cloud External Cloud VMware vCenter Suite VMware vSphere 4 Application Services VMotion Storage VMotion HA Fault Tolerance Data Recovery vShield Zones VM afe DRS Hot Add Availability Security Scalablity ESX ESXi DRS .

2.7 VMware vCenter Support Assistant 22 2.8 VMware Continuent 23 2.9 VMware Hyper-Converged Infrastructure Kits 23 2.10 VMware Site Recovery Manager 23 2.11 VMware NSX 24 2.12 VMware NSX Advanced Load Balancer 28 2.13 VMware SD-WAN by VeloCloud 29 2.14 VMware Edge Network Intelligence 30 2.15 VMware NSX Firewall 30

American Revolution This question is based on the accompanying document (1-6). The question is designed to test your ability to work with historical documents. Some of the documents have been edited for the purposes of the question. As you analyze the documents, take into account the source of each document and any point of view that may be presented in the document. HISTORICAL CONTEXT: passed .