6.0

Table Of Contents
VMware, Inc. 113
9
ThevSphereCLInetworkingcommandsallowyoutomanagethevSpherenetworkservices.Youcanconnect
virtualmachinestothephysicalnetworkandtoeachotherandconfigurevSpherestandardswitches.Limited
configurationofvSpheredistributedswitchesisalsosupported.YoucanalsosetupyourvSphere
environmenttoworkwith
externalnetworkssuchasSNMPorNTP.
Thischapterincludesthefollowingtopics:
“IntroductiontovSphereNetworking”onpage 113
“RetrievingBasicNetworkingInformation”onpage 115
“NetworkTroubleshooting”onpage 116
“SettingUpvSphereNetworkingwithvSphereStandardSwitches”onpage 117
“SettingUpvSphereNetworkingwithvSphereDistributedSwitch”onpage 128
“ManagingStandardNetworkingServicesinthevSphereEnvironment”onpage 128
“SettingtheDNSConfiguration”onpage 128
“A d d i n g andStartinganNTPServeronpage 131
“ManagingtheIPGateway”onpage 131
“SettingUpIPsec”onpage 132
“ManagingtheESXiFirewall”onpage 135
“MonitoringVXLAN”onpage 136
Introduction to vSphere Networking
AtthecoreofvSphereNetworkingarevirtualswitches.vSpheresupportsstandardswitches(VSS)and
distributedswitches(VDS).Eachvirtualswitchhasapresetnumberofportsandoneormoreportgroups.
Virtualswitchesallowyourvirtualmachinestoconnecttoeachotherandtoconnecttotheoutsideworld.
Whentwoormorevirtualmachinesareconnectedtothesamevirtualswitch,andthosevirtualmachines
arealsoonthesameportgrouporVLAN,networktrafficbetweenthemisroutedlocally.
Whenvirtualmachinesareconnectedtoavirtualswitchthatisconnectedtoanuplinkadapter,each
virtualmachinecanaccesstheexternalnetworkthroughthatuplink.Theadaptercanbeanuplink
connectedtoastandardswitchoradistributeduplinkportconnectedtoadistributedswitch.
Virtualswitchesallow
yourESXihosttomigratevirtualmachineswithVMwarevMotionandtouseIPstorage
throughVMkernelnetworkinterfaces.
UsingvMotion,youcanmigraterunningvirtualmachineswithnodowntime.YoucanenablevMotion
with
vicfg-vmknic --enable-vmotion.YoucannotenablevMotionwithESXCLI.
Managing vSphere Networking
9