Specifications

Table Of Contents
VMware, Inc. 195
Chapter 7 Networking
! To!allow!only!passive!mode!FTP!over!the!NAT!device,!deselect!the!Active!FTP!
check!box.
! You!can!change!the!number!of!minutes!to!keep!the!UDP!mapping!for!the!NAT!in!
the!UDP!timeout!field.
! If!you!change!the!OUI!(Organizationally!Unique!Identifier)!portion!of!the!MAC!
address!for!the!virtual!machine!and!subsequently!cannot!use!NAT!with!the!virtual!
machine,!you!should!check!the!Allow!Any!OUI!check!box.
! In!the!Config!port!field,!you!can!specify!a!port!that!can!be!used!to!access!status!
information!about!the!NAT.!This!option!is!used!for!troubleshooting!purposes!with!
VMware!technical!support!only.
! You!can!change!NetBIOS!timeout!and!retry!settings.
When!you!have!made!all!the!networking!changes!you!want,!click!OK.!
Linux Hosts
Use!the!NAT!configuration!file!on!the!host!to!configure!the!NAT!device.!This!file!is!
/etc/vmware/vmnet8/nat/nat.conf.
The!configuration!file!is!divided!into!sections.!Each!section!configures!a!part!of!the!
NAT!device.!Text!surrounded!by!square!brackets!!such!as![host]!!marks!the!
beginning!of!a!section.!In!each
!section!is!a!configuration!parameter!that!can!be!set.!The!
configuration!parameters!take!the!form!ip = 192.168.27.1/24.
For!an!example!of!a!NAT!configuration!file,!see!“Sample!Linux!vmnetnat.conf!File!on!
page 200.!The!configuration!file!variables!are!described!below.
The [host] Section
ip!
The!IP!address!that!the!NAT!device!should!use.!It!can!optionally!be!followed!by!a!slash!
and!the!number!of!bits!in!the!subnet.
netmask
The!subnet!mask!to!use!for!the!NAT.!DHCP!addresses!are!allocated!from!this!range!of!
addresses.
configport
A!port!that!can!be!used!to!access
!status!information!about!the!NAT.
device
The!VMnet!device!to!use.!Linux!devices!are!of!the!format!/dev/vmnet<x>.!VMnet8!is!the!
default!NAT!device.