## page was renamed from OzydeJong/CentOS6 - HyperV = CentOS 6 and Microsoft Linux Integration Tools 3.2 for Hyper-V = A quick and dirty howto for using Linux Integration Tools 3.2 for Hyper-V R2 on CentOS / RHEL 6 (tested on 6.2) Original french version of this howto available here: * [[http://www.badministrateur.com/fr/node/119|http://www.badministrateur.com/fr/node/119]] == Prerequesites == Host OS: Microsoft Windows Server 2008 / 2008 R2 / Hyper-V Server / Hyper-V Server R2 Guest OS: RHEL 6.0, 6.1, CentOS 6.0 (as stated by Microsoft) == Basic installation == Grab a copy of the LinuxIC tools here http://www.microsoft.com/en-us/download/details.aspx?id=28188 After having inserted the iso in the virtual dvd drive, install the tools by: # mount /dev/cdrom /mnt # mkdir /opt/linuxIC # cp -R /dev/cdrom /opt/linuxIC # umount /dev/cdrom # /opt/linuxIC/install.sh Now reboot and test whether the installation was successful: # lsmod | grep hv should output something like hv_netvsc 21591 0 hv_utils 5661 0 hv_mouse 4217 0 hv_timesource 1079 0 [permanent] hv_storvsc 9087 3 hv_vmbus 29482 5 hv_netvsc,hv_utils,hv_mouse,hv_timesource,hv_storvsc,[permanent] == The ethernet problem == Now the point is that no ethernet card is detected, nor created while installing CentOS, so no ifcfg script exists. To get your ethernet running, ensure you have a synthetic ethernet card on the VM, and note its MAC address. You'll have to create a couple of files: /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static IPADDR=192.168.17.252 NETMASK=255.255.255.0 NETWORK=192.168.17.0 BROADCAST=255.255.255.255 GATEWAY=192.168.17.254 # Remember to put your MAC address here, unless it won't work HWADDR=00:15:5D:xx:xx:xx ONBOOT=yes TYPE=ethernet /etc/sysconfig/network NETWORKING=yes HOSTNAME=badministrateur.test.local /etc/resolv.conf search test.local nameserver 192.168.17.254 Once these files are created, you can finally enable your ethernet card by typing # ifup eth0 Well... this was easier in earlier installments of the LinuxIC tools, even the legacy ethernet card didn't do the trick for me.