[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2426
  • Last Modified:

Hyper V VM NIC stopped working correctly.

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
355LT1
Asked:
355LT1
  • 3
  • 2
1 Solution
 
feliciogsCommented:
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
 
355LT1Author Commented:
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
 
355LT1Author Commented:
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Greg HejlCommented:
the ipconfig is from the host and the VM?

they both have the same network address.

change the VM IP
0
 
355LT1Author Commented:
The VM IP is 207.91.182.14
0
 
Greg HejlCommented:
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

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now