2.0

Table Of Contents
VMware, Inc. 253
Chapter 11 Configuring a Virtual Network
The [host] Section
ip
TheIPaddressthattheNATdeviceshoulduse.Itcanoptionallybefollowedbyaslash
andthenumberofbitsinthesubnet.
netmask
ThesubnetmasktousefortheNAT.DHCPaddressesareallocatedfromthisrangeof
addresses.
configport
Aportthatcanbeusedtoaccess
statusinformationabouttheNAT.
device
TheVMnetdevicetouse.Linuxdevicesareoftheformat/dev/vmnet<x>.VMnet8is
thedefaultNATdevice.
activeFTP
AflagthatindicatesifactiveFTPistobeallowed.ActiveFTPallowsincoming
connectionstobeopenedbytheremoteFTPserver.Turningthisoff
meansthatonly
passivemodeFTPworks.Settheflagto0toturnactiveFTPoff.
The [udp] Section
timeout
ThenumberofminutestokeeptheUDPmappingfortheNAT.
The [incomingtcp] Section
UsethissectiontoconfigureTCPportforwardingforNAT.Youcanassignaport
numbertoanIPaddressandportnumberonavirtualmachine.
Thefollowinglineshowstheformatusedinthissection.
8887 = 192.168.27.128:21
Thisexamplecreatesamappingfromport8887onthehosttotheIPaddress
192.168.27.128andport21.Whenthismappingissetandanexternalmachineconnects
tothehostatport8887,thenetworkpacketsareautomaticallyforwardedtoport21(the
standardportforFTP)onthe
virtualmachinewithIPaddress192.168.27.128.