When I would like power off and power on my vmware OS
I see Internal NAT ip changed every once
How can I disable this problem?
for example my internal ip was : 192.168.189.160
And after power off and power on my server it goes to 192.168.189.164
and I would like this be stable on 192.168.189.160
Option A: assign a fixed IP to each guest
Option B: set a higher Lease-Time.
This is a parameter that tells the VMware DHCP service how long it should reserve an IP to a special VM.
See the file : C:\ProgramData\VMware\vmnetdhcp.conf
Here is the relevant part ....
###################################
#
# Configuration file for VMware port of ISC 2.0 release running on
# Windows.
#
# This file is generated by the VMware installation procedure; it
# is edited each time you add or delete a VMware host-only network
# adapter.
#
# We set domain-name-servers to make some clients happy
# (dhclient as configued in SuSE, TurboLinux, etc.).
# We also supply a domain name to make pump (Red Hat 6.x) happy.
#
allow unknown-clients;
default-lease-time 1800; # default is 30 minutes
max-lease-time 7200; # default is 2 hours
And about plan A ?
Setting fixed IP addresses is done within the guest OS. That's not different from configuring physical systems.
Another option might be to create DHCP reservations, see Re: How to keep the same IP addr over time
Please note that by default, fixed IP addresses should be in the range 192.168.xxx.3 - 192.168.xxx.127.
The Range 192.168..xxx.128 - 192.168.xxx.254 is used for DHCP.
André