100%(1)1 out of 1 people found this document helpful
This preview shows page 151 - 153 out of 198 pages.
Timeout (sec)Select the number of seconds to keep trying if the NATdevice cannot connect to the DNS server.RetriesSelect the number of retries.NetBios SettingsSelect NBNS (NetBIOS Name Service) and NBDS (NetBIOS Datagram Service)timeouts and retry settings.Chapter 5 Configuring Network ConnectionsVMware, Inc. 151
Editing the NAT Configuration FileIf you are an advanced user, you can edit the NAT configuration file to modify NAT settings.The location of the NAT configuration file depends on the host operating system.Table 5-3. NAT Configuration File LocationHost Operating SystemNAT Configuration File LocationWindows XPC:\Documents and Settings\All Users\ApplicationData\VMware\vmnetnat.confWindows Vista or Windows 7C:\ProgramData\VMware\vmnetnat.confLinux/etc/vmware/vmnet8/nat/nat.confThe NAT configuration file is divided into sections, and each section configures a part of the NAT device. Textsurrounded by square brackets, such as [dns], marks the beginning of a section. Each section contains one ormore configuration parameters. The configuration parameters take the form ip = 192.168.27.1/24.On a Windows host system, you can change the NAT configuration by using the virtual network editor. Youdo not need to edit the NAT configuration file. On a Linux host system, you must edit the NAT configurationfile to modify the NAT configuration.IMPORTANTMake a backup copy of the NAT configuration file. If you edit the NAT configuration file and thenuse the virtual network editor, your edits might be lost.NAT Configuration File SectionsThe NAT configuration file is divided into sections. The parameters in each section configure a part of the NATdevice.[host] SectionThe [host] section includes parameters to configure the NAT connection.Table 5-4. [host] Section ParametersParameterDescriptionipThe IP address that the NAT device should use. It can be followed by a slash and thenumber of bits in the subnet.netmaskThe subnet mask to use for the NAT network. DHCP addresses are allocated from thisrange of addresses.configportA port that can be used to access status information about the NAT device.deviceThe VMnet device to use. Windows devices are of the form vmnetxwhere xis thenumber of the VMnet. Linux devices are of the form /dev/vmnetx.activeFTPFlag to indicate if active FTP is to be allowed. Active FTP allows incoming connectionsto be opened by the remote FTP server. Turning this off means that only passive modeFTP works. Set this flag to 0to turn it off.[udp] SectionThe [udp] section contains the timeoutparameter, which specifies the number of seconds to keep the UDPmapping for the NAT network.[dns] SectionThe [dns] section is for Windows hosts only. Linux hosts do not use this section.