Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Windows XP host that is running two VM's (Windows Server 2003) and the VM's are configured for NAT. Is there any way to make the hostnames of the VM's visible to the host OS without changing to a bridged network type?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Since your question is ambiguous, I will assume you mean "Can I access guests running on a host machine by using WINS hostnames?"

No, this is inherent to the way NAT works; a router handles unicast requests from the 'inside' of the router to the 'outside' (and the respective unicast replies in the opposite direction). Since WINS is a protocol that relies on broadcasts, which are dropped by the router, the host will never see WINS broadcasts from the guests. On a normal managed router, you could define rules that would allow the router to forward broadcasts, however neither VMware Server, Workstation nor Player allows you to modify the built-in routing logic.

Using DNS hostnames is not an alternative, since the router will need to have specific routes defined to forward traffic, this is also not possible with the aforementioned VMware products.

share|improve this answer
    
So a bridged network type is my only option? –  Taylor Leese Aug 5 '10 at 18:48
    
Well there is the option to use "Host Only" network, however your guest VM's will not be able to access any other network resources (including an internet gateway). –  Danny Bessems Aug 5 '10 at 19:01
2  
Yes, bridged is the option.. this makes it so the Virtual Machines are connected to the network in the same fashion as the host computer. They are on an equal footing and can communicate and see each other at that point. –  Fosco Aug 5 '10 at 19:39

And a second NIC to your VM on the Host-only network, and use that.

Maybe if you tell us what you're trying to do we can direct you to the best solution? :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.