Hyper-V

From GridTrak

Jump to: navigation, search

UBUNTU 10.0.4 Integration - Hyper-V Synthetic Drivers Support

Sept 26, 2010

  • Enabling Hyper-V (Microsoft virtualization platform) Synthetic Drivers Support in Ubuntu Server 10.0.4 LTS. Updated for 10.0.4.1 LTS.

Ubuntu Server current version's networking no longer works out of the box with Microsoft's Hyper-V R2. The following procedure enables new integration support in Ubuntu for Synthetic drivers.

$ sudo nano /etc/initramfs-tools/modules
  ...
  hv_vmbus
  hv_storvsc
  hv_blkvsc
  hv_netvsc
$ sudo update-initramfs -u
$ sudo reboot
  • Check to assure the hv_ Modules are Loaded
$ lsmod | grep hv_
  • Look for the synthetic virtual Ethernet adapter(s).
$ ifconfig -a

After finding the synthetic virtual Ethernet adapter(s), edit the /etc/network/interfaces with the changed adapter device name.

$ sudo nano /etc/network/interfaces
  ...
  auto eth1
  iface eth1 inet static
  address 192.168.0.79
  netmask 255.255.255.0
  gateway 192.168.0.1
  broadcast 192.168.0.255
  network 192.168.0.0
  dns-nameservers 192.168.0.80

  echo nameserver myISPNameServerAddress >> /etc/resolv.conf

Credits


Arnold

Personal tools