Solved

Hyper-V Networking Private Network not working

Posted on 2009-05-03
9
1,953 Views
Last Modified: 2013-11-06
I have 4 VMs each with an external network and an internal network.  They are all XP.  I set a file share on one of them.  Accessing it from another VM on that host using the IP address \\192.168.1.200\myfileshare works but trying \\Virtualmachine1\myfileshare gives the error "You were not connected because a duplicate name exists on the network.  Go to system in control panel  and change the computer name and try again". Dns is showing 'Virtualmachine1' using it's external network address.  I tried adding an entry in the second VM's hosts file to use the 192.168.1.200 address but it doesn't seem to help although ping now uses the correct internal network address.  What's the proper approach here?
0
Comment
Question by:wessir
  • 5
  • 3
9 Comments
 
LVL 77

Expert Comment

by:Rob Williams
Comment Utility
Why are you using an external and an internal network adepter on all XP VM's? You really only need the one. Create an external network connection on the host and name it, then add the network adapter with the same name to each of the child machines. They should then resolve DNS names properly, have access to each other, and have Internet access.
0
 

Author Comment

by:wessir
Comment Utility
The thought was I could store sensitive files on a virtual machine that only other virtual machines could see. It's my understanding that an 'internal virtual network' can only be seen by other vms on the same physical machine.  AD and NTFS can do the security job but I was experimenting with Hyper-V possibilities.
0
 
LVL 77

Expert Comment

by:Rob Williams
Comment Utility
That is true of internal, but then why add the external. Not trying to be difficult, I'm just trying to better understand the goal.
0
 

Author Comment

by:wessir
Comment Utility
The external interface is for RDP.  I'm using the VMs as workstations for data programming staff and they work with the sensitive data.  They control several vms concurrently to do the work.  If the vms only had internal virtual networks, how could you use them?
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 77

Accepted Solution

by:
Rob Williams earned 500 total points
Comment Utility
I guess my point is if you enable the external you have defeated the security of internal only. You are right with internal only you have to use them from the console. Generally you would use just the external adapter and keep all machines behind a hardware firewall.

Regardless, the duplicate name is likely due to two IP's with the same name registered in DNS. Is there a DNS server present in this configuration
0
 

Author Comment

by:wessir
Comment Utility
I agree, the external virtual network on the file sharing vm does defeat the security.  The only way to use this configuration would be to access the files using IP address of the share on the 'hidden' machine on the internal virtual network.  DNS would not function unless the DNS service was running on the host in addition to the network.  Sounds like a question for another forum using multiple DNS service providers, thanks for your help.
0
 
LVL 77

Expert Comment

by:Rob Williams
Comment Utility
If not running a DNS server the Hosts or LMHosts files should work. They are very fussy to use, with odd requirements like no carriage return (enter) at the end of a data line resulting in the entry being ignored. I wrote a blog article on these files that you might want to review. The disadvantage of the Hosts/LMHosts files is they need to be maintained on all machines from which a connection will me made.
http://msmvps.com/blogs/robwill/archive/2008/05/10/lmhosts-and-hosts-files.aspx
0
 
LVL 77

Expert Comment

by:Rob Williams
Comment Utility
Thanks wessir.
Cheers!
--Rob
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Hopefully if you are reading this article you have NOT attempted to use an old Hyper-V snapshot on a Domain Controller.  If you have, you're probably beyond frustrated as you have searched Google relentlessly only to find out that doing a snapshot o…
As the most of you know, Hyper-V does not support usb redirection. But with some relative easy steps we can redirect our usb disk to a Hyper-V virtual machine. First on your Hyper-V Server host open Server Manager and select Disk Management …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now