Solved

Hyper V VM NIC stopped working correctly.

Posted on 2010-09-09
6
2,172 Views
Last Modified: 2013-11-06
I setup a Windows 2008 Hyper V Server with only one of the two ethernet NICs connected  and setup a few test VMs. I added memory to the server and accidently plugged in the wrong ethernet port that was default DCHP without knowing. I started the Windows 2008 Sever VM and logged in and notice the NIC lost it's static IP and now DHCP , setup static address and  was ask to delte the old NIC config, and I just clcik OK and proceeded, then notice IP config did a gateway address when it was configured in the IP V4 TCP properties. I checked the Hyper V server virtual NIC and saw I need to move the cable to the Hyper V server NIC with Static IP, but the Windows 2008 Hyper V VM NIC seems to work but I still cannot get the internet browser to work and IPCONFIG still has no gateway address. Any suggestions?
0
Comment
Question by:355LT1
  • 3
  • 2
6 Comments
 

Expert Comment

by:feliciogs
ID: 33642818
Could you send a "netsh interface ip show config" of Hyper-V Host and of VM as a list of virtual switches (network configuration on Hyper-V Manager) ?
0
 

Author Comment

by:355LT1
ID: 33643288
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\administrator.Austin>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection 4:

   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 207.91.182.5
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 207.91.182.1

Tunnel adapter isatap.{A9468193-D535-4943-BDCD-54D3EEC0714D}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Tunnel adapter 6TO4 Adapter:

   Connection-specific DNS Suffix  . :
   IPv6 Address. . . . . . . . . . . : 2002:cf5b:b605::cf5b:b605
   Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

C:\Users\administrator.Austin>netsh interface ip show config

Configuration for interface "Local Area Connection 4"
    DHCP enabled:                         No
    IP Address:                           207.91.182.5
    Subnet Prefix:                        207.91.182.0/24 (mask 255.255.255.0)
    Default Gateway:                      207.91.182.1
    Gateway Metric:                       256
    InterfaceMetric:                      5
    Statically Configured DNS Servers:    207.91.182.12
    Register with which suffix:           Primary only
    Statically Configured WINS Servers:   207.91.182.12

Configuration for interface "Loopback Pseudo-Interface 1"
    DHCP enabled:                         No
    IP Address:                           127.0.0.1
    Subnet Prefix:                        127.0.0.0/8 (mask 255.0.0.0)
    InterfaceMetric:                      50
    Statically Configured DNS Servers:    None
    Register with which suffix:           None
    Statically Configured WINS Servers:   None


C:\Users\administrator.HOUSTON>














0
 

Author Comment

by:355LT1
ID: 33645406
I noticed when I click details on the LAN connection on the VM with the connection problem I see TCP autoconfiguration is enabled with a different IP address than the statice IP I entered.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 13

Expert Comment

by:Greg Hejl
ID: 33653120
the ipconfig is from the host and the VM?

they both have the same network address.

change the VM IP
0
 

Author Comment

by:355LT1
ID: 33655171
The VM IP is 207.91.182.14
0
 
LVL 13

Accepted Solution

by:
Greg Hejl earned 500 total points
ID: 33655390
http://social.technet.microsoft.com/wiki/contents/articles/hyper-v-virtual-networking-best-practices.aspx

you may have to tear down your virtual iinterfaces on the host and rebuild them.
0

Featured Post

Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

Join & Write a Comment

Suggested Solutions

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…

705 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

15 Experts available now in Live!

Get 1:1 Help Now