ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Hyper-V Guest - Unidentified Network

    IT Discussion
    6
    33
    8.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • pchiodoP
      pchiodo @JaredBusch
      last edited by

      @JaredBusch That's really using a sledgehammer when a scalpel should be sufficient. I'd really like to find a resolution in case this comes up again. nuke and reload is a last resort IMHO.

      DashrenderD 1 Reply Last reply Reply Quote 0
      • DashrenderD
        Dashrender @pchiodo
        last edited by

        @pchiodo said in Hyper-V Guest - Unidentified Network:

        @JaredBusch That's really using a sledgehammer when a scalpel should be sufficient. I'd really like to find a resolution in case this comes up again. nuke and reload is a last resort IMHO.

        Thanks for posting this - and while your hopefully found solution is a bit more useful considering that 2012 is still supported and sorta current, my wanting to fix my booting 2003 issue is along the same guise.

        Sadly for both of us, it might not be worth the expense to our companies (in our time not working on other issues, if not in direct billing) versus just wiping and reinstalling.

        pchiodoP 1 Reply Last reply Reply Quote 0
        • pchiodoP
          pchiodo @Dashrender
          last edited by

          @Dashrender I totally agree, and if this was a required production server, I'd be right on board. This particular server is not required for production, and I have moved its load to another Hyper-V server. Yes, I would like it back in the mix for load balancing and as a backup, but I still would like to take a little time to try and nail down the exact issue and solution before I just wipe it and reload.

          DashrenderD 1 Reply Last reply Reply Quote 0
          • DashrenderD
            Dashrender @pchiodo
            last edited by

            @pchiodo said in Hyper-V Guest - Unidentified Network:

            @Dashrender I totally agree, and if this was a required production server, I'd be right on board. This particular server is not required for production, and I have moved its load to another Hyper-V server. Yes, I would like it back in the mix for load balancing and as a backup, but I still would like to take a little time to try and nail down the exact issue and solution before I just wipe it and reload.

            Right - but you missed the part about how this is possibly not beneficial to your company.

            Like you, my 2003 server isn't in production either, I'm trying to make a CYA fully working/tested backup to put into the safety deposit box. Fixing the boot problem fully doesn't really help my company in any way since I have a usable solution for the boot issue. Fixing it takes me away from doing something of real value for my company, the same goes for you and solving this issue.

            In the end, you and I both personally gain by having additional knowledge we didn't have before, but what we don't know is if that knowledge will have any outward value in the future. While your situation has a higher likeliness of having future value, people are still deploying Hyper-V 2012, and it's likely a very similar setup probably exists in Hyper-V 2016. My situation is completely different in that 2003 is old, does booting in a completely old manner - using P2V that's a mostly dead situation (very little P2Ving done anymore, most of it was already done), so I have very little chance of ever using this knowledge in the future.

            pchiodoP 1 Reply Last reply Reply Quote 0
            • pchiodoP
              pchiodo @Dashrender
              last edited by

              @Dashrender said in Hyper-V Guest - Unidentified Network:

              @pchiodo said in Hyper-V Guest - Unidentified Network:

              @Dashrender I totally agree, and if this was a required production server, I'd be right on board. This particular server is not required for production, and I have moved its load to another Hyper-V server. Yes, I would like it back in the mix for load balancing and as a backup, but I still would like to take a little time to try and nail down the exact issue and solution before I just wipe it and reload.

              Right - but you missed the part about how this is possibly not beneficial to your company.

              Like you, my 2003 server isn't in production either, I'm trying to make a CYA fully working/tested backup to put into the safety deposit box. Fixing the boot problem fully doesn't really help my company in any way since I have a usable solution for the boot issue. Fixing it takes me away from doing something of real value for my company, the same goes for you and solving this issue.

              In the end, you and I both personally gain by having additional knowledge we didn't have before, but what we don't know is if that knowledge will have any outward value in the future. While your situation has a higher likeliness of having future value, people are still deploying Hyper-V 2012, and it's likely a very similar setup probably exists in Hyper-V 2016. My situation is completely different in that 2003 is old, does booting in a completely old manner - using P2V that's a mostly dead situation (very little P2Ving done anymore, most of it was already done), so I have very little chance of ever using this knowledge in the future.

              Agreed! In my particular case, I can see this happening again. We will likely not move off Server 2012 for the next 2-3 years depending on how fast our 3rd party apps adopt server 2016. This being the case, having a solution that takes minutes vs hours would be very valuable.

              syko24S 1 Reply Last reply Reply Quote 0
              • syko24S
                syko24 @pchiodo
                last edited by

                @pchiodo Your situation sounds similar to an issue I had a while back. I could not figure out what cause was but my workaround was to disable and then enable the network card in the VM. I use a schedule task to run at start up. Below is the script I use.

                netsh interface set interface "Ethernet 2" DISABLED
                netsh interface set interface "Ethernet 2" ENABLED

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • syko24S
                  syko24
                  last edited by

                  Obviously use your Ethernet adapter's name

                  1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @syko24
                    last edited by

                    @syko24 said in Hyper-V Guest - Unidentified Network:

                    @pchiodo Your situation sounds similar to an issue I had a while back. I could not figure out what cause was but my workaround was to disable and then enable the network card in the VM. I use a schedule task to run at start up. Below is the script I use.

                    netsh interface set interface "Ethernet 2" DISABLED
                    netsh interface set interface "Ethernet 2" ENABLED

                    He is not dealing at the VM level right now. He is on the host with no VM's

                    1 Reply Last reply Reply Quote 0
                    • syko24S
                      syko24
                      last edited by syko24

                      Sorry missed the part where you said you moved the VMs to another system.

                      Here is another possible solution. - http://www.wintips.org/fix-network-adapter-code-31-device-is-not-working-properly/

                      1. Go into the registry (On the host) and export HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network
                      2. Delete the subkey Config if it exists
                        • If Config doesn't exist, look at the keys below Network and identify the rogue nics and delete the keys
                      3. Go into device manager and try to uninstall the rogue nics
                      4. Reboot
                      1 Reply Last reply Reply Quote 1
                      • pchiodoP
                        pchiodo
                        last edited by

                        The solution to removing them and re-establishing the vSwitch and VM Adapters was to remove the Hyper-V Role and then reinstall the role.
                        Specifically the following steps:

                        1. Remove the network connections to the VMs
                        2. Remove the vSwitch
                        3. Dissolve the NIC Team
                        4. Remove the Hyper-V Role
                        5. Reboot
                        6. Create new NIC Team
                        7. Reinstall Hyper-V Role (Create vSwitch during role installation)
                        8. Reboot
                        9. Reattach the VMs and assign IPs if necessary

                        Everything appears to work as normal now. Unsure of what caused the issue, but may have been related to a hard shutdown caused by a power outage and failure of the backup generator.

                        JaredBuschJ DashrenderD 2 Replies Last reply Reply Quote 1
                        • JaredBuschJ
                          JaredBusch @pchiodo
                          last edited by

                          @pchiodo So once the bad NICS were removed, everything worked?

                          So I wonder if @syko24's method would have done it also.

                          1 Reply Last reply Reply Quote 0
                          • DashrenderD
                            Dashrender @pchiodo
                            last edited by

                            @pchiodo said in Hyper-V Guest - Unidentified Network:

                            The solution to removing them and re-establishing the vSwitch and VM Adapters was to remove the Hyper-V Role and then reinstall the role.
                            Specifically the following steps:

                            Where you using a Full server install that you added the role to? or are you actually able to remove the Hyper-V role from Hyper-V server 2012 (or whatever version you were on?)

                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @Dashrender
                              last edited by

                              @Dashrender said in Hyper-V Guest - Unidentified Network:

                              @pchiodo said in Hyper-V Guest - Unidentified Network:

                              The solution to removing them and re-establishing the vSwitch and VM Adapters was to remove the Hyper-V Role and then reinstall the role.
                              Specifically the following steps:

                              Where you using a Full server install that you added the role to? or are you actually able to remove the Hyper-V role from Hyper-V server 2012 (or whatever version you were on?)

                              He has Server 2012 R2 Datacenter installed on all their physical boxes.

                              1 Reply Last reply Reply Quote 0
                              • 1
                              • 2
                              • 2 / 2
                              • First post
                                Last post