Solved

Windows Server 2012 Hyper-V Virtual Switch DNS Problem on DC

Posted on 2014-09-02
6
537 Views
Last Modified: 2014-11-12
Hi!
Okay i have a really annoying problem.

Basically we have the following:

A HP Proliant ML350e with 2 physical nics.
The server is running Windows Server 2012. Its roles are DC, DNS, DHCP, FILE SERVER, HYPER-V.

Within Hyper-V we have a virtual machine acting as a RDS Server. We're using one nic from the host for the DC and one for the RDS vm. So within Hyper-v the vm has lets say 172.16.10.11 and if i look in the DC the virtual switch has 172.16.10.49. The Physical NIC of the DC has 172.16.10.10

The problem arises that the DC registers the Hyper-V switch in DNS so when i nslookup DC.CONTOSO.COM i get back 172.16.10.49, instead of what i should get 172.16.10.10. I can go into DNS and delete the entries made for DC pointing to 172.16.10.49 and after a ipconfig /flushdns on RDS i can nslookup DC and get the correct respons. The problem is that the .49 adress returns to dns. What is the fix for this and why am i such an idiot that can't figure this out? It would seem to be a problem with Hyper-V no?

Any pointers would greatly help me out as im going nuts here.
0
Comment
Question by:Wouter Makkinje
  • 4
  • 2
6 Comments
 
LVL 2

Author Comment

by:Wouter Makkinje
ID: 40300412
I've disabled the Hyper-V vethernet adapter in the DC host and it doesn't seem to affect the RDS server. Leaving it disabled solves the issue but what is it and why is it even there?
0
 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 40301385
Virtual switches do not get IP addresses. So something is definitely screwed up, or you described your environment wrong. You usually can't even force an IP address onto a vswitch. The system will throw an error first.

As an aside, running hyper-V on a DC (or any role really, but ESPECIALLY a DC) is very bad. hyper-V should run alone. Any other roles should be virtualized. Running a DC as a VM is perfectly acceptable. And costs nothing since you get 1+2 licensing rights with 2012. There is no reason to colocate roles like that.
0
 
LVL 2

Author Comment

by:Wouter Makkinje
ID: 40303021
Ive attached an image of the connections.
Sk-rmklipp.PNG
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.

 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 40303576
Why are you attaching this image? Without context, explanation, or a follow-up quesrion, I am not sure how to help you.
0
 
LVL 2

Accepted Solution

by:
Wouter Makkinje earned 0 total points
ID: 40304237
Here i solved it, I will attach an image and in this image i have highlighted a check box which needs to be unchecked in order for the adapter or hyperv switch to not show up in the hyperv host. Anyways thanks for the help.
Sk-rmklipp.PNG
0
 
LVL 2

Author Closing Comment

by:Wouter Makkinje
ID: 40311581
Since the expert helping me didnt solve it but i did eventually.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Understanding the various editions available is vital when you decide to purchase Windows Server 2012. You need to have a basic understanding of the features and limitations in each edition in order to make a well-informed decision that best suits y…
First I will try to share a design of a Veeam Backup Infrastructure without Direct NFS Access backup. Note: Direct NFS Access backup transport mechanism is only available in Veeam v9 In above I try to design the Veeam Backup flow between i…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

777 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