VMware Workstation 7 Bedienungsanleitung Seite 321

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 512
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 320
1 2 ... 316 317 318 319 320 321 322 323 324 325 326 ... 511 512

Kommentare zu diesen Handbüchern

Keine Kommentare