Discussion:
Newbie - Using NAT on guest OS, but can resolve IP addresses [license server issue]
(too old to reply)
Todd Sandor
2004-10-27 13:57:05 UTC
Permalink
[Using Version: 4.5.2 build-8848]
I'm a new vmware (have an evaluation version - need this to work or vmware
is of no use to me) using and have created a windows2000 guest OS using NAT.
I'm having trouble getting software that uses a license server to work on
this guest OS - in trouble-shooting I found I can ping the license server if
I use the actual IP address, but if I use the hostname I get "Unknown host".
I changed my environment variable LM_LICENSE_FILE to use the IP address, but
the license server still can not be contacted - can not get the required
license [? can maybe contact the license server, but maybe it can not
response correctly?]. From this guest OS I can successfully ping a
different hostname that is on the same subnet as the license server - other
network connectivity is OK [can run other applications that use other
resources on the main network OK, internet access is OK, etc.].

I'm able to use the license server successfully from the main workstation
[where vmware is installed] which is also running windows 2000.

Questions:
- Anyone have any idea what the problem could be?
- Is it possible to have the IP address of the guest use DHCP to obtain an
IP address from the same subnet as the main OS?
NM
2004-10-27 14:25:24 UTC
Permalink
Post by Todd Sandor
[Using Version: 4.5.2 build-8848]
I'm a new vmware (have an evaluation version - need this to work or
vmware is of no use to me) using and have created a windows2000 guest
OS using NAT. I'm having trouble getting software that uses a license
server to work on this guest OS - in trouble-shooting I found I can
ping the license server if I use the actual IP address, but if I use
the hostname I get "Unknown host". I changed my environment variable
LM_LICENSE_FILE to use the IP address, but the license server still
can not be contacted - can not get the required license [? can maybe
contact the license server, but maybe it can not response
correctly?]. From this guest OS I can successfully ping a different
hostname that is on the same subnet as the license server - other
network connectivity is OK [can run other applications that use other
resources on the main network OK, internet access is OK, etc.].
I'm able to use the license server successfully from the main
workstation [where vmware is installed] which is also running windows
2000.
- Anyone have any idea what the problem could be?
- Is it possible to have the IP address of the guest use DHCP to
obtain an IP address from the same subnet as the main OS?
Try using Bridge networking.
Todd Sandor
2004-10-27 20:39:58 UTC
Permalink
Post by NM
Post by Todd Sandor
[Using Version: 4.5.2 build-8848]
I'm a new vmware (have an evaluation version - need this to work or
vmware is of no use to me) using and have created a windows2000 guest
OS using NAT. I'm having trouble getting software that uses a license
server to work on this guest OS - in trouble-shooting I found I can
ping the license server if I use the actual IP address, but if I use
the hostname I get "Unknown host". I changed my environment variable
LM_LICENSE_FILE to use the IP address, but the license server still
can not be contacted - can not get the required license [? can maybe
contact the license server, but maybe it can not response
correctly?]. From this guest OS I can successfully ping a different
hostname that is on the same subnet as the license server - other
network connectivity is OK [can run other applications that use other
resources on the main network OK, internet access is OK, etc.].
I'm able to use the license server successfully from the main
workstation [where vmware is installed] which is also running windows
2000.
- Anyone have any idea what the problem could be?
- Is it possible to have the IP address of the guest use DHCP to
obtain an IP address from the same subnet as the main OS?
Try using Bridge networking.
Tried that - VM->Settings, set NIC1 to Bridge and restarted - when it came
seems to use an "autoconfigured" IP address, which can't communicate with
our main network [192.168.0.x/24 subnet].

C:\Documents and Settings\tsandor>ipconfig

Windows 2000 IP Configuration

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :

Autoconfiguration IP Address. . . : 169.254.119.12

Subnet Mask . . . . . . . . . . . : 255.255.0.0

Default Gateway . . . . . . . . . :

C:\Documents and Settings\tsandor>

'

--

When I tried "ipconfig -release" got back

"All adapters bound to DHCP do not have DHCP addresses. The addresses were
automatically configured and can not be released."

ipconfig -renew

and the DHCP server couldn't be reached [obvious why].

I snooped around different configuration possibilities [e.g. "Edit->Virtual
Network Settings", vmware virtual adaptors on the host OS, etc.] but nothing
came to be as being the obvious thing to change.

Any other suggestions? ...[would assume this is a finger problem?]...
NM
2004-10-28 14:40:10 UTC
Permalink
<snip>
Post by Todd Sandor
Post by NM
Post by Todd Sandor
- Anyone have any idea what the problem could be?
- Is it possible to have the IP address of the guest use DHCP to
obtain an IP address from the same subnet as the main OS?
Try using Bridge networking.
Tried that - VM->Settings, set NIC1 to Bridge and restarted - when it
came seems to use an "autoconfigured" IP address, which can't
communicate with our main network [192.168.0.x/24 subnet].
C:\Documents and Settings\tsandor>ipconfig
Windows 2000 IP Configuration
Autoconfiguration IP Address. . . : 169.254.119.12
Subnet Mask . . . . . . . . . . . : 255.255.0.0
C:\Documents and Settings\tsandor>
'
Did you change the settings of the vmware virtual nics in the host? How
many nics does it have? Be default, bridge will automatically select a nic.
Mine used to bind to my Shiva virtual adapters until I excluded them.
RobD
2004-10-28 08:15:36 UTC
Permalink
How have you configured DNS? Your problem sounds like DNS has not been
configured in the VM and vmnet8 (NAT). The simplest way to configure DNS so
it is available for all VMs is to setup NAT with your network's dns server
ip address(es).

Go to "Edit->Virtual Network Settings...->NAT->Edit...->DNS..." and enter
the ip addresses of your dns servers. If you don't know what they are, run
"ipconfig /all" on the host and look at the host's LAN settings.

On the VM check the network properties for its LAN card (vmxnet or pci32)
and make sure the dns server address is obtained automatically; it should be
unless you changed it. Select TCP/IP on the General tab and push the
"Properties..." button to verify the dns settings.

If you plan to use a bridged network, you will have to duplicate the host's
dns settings in the VM.

- Robert -
Post by Todd Sandor
[Using Version: 4.5.2 build-8848]
I'm a new vmware (have an evaluation version - need this to work or vmware
is of no use to me) using and have created a windows2000 guest OS using NAT.
I'm having trouble getting software that uses a license server to work on
this guest OS - in trouble-shooting I found I can ping the license server if
I use the actual IP address, but if I use the hostname I get "Unknown host".
I changed my environment variable LM_LICENSE_FILE to use the IP address, but
the license server still can not be contacted - can not get the required
license [? can maybe contact the license server, but maybe it can not
response correctly?]. From this guest OS I can successfully ping a
different hostname that is on the same subnet as the license server - other
network connectivity is OK [can run other applications that use other
resources on the main network OK, internet access is OK, etc.].
I'm able to use the license server successfully from the main workstation
[where vmware is installed] which is also running windows 2000.
- Anyone have any idea what the problem could be?
- Is it possible to have the IP address of the guest use DHCP to obtain an
IP address from the same subnet as the main OS?
Loading...