2.0

Table Of Contents
VMware, Inc. 213
Chapter 11 Configuring a Virtual Network
OnaLinuxhost,whenyouinstallandconfigureVMwareServer,youcanchooseto
havebridged,hostonly,andNATnetworkingavailabletoyourvirtualmachinesby
configuringeachoptionwhenyourunvmware-config.pl.Youcanlaterreconfigure
networkingtoadd,delete,ormodifyvirtualnetworksbyrerunning
vmware-config.pl.
Components of the Virtual Network
Thefollowingsectionsdescribethedevicesthatmakeupavirtualnetwork.
Virtual Network Switch
Thevirtualswitchworkslikeaphysicalswitch,butitisusedbyvirtualmachines.Like
aphysicalswitch,avirtualswitchletsyouconnectothernetworkingcomponents
together.VirtualswitchesarecreatedasneededbyVMwareServer,uptoatotalof10
virtualswitchesonWindowsand255on
Linux.Virtualswitchescanbeusedin
bridged,hostonly,andNATnetworkconfigurations.
Youcanconnectoneormorevirtualmachinestoaswitch.OnaWindowshost,youcan
connectanunlimitednumberofportstoavirtualswitch.OnaLinuxhost,youcan
connectupto32
ports.
Afewnetworkshavedefaultnamesandswitchesassociatedwiththem:
TheBridgednetworkusesVMnet0,asdescribedin“BridgedNetworking”on
page 215.
TheHostOnlynetworkusesVMnet1,asdescribedin“HostOnlyNetworking”on
page 218.
TheNATnetworkusesVMnet8,asdescribedin“NetworkAddressTranslation
(NAT)”onpage 216.
TheotheravailableswitchesareVMnet2,VMnet3,VMnet4,andsoon.
TofindoutwhatnetworksareconfiguredontheVMwareServerhost,selectthehostin
VI WebAccess.TheNetworkssectionofthehost’sSummarytab
liststhename,VMnet
number,andnetworktypeforeachvirtualnetwork.
Tofindoutwhichnetworksavirtualmachineisusing,selectthevirtualmachine.The
networknameandtypearedisplayedintheHardwaresectionoftheSummarytab.
Toviewormodifynetworkproperties,clicktheNetworkAdapteryou
wanttomodify
andselectEdit.Foradditionalinformation,see“EditingaVirtualNetworkAdapter
onpage 224.Toaddanotheradapter,see“Ad d i n g aNetworkAdaptertoaVirtual
Machine”onpage 223.