locked
Hyper-V network issues with Ubuntu 10.04 VM RRS feed

  • Question

  • Host:

    Windows 2008 R2 SP1 64-Bit

    VM:

    Ubuntu 10.04 64-Bit

    For the Ubuntu VM installation I followed these instructions:

    http://social.technet.microsoft.com/wiki/contents/articles/961.aspx

    The issues I'm having seem to be intermittent. SSH and HTTP access to the VM will work fine sometimes but every so often I get disconnected or am unable to connect. During these periods when I'm unable to connect to the VM via HTTP or SSH the VM still is able to ping devices and access the internet. I can also ping the VM from my workstation. DNS issues can be ruled out because I'm not trying to connect using the servers name.


    http://i.imgur.com/AbBs2.png

    • Moved by BrianEhMVP Monday, April 23, 2012 3:38 PM (From:Hyper-V)
    Monday, April 23, 2012 2:37 PM

Answers

  • Thanks I appreciate the info (can't wait for the new update). Turns out though I'm an idiot. I just found out today that I configured my Ubuntu box with an incorrect IP. It was sharing an IP address with another machine and that's what was causing the issues. Fixed it and so far so good.

    http://i.imgur.com/AbBs2.png

    • Marked as answer by derrick-3r Tuesday, April 24, 2012 3:36 PM
    Tuesday, April 24, 2012 3:36 PM

All replies

  • Hi!

    I remember Ubuntu 9.10 being the first Ubuntu release to include native Hyper-V drivers. I also remember having problems with the synthethic ethernet drivers included in Ubuntu 9.10 being unstable with no real improvement in 10.04. The only solution I found was to replace the synthethic NIC with a legacy NIC.

    I'm currently testing Ubuntu 11.10 under Hyper-V with synthethic NIC and everythings working fine.

    So my advice would be to either upgrade your Ubuntu distro to the latest version or switch to a legacy NIC in the VM settings. Just make sure to retain the static MAC address if you do.


    Monday, April 23, 2012 4:23 PM
  • Thanks for the advice. I did just awhile ago try change from the synthetic to legacy but with no improvements. I guess I'll just go ahead and try updating to 11. I'll give an update on wether it worked or not for me.


    http://i.imgur.com/AbBs2.png

    ***Edit***

    Well just got done running the update but still having issues with HTTP and SSH connections. But I did notice that from the Hyper-V console window the responsiveness of the Ubuntu VM has improved a lot.

    ***Edit***

    • Edited by derrick-3r Monday, April 23, 2012 6:42 PM
    Monday, April 23, 2012 4:26 PM
  • Ubuntu 12.04, the next LTS release is due to be out in a couple of days. It's based on Kernel 3.2 but Ubuntu has backported most of the Hyper-V modules in upcoming Kernel 3.4. The installer will provide full out-of-the-box driver for Hyper-V.

    Ubuntu 10.04 is based on 2.6.32 which had really early Hyper-V drivers, I can only recommend you to NOT use them, they were quite buggy. 3.2 onwards were ok, 3.4 is the first to have all drivers out of staging area.

    Tuesday, April 24, 2012 3:29 PM
  • Thanks I appreciate the info (can't wait for the new update). Turns out though I'm an idiot. I just found out today that I configured my Ubuntu box with an incorrect IP. It was sharing an IP address with another machine and that's what was causing the issues. Fixed it and so far so good.

    http://i.imgur.com/AbBs2.png

    • Marked as answer by derrick-3r Tuesday, April 24, 2012 3:36 PM
    Tuesday, April 24, 2012 3:36 PM