Workstation User’s Manual
314 VMware, Inc.
3 (Optional)ToseetheIPaddressthatahost‐onlynetworkisusing:
OnWindowshosts,openacommandpromptandrunthefollowing
command:
ipconfig /all
OnLinuxhosts,openaterminalandrunthefollowingcommand:
ifconfig
Set Up Routing Between Two Host-Only Networks
Ifyouaresettingupacomplextestnetworkthatusesvirtualmachines,youmightwant
tohavetwoindependenthost‐onlynetworkswitharouterbetweenthem.
Useoneofthefollowingmethods.Inbothcases,youneedtwohost‐onlyinterfaces.:
Theroutersoftwarerunsonthehostcomputer.
Theroutersoftwarerunsonitsownvirtualmachine.
Theexamplesdescribedhereoutlinethesimplestcase,withonevirtualmachineon
eachofthehost‐onlynetworks.Formorecomplexconfigurations,youcanaddmore
virtualmachinesandhost‐onlynetworks,asappropriate.
To set up routing between two host-only networks
1Setuptheconnectiontothefirst(def
ault)host‐onlyinterface,asdescribedin“Set
UpUsingConfiguration1or2”onpage 312.
2Setuptheconnectiontothesecond(VMnet2)host‐onlyinterface,asdescribedin
“SetUpUsingConfiguration1or2”onpage 312.
3 (Optional)Toruntheroutersoftwareonavirtualmachine,setupathirdvi
rtual
machinewithconnectionsto
thetwohostonlyinterfaces,asdescribedin“SetUp
UsingConfiguration3”onpage 313.
Toruntheroutersoftwareonyourhostcomputer,skipthisstep.
4StoptheVMnetDHCPserverservice:
OnaWindowshost,chooseEdit>VirtualNetworkEditor>DHCP,selectthe
serviceandclickStop.
OnaLinuxhost,openaterminalandusethefollowingcommandtostopthe
vmnet-dhcpdservice:
killall -TERM vmnet-dhcpd
5Installguestoperatingsystemsineachofthevirtualmachines.
Comentarios a estos manuales