VMware Workstation 7 Manuel d'utilisateur Page 321

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 512
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 320
VMware, Inc. 321
Chapter 15 Advanced Virtual Networking
Configuring NAT on a Linux Host
UsethedefaultNATconfigurationfileonthehosttoconfiguretheNATdevice.
This fileislocatedin/etc/vmware/vmnet8/nat/nat.conf.
ForanexampleofaNATconfigurationfile,see“SampleLinuxnat.confFile”on
page 327.
Contents of the NAT Configuration File
TheNATconfigurationfileisinthefollowinglocations:
OnaWindowshost:
C:\Documents and Settings\All Users\Application Data\VMware\vmnetnat.conf
Ifyoueditthisfileandthenusethevirtualnetworkeditor(Edit>VirtualNetwork
Editor)youreditsmightbelost.
OnaLinuxhost:
/etc/vmware/vmnet8/nat/nat.conf
TheNATconfigurationfileisdividedintosections.Eachsectionconfiguresapartofthe
NATdevice.Textsurroundedbysquarebrackets,suchas[dns],marksthebeginning
ofasection.Ineachsectionisaconfigurationparameterthatcanbeset.
The c onfigurationparameterstaketheformip = 192.168.27.1/24.TheNAT
configurationfilecontain
sthefo
llowingsections.
Table 15-4. Parameters to Map Virtual Machine Source and Destination Ports
Parameter Description
autodetect = <n> TheautodetectsettingdetermineswhethertheVMwareNATdevice
automaticallyattemp tstomapvirtualmachinesourceports below
1024toNATsourceportsbelow1024.Asettingof1meanstrue.A
settingof0meansfalse.OnaWindowshost,thedefaultis1(true).
OnaLinuxhost,th
edefaultis0(f
alse).
port = <n> Theportsettingspecifiesadestinationport(where<n>istheporton
theserverthatacceptstheconnectionfromtheclient).Whenevera
virtualmachineconnectstothespecifiedportonanyserver,theNAT
deviceattemptstomaketheconnectionfromasourceportb
elow
1024
.Youcanincludeoneormoreportsettingsinthe
[privilegedUDP]or[privilegedTCP]sectionorinbothsections,
asrequiredfortheconnectionsyouneedtomake.Entereachport
settingonaseparateline.
Vue de la page 320
1 2 ... 316 317 318 319 320 321 322 323 324 325 326 ... 511 512

Commentaires sur ces manuels

Pas de commentaire