Solved

Windows Server 2008 R2 Hyper-V

Posted on 2015-01-13
11
168 Views
Last Modified: 2015-01-15
I have 2 physical NICs on a physical server.
All works well, one NICs is for internal network, the other NIC is for internet access.
NIC2 I can access the web, and  NIC1 is strictly internal.

This is on a test VLAN.

I installed Hyper-V on this server, Windows Server 2008 R2.

Created a VM, and added the two NICs:  one internal and one external.
Internal works fine, but the external keeps getting the default DHCP IP address.
The external is supposed to get the IP address from the router/switch.

I cannot get this thing to work, the external NIC.  These are the settings from the VM.
I cannot get the External NIC to work.

Can anyone help me.

NIC1
0
Comment
Question by:techgenious
[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
  • 6
  • 5
11 Comments
 
LVL 39

Expert Comment

by:Philip Elder
ID: 40547101
Your vNICs are bound backwards.

That is, your vNIC that is to pull a public IP is connected to your Private vSwitch. The vNIC for your External is actually connected to the Private vSwitch.

Reverse them in the VM's Network properties in Hyper-V Management and all should be okay.
0
 

Author Comment

by:techgenious
ID: 40547461
I am confused can you explain, keep in mind I am really new to Hyper-V, I am in Virtual Network Manager
Here is the settings or am I in the wrong place

NIC Settings
0
 
LVL 39

Expert Comment

by:Philip Elder
ID: 40547499
In the above snips rename them as follows:
vSwitch - Internal
vSwitch - External

Once that is done bring up the properties for the VM itself and change each vNIC's vSwitch association. That is, reverse them so that current Internal becomes External and the current External becomes Internal.

Once you do that your VM will have the "correct" network setup you are looking for.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:techgenious
ID: 40547508
The picture above is on the Server 2008 R2 Hyper-V server not on the VMs.
 So are you saying do it at the root main windows server hyper-v , not on the individual VM.
This is very confusing to me sorry.
0
 
LVL 39

Accepted Solution

by:
Philip Elder earned 500 total points
ID: 40547528
In the properties window above rename the vSwitches as I indicated.

Close that properties window and right click on the VM in question and Properties.

Under its Networking section you can then change the vSwitch each vNIC is connected with to change the network shown _within_ the VM.

I hope that clarifies things a bit better?
0
 

Author Comment

by:techgenious
ID: 40547581
let me try that and I will get back to you on this.  Thanks for everything.
0
 

Author Comment

by:techgenious
ID: 40547586
Just an FYI, all the VM's cannot access the internet.    They can access each other internally via the Internal NIC , with no problems, but they cannot get out to the internet, and I need that for patching.
0
 
LVL 39

Expert Comment

by:Philip Elder
ID: 40547756
Your VM with two vNICs needs to have a proxy setup like RRAS on 2008 R2, Untangle, or SOPHOS Edge (ISO download).
0
 

Author Comment

by:techgenious
ID: 40548985
why would I need a proxy setup like RRAS, all I want is internet access out on one NIC card and internal access on the other NIC card.
0
 

Author Comment

by:techgenious
ID: 40551218
All I had to do was removed the external NIC Virtual Switch and add it back in and it all worked.
thanks everyone for your help.
0
 
LVL 39

Expert Comment

by:Philip Elder
ID: 40551297
Proxy access would be for a virtual environment behind a Private network on a Hyper-V host.

If the guests are accessing the same network as the host along with Internet access then the point is moot. :)
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

636 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