Solved

Hyper-V Networking Private Network not working

Posted on 2009-05-03
9
1,957 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
ID: 24309139
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
ID: 24310990
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
ID: 24311047
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:wessir
ID: 24311083
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
 
LVL 77

Accepted Solution

by:
Rob Williams earned 500 total points
ID: 24311135
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
ID: 24311260
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
ID: 24314124
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
ID: 24315679
Thanks wessir.
Cheers!
--Rob
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When working with Microsoft SCVMM (System Center Virtual Machine Manager) in a Hyper-V virtualization environment, we have run across scenarios in which the failed migration of a VM from one host to another may leave the VM in a failed state. Specif…
Introduction Windows 2012 is here - it is upon us, and I hope that like me, you will upgrade your Hyper-V to the new version which has been promised to be a lot more stable, flexible and powerful than its predecessor in Windows 2008 R2.  Setting up…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 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