Solved

Hyper V VM NIC stopped working correctly.

Posted on 2010-09-09
6
2,255 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
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Read this checklist to learn more about the 15 things you should never include in an email signature.
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this video we show how to create an Address List 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 Organization >> Ad…

856 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