Hyper V VM NIC stopped working correctly.

Posted on 2010-09-09
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?
Question by:355LT1
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
  • 3
  • 2

Expert Comment

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) ?

Author Comment

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


Windows IP Configuration

Ethernet adapter Local Area Connection 4:

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

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:                 
    Subnet Prefix:               (mask
    Default Gateway:            
    Gateway Metric:                       256
    InterfaceMetric:                      5
    Statically Configured DNS Servers:
    Register with which suffix:           Primary only
    Statically Configured WINS Servers:

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



Author Comment

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.
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!

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

Author Comment

ID: 33655171
The VM IP is
LVL 13

Accepted Solution

Greg Hejl earned 500 total points
ID: 33655390

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

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This video discusses moving either the default database or any database to a new volume.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

732 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