VMware Communities
fleta37
Contributor
Contributor

Trouble getting into VM using RDP with a NAT connection

I am having trouble getting into my virtual machine using remote desktop. I am using a NAT connection that was set up using this guide VMware KB: Connecting to VMware virtual machines using the Windows Remote Desktop utility


Could someone please help me figure out the problem?

Here is the ipconfig /all from the host machine:

Microsoft Windows [Version 6.0.6002]

Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Users\Administrator>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : dp70

   Primary Dns Suffix  . . . . . . . : powertrain.com

   Node Type . . . . . . . . . . . . : Hybrid

   IP Routing Enabled. . . . . . . . : No

   WINS Proxy Enabled. . . . . . . . : No

   DNS Suffix Search List. . . . . . : powertrain.com

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : Broadcom BCM5709C NetXtreme II GigE (NDIS

VBD Client) #34

   Physical Address. . . . . . . . . : 18-03-73-FB-81-4E

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

   IPv4 Address. . . . . . . . . . . : 10.10.10.70(Preferred)

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

   IPv4 Address. . . . . . . . . . . : 10.10.10.72(Preferred)

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

   IPv4 Address. . . . . . . . . . . : 10.10.10.73(Preferred)

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

   IPv4 Address. . . . . . . . . . . : 10.10.10.74(Preferred)

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

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

   DNS Servers . . . . . . . . . . . : 216.230.112.41

                                       216.230.112.42

                                       206.183.22.196

   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet1:

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet

1

   Physical Address. . . . . . . . . : 00-50-56-C0-00-01

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

   Link-local IPv6 Address . . . . . : fe80::a0a2:fb0b:be33:23e5%19(Preferred)

   IPv4 Address. . . . . . . . . . . : 192.168.121.1(Preferred)

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

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

   DHCPv6 IAID . . . . . . . . . . . : 318787670

   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-16-38-DA-BE-18-03-73-FB-81-4E

   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1

                                       fec0:0:0:ffff::2%1

                                       fec0:0:0:ffff::3%1

   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet8:

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet

8

   Physical Address. . . . . . . . . : 00-50-56-C0-00-08

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

   Link-local IPv6 Address . . . . . : fe80::e9f6:9107:ec48:9498%21(Preferred)

   IPv4 Address. . . . . . . . . . . : 192.168.73.1(Preferred)

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

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

   DHCPv6 IAID . . . . . . . . . . . : 352342102

   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-16-38-DA-BE-18-03-73-FB-81-4E

   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1

                                       fec0:0:0:ffff::2%1

                                       fec0:0:0:ffff::3%1

   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter Local Area Connection* 8:

   Media State . . . . . . . . . . . : Media disconnected

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : isatap.home

   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 9:

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface

   Physical Address. . . . . . . . . : 02-00-54-55-4E-01

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

   IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fd:20ba:2223:2719:9eb9(Pref

erred)

   Link-local IPv6 Address . . . . . : fe80::20ba:2223:2719:9eb9%14(Preferred)

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

   NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter Local Area Connection* 11:

   Media State . . . . . . . . . . . : Media disconnected

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : isatap.powertrain.local

   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 12:

   Media State . . . . . . . . . . . : Media disconnected

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : isatap.powertrain.local

   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 13:

   Media State . . . . . . . . . . . : Media disconnected

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : isatap.{C6E7FBD0-CD1D-4D0E-A2C3-1750A0F9C

444}

   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 14:

   Media State . . . . . . . . . . . : Media disconnected

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #5

   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 15:

   Media State . . . . . . . . . . . : Media disconnected

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #6

   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

C:\Users\Administrator>

Here is the result of my ipconfig /all from my guest virtual machine:

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Administrator>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : WinSer2008R2_75

   Primary Dns Suffix  . . . . . . . :

   Node Type . . . . . . . . . . . . : Hybrid

   IP Routing Enabled. . . . . . . . : No

   WINS Proxy Enabled. . . . . . . . : No

   DNS Suffix Search List. . . . . . : localdomain

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : localdomain

   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection

   Physical Address. . . . . . . . . : 00-0C-29-5F-A6-C1

   DHCP Enabled. . . . . . . . . . . : Yes

   Autoconfiguration Enabled . . . . : Yes

   Link-local IPv6 Address . . . . . : fe80::490b:5de7:6d7d:88bf%10(Preferred)

   IPv4 Address. . . . . . . . . . . : 192.168.73.128(Preferred)

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

   Lease Obtained. . . . . . . . . . : Tuesday, July 02, 2013 2:12:59 PM

   Lease Expires . . . . . . . . . . : Tuesday, July 02, 2013 3:12:59 PM

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

   DHCP Server . . . . . . . . . . . : 192.168.73.254

   DHCPv6 IAID . . . . . . . . . . . : 234884137

   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-19-5C-1E-31-00-0C-29-5F-A6-C1

   DNS Servers . . . . . . . . . . . : 192.168.73.2

   Primary WINS Server . . . . . . . : 192.168.73.2

   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.localdomain:

   Media State . . . . . . . . . . . : Media disconnected

   Connection-specific DNS Suffix  . : localdomain

   Description . . . . . . . . . . . : Microsoft ISATAP Adapter

   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 9:

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface

   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

   IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:49e:30ed:3f57:b67f(Prefe

rred)

   Link-local IPv6 Address . . . . . : fe80::49e:30ed:3f57:b67f%12(Preferred)

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

   NetBIOS over Tcpip. . . . . . . . : Disabled

C:\Users\Administrator>

The NAT settings in the virtual network editor are:

name     type    host            dhcp       subnet address
vmnet8   NAT   Connected   Enabled   192.168.73.0

gateway IP - 192.168.73.2

port forwarding

host -9997
TCP

virtual machine IP address - 192.168.73.128

0 Kudos
3 Replies
admin
Immortal
Immortal

I was able to RDP into a Windows Guest successfully via NAT in my lab.

Could you please check the Firewall in your WinSer2008R2 VM and also check if RDP is enabled in the Guest OS?

0 Kudos
fleta37
Contributor
Contributor

Thank you for your reply JSen,

Remote desktop is enabled, and I had turned off windows firewall on both the guest and the host server in hopes that it would solve the problem.

The host server is connected to an external firewall (which has had port 9997 opened up).

Shouldn't I be able to connect to the guest from the host regardless of the external firewall settings?

0 Kudos
fleta37
Contributor
Contributor

Does anyone else have any possible suggestions? The sooner I can figure this out, the better.

0 Kudos