Hi,
This should be a fairly easy one as Networking isn't my strong side.
Here's my situation and this is strictly for my sandbox at home (currently playing with patching software). I have several machines in my VM environment. Most notably, a DC that is handling AD and DNS.
My environment is NAT'd so that everything talks regardless of internet connection. I also have the following set to handle DHCP for me.
I'm not sure if any of this matters for what I am trying to do but basically, my NAT'd environment gets an IP of 192.168.xxx.xxx and my home network has an IP of 10.10.xxx.xxx
I can ping one of my test laptops with the 10.10 IP from inside the VM but I cannot ping the 192.168 address of the VM from the test laptop. Any steps that someone could recommend here would be greatly appreciated. I can add more info as may be needed too.
Thanks for any recommendations!
What is the IP configuration of Virtual adapter added to Control Panel\All Control Panel Items\Network Connections on your Testing laptop.
So, to add some more clarity, I have 2 physical laptops in this scenario. I have the Host that that my VMs sit on and I have a test that just sits on my home network (this is the one I am trying to gain access to from inside the VM), no special IP config, just obtaining an IP automatically from my router. That being said, I do not have a Virtual Adapter on that test machine. I do have one on my Host machine, I actually have 2. Below is what I have setup in my VM:
And here is what it looks like from the Virtual Adapter on my host machine:
Check the firewall on the guest(s). I bet you can't ping from one guest to another, then you can disable all firewall rules altogether, domain/private/public, on all guests or at least disable incoming ICMP to allow ping.
It's not related to your original issue with ping, but I suggest you key in default gateway, which should be 192.168.89.2 in your case, and preferred DNS in IP4 properties.
If you have connectivity between host laptop and test laptop, then as gimmely said, you need to check firewall settings on Guest VM. To reproduce, disable firewall once to check connectivity.
To get RDP of VM from test, you can enable port forwarding over NAT for that VM. Allow Access to a VMware Virtual Machine(NAT) From Another Computer
Just add port 3389 for RDP, Connecting to VMware virtual machines using the Windows Remote Desktop utility (1018809) | VMware KB
I have the firewall disabled currently, in VM guests and test laptop. The host machine has the firewall on, could this be the issue?
I have to admit that I missed or mis-read a couple of things in your description. So, you have a host laptop with several guests, plus a test laptop. The issue is that you can't ping any guest from the test laptop.
If so, and you can ping from the test laptop to the host laptop as you should, you probably need to change virtual network from NAT to Bridged. Take a look at this thread: Outside computer cannot ping NAT guest vm but host and guest can ping each other .
In reading that article, it looks like I might be able to keep my environment NAT'd but add a port forward in for outside connections to be able to ping inside the NAT, is that correct?
If so, this is new to me, what would I put for the VM IP address in this case?
Port Forwarding with NAT will work here, they to check before is connectivity with host laptop and testing laptop.
So I have added the forwarding rules for TCP and UDP but I'm still unable to ping from the test laptop. Below is what I have set for the port forwarding:
Before all these things, firstly you need to connect both laptops first which doesn't seems to be working. Please try with following steps :
1. on your host laptop's VMware virtual adapter (VMnet8), change IP config static :
192.168.89.15
255.255.255.0
192.168.89.2 - Gateway
in same way on test laptop with unique IP but Gateway should be 192.168.89.2 then try ping both laptops to each other. Before connecting to VM, laptops should ping each other.
After that if you are able to ping VM from Test laptop, you can add entry to 192.168.89.137:3389 to get RDP of VM from test laptop.
Now it's getting more and more beyond my knowledge, so I'll make some general comments.
1. I'm afraid that 1111 and 2222 are port numbers made up by you, unless your application(s) should use 2222 by default. However, Ping uses ICMP, instead of TCP, and ICMP doesn't have a port.
2. I think you tried to ping a guest in order to make sure about the connection, which should be the first step to many others, instead of the ultimate objective. I suppose you'd run some application(s) on your virtual network and want to be able to access this application system on the virtual network from your test laptop. If this is true, I'd suggest a couple of simple approaches, based on my experience:
1) use a (new) guest on NAT, instead of the test laptop; or
2) try Bridged network, instead of NAT, which I myself haven't done.
The main reason for these suggestions is the virtual domain you've built on all the guests, which is another layer you have to go through before you can be sure about application level.
Of course, you did mention that firewall rules exist on your host, which is another factor to consider.
