Solved

Hyper-V Networking Private Network not working

Posted on 2009-05-03
9
1,966 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction RemoteFX is already in use today, but you're probably not aware of it.  With the advent of Windows 2012 and Windows 8, RDP has gotten a whole lot better due to the fact that RDP now uses even more RemoteFX technologies to make desktop …
Why should I virtualize?  It’s a question that’s asked often enough.  My response is usually “Why SHOULDN’T you virtualize?”
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

751 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