Avatar of reddal
reddal

asked on 

How to access VM that uses NAT from machine outside of host?

Hi,

I have a Windows 2003 server with VMWare workstation 6 installed - and a VM running XP on this. The VM is setup to use NAT as I want it to have its own subnet (I don't want to use a bridged network).

From the host server I can ping the VM fine - however I also want to be able to access the VM from another machine on my LAN - which doesn't work.

What I looked at so far :

1) Enabling Routing and Remote access on the host server. It didn't seem to help.

2) Using port forwarding in the VMWare network config - however it only seems to allow TCP/UDP forwarding - how would I forward ping (ICMP) for instance?

Maybe theres some trick to one of those to make it work that I missed?

What would be the easiest/recommended solution to achieve this (apart from using bridged networking - which I don't want as I need the VM on a seperate subnet).

thanks - reddal
VMwareWindows Server 2003Routers

Avatar of undefined
Last Comment
reddal
ASKER CERTIFIED SOLUTION
Avatar of dacselat
dacselat

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of reddal
reddal

ASKER

Hi,

I tried what you suggested (and a few variations) - but I can't seem to get the VM pingable from another machine on the LAN. Note :-

- I added a static route to the router used by the whole LAN so that traffic destined for the VMs subnet would be directed at the server running VMWare - I'm fairly confident in that part.

- I enabled Routing and Remote access - and tried to check all the options - maybe I missed something there - its not very transparent. Is there any way I can see / log what its doing so I can see its receiving the external traffic and sending it to the VMWare Network adapter?

- I setup a new VM Virtual Adapter without NAT as you suggested - but its hard to tell if this is working ok - or its just the routing that isn't working.

Any ideas would be appreciated.

thanks - Reddal
Avatar of dacselat
dacselat

Can you reach the new virtual interface from your hosts, what about a traceroute?
Avatar of reddal
reddal

ASKER

No - I can't reach the interface IP either - traceroute takes a long time to say nothing for each step.

I think the routing isn't working...

- reddal
Avatar of reddal
reddal

ASKER

I didn't get it to work - but thanks for your help anyway.
Windows Server 2003
Windows Server 2003

Windows Server 2003 was based on Windows XP and was released in four editions: Web, Standard, Enterprise and Datacenter. It also had derivative versions for clusters, storage and Microsoft’s Small Business Server. Important upgrades included integrating Internet Information Services (IIS), improvements to Active Directory (AD) and Group Policy (GP), and the migration to Automated System Recovery (ASR).

129K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo