Solved

Hyper V VM NIC stopped working correctly.

Posted on 2010-09-09
6
2,201 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
In this video we show how to create a mailbox database 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 Servers >> Data…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

911 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

17 Experts available now in Live!

Get 1:1 Help Now