Setting Up vSphere
Networking with vSphere Standard Switches
You can use ESXCLI
and
vicfg-vswitch
to set up
the vSphere networking.
You can set up your virtual
network by performing a set of tasks.
- Create or manipulate virtual switches by usingesxcli network vswitchorvicfg-vswitch. By default, each host has one virtual switch,vSwitch0. You can create additional virtual switches or manage existing switches. See Setting Up Virtual Switches and Associating a Switch with a Network Interface.
- Make changes to the uplink adapter by usingesxcli network vswitch standard uplinkorvicfg-nics. See Managing Uplink Adapters.
- Useesxcli network vswitch standard portgrouporvicfg-vswitchto add port groups to the virtual switch. See Managing Port Groups with vicfg-vswitch.
- Useesxcli network vswitch standard portgroup setorvicfg-vswitchto establish VLANs by associating port groups with VLAN IDs. See Setting the Port Group VLAN ID with vicfg-vswitch.
- Useesxcli network ip interfaceorvicfg-vmknicto configure the VMkernel network interfaces. See Adding and Modifying VMkernel Network Interfaces.