VMware Workstation 7 Uživatelský manuál Strana 317

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 512
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 316
VMware, Inc. 317
Chapter 15 Advanced Virtual Networking
ThehostcomputerhasahostvirtualadapterontheNATnetworkidenticaltothehost
virtualadapteronthehostonlynetwork.Thisadapterallowsthehostandthevirtual
machinestocommunicatewitheachotherforsuchpurposesasfilesharing.TheNAT
deviceneverforwardstrafficfromthehostvirtualadapter
.
How the NAT Device Uses the VMnet8 Virtual Switch
TheNATdeviceisconnectedtotheVMnet8virtualswitch.Virtualmachinesconnected
totheNATnetworkalsousetheVMnet8virtualswitch.
TheNATdevicewaitsforpacketscomingfromvirtualmachinesontheVMnet8virtual
network.Whenapacketarrives,theNATdevicetranslatestheaddressofthevirtual
mach
inetotheaddressofthehostbeforeforwarding
thepackettotheexternal
network.Whendataarrivesfromtheexternalnetworkforthevirtualmachineonthe
privatenetwork,theNATdevicereceivesthedata,replacesthenetworkaddresswith
theaddressofthevirtualmachineandforwardsthedatatothevi
rtualma
chineonthe
virtualnetwork.Thistranslationoccursautomaticallyandrequiresminimal
configurationontheguestandthehost.
DHCP on the NAT Network
Tomakenetworkingconfigurationeasy,aDHCPserverisinstalledwhenyouinstall
Workstation.VirtualmachinesrunningonthenetworkwiththeNATdevicecansend
outDHCPrequeststodynamicallyobtaintheirIPaddresses.
TheDHCPserverontheNATnetwork,whichisalsousedinhostonlynetworking
configurations,dy
namicallyallocatesIPaddressesintherangeof<net>.128through
<net>.254,where<net>isthenetworknumberassignedtoyourNATnetwork.
WorkstationalwaysusesaClassCaddressforNATnetworks.IPaddresses<net>.3
through<net>.127canbeusedforstaticIPaddresses.IPaddress<net>.1isreser
ved
forthe hostadapterand<net>.2isreservedfortheNATdevice.Formoreinformation,
see“DHCPConventionsforAssigningIPAddresses”onpage 305.
InadditiontotheIPaddress,theDHCPserverontheNATnetworksendsout
configurationinformationthatenablesthevirtualmachinetooperate.Thisinformation
in
clud
esthedefaultgatewayandtheDNSserver.IntheDHCPresponse,theNAT
deviceinstructsthevirtualmachinetousetheIPaddress<net>.2asthedefault
gateway andDNSserver.ThisroutingcausesallIPpacketsdestinedfortheexternal
networkandDNSrequeststobeforwardedtoth
eNATde
vice.
Zobrazit stránku 316
1 2 ... 312 313 314 315 316 317 318 319 320 321 322 ... 511 512

Komentáře k této Příručce

Žádné komentáře