VMware Workstation 7 Instrukcja Użytkownika Strona 317

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 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.
Przeglądanie stron 316
1 2 ... 312 313 314 315 316 317 318 319 320 321 322 ... 511 512

Komentarze do niniejszej Instrukcji

Brak uwag