Book Image

VMware vSphere 5.5 Cookbook

By : Abhilash G B
Book Image

VMware vSphere 5.5 Cookbook

By: Abhilash G B

Overview of this book

Table of Contents (22 chapters)
VMware vSphere 5.5 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Mapping a virtual machine's vNIC to a different port group


A virtual machine connects to the network via its virtual network adapter. The virtual network adapter of a VM is referred to as a vNIC. The vNIC connects to a port group on a vSwitch (standard/distributed). A vNIC cannot be directly connected to a vSwitch; it can only be mapped to any of the port groups present on the vSwitch. A port group is a set of ports on a vSwitch grouped together under a common configuration, for example, a VLAN.

If there is a need, we can reconfigure the vNIC to connect to another existing port group, or to a newly created port group. To learn more about creating and managing port groups, read Chapter 6, Configuring vSphere Networking.

In this recipe, we will learn how to reconfigure a virtual machine to map its vNIC to different port groups.

How to do it...

The following procedure guides you through the steps required to map a VM's vNIC to different port groups:

  1. Navigate to the VM and Templates inventory view...