Install RedHat6.x integration service (network adapter supported) in Hyper-V)

Source: Internet
Author: User
First go to Microsoft download Integrated Services http://www.microsoft.com/downloads/zh-cn/details.aspx? Familyid = c1256a7f-8a2d-4b18-851c-63b22ca976d3 & amp; displaylang = zh-cn then stop RedHatEnterpriseLinux6 In the hyper-v manager, remove the old network adapter from the settings, and add the new network

First download the integration service from Microsoft

Http://www.microsoft.com/downloads/zh-cn/details.aspx? Familyid = c1256a7f-8a2d-4b18-851c-63b22ca976d3 & displaylang = zh-cn

In the hyper-v manager, stop RedHat Enterprise Linux 6, remove the old network adapter from the settings, add the new network adapter, and then attach the downloaded image to the DVD drive, save settings. Start linux.

Log on as the root user. The following result is displayed when ifconfig-a is executed:

Lo Link encap: Local Loopback

Inetaddr: 127.0.0.1 Mask: 255.0.0.0

Inet6addr ::: 1/128 Scope: Host

Uploopback running mtu: 16436 Metric: 1

RXpackets: 0 errors: 0 dropped: 0 overruns: 0 frame: 0

TXpackets: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0

Collisions: 0 txqueuelen: 0

RXbytes: 0 (0.0 B) TX bytes: 0 (0.0 B)

It indicates that only the connection is changed and no Nic is available.

Install the integration service

Mkdir/mnt/cdrom (create the cdrom directory)

Mount/dev/cdrom/mnt/cdrom (mount the mounted image file)

There are two directories in cd/mnt/cdrom: x86 and x86_64. The former is for 32-bit operating systems and the latter is for 64-bit operating systems.

When the arch command is executed, i686 indicates that x86_64 is 64-bit, and the corresponding directory is displayed according to your own situation (my directory is 32-bit and I enter the X86 directory ).

Rpm-ivh kmod-microsoft-hyper-v-rhel6-60.1.x86_64.rpm

Rpm-ivh microsoft-hyper-v-rhel6-60.1.i686.rpm

Restart the system after installation.

Reboot

Run ifconfig-a to log on as the root user. The following result is displayed.

Eth2 Link encap: Ethernet HWaddr 00: 15: 5D: E8: D9: 11

Inetaddr: 192.168.1.140 Bcast: 192.168.1.255 Mask: 255.255.255.0

Inet6addr: 2001: da8: 20c: 502: 215: 5dff: fee8: d911/64 Scope: Global

Inet6addr: fe80: 215: 5dff: fee8: d911/64 Scope: Link

Upbroadcast running multicast mtu: 1500 Metric: 1

RXpackets: 11202 errors: 0 dropped: 0 overruns: 0 frame: 0

TXpackets: 460 errors: 0 dropped: 0 overruns: 0 carrier: 0

Collisions: 0 FIG: 1000

RXbytes: 1147316 (1.0 MiB) TX bytes: 67755 (66.1 KiB)

Lo Link encap: Local Loopback

Inetaddr: 127.0.0.1 Mask: 255.0.0.0

Inet6addr ::: 1/128 Scope: Host

Uploopback running mtu: 16436 Metric: 1

RXpackets: 0 errors: 0 dropped: 0 overruns: 0 frame: 0

TXpackets: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0

Collisions: 0 txqueuelen: 0

RXbytes: 0 (0.0 B) TX bytes: 0 (0.0 B)

This indicates that the ENI has been successfully discovered.

Configure the NIC

Configuration File Location/etc/sysconfig/network-scripts/ifcfg-seth0. My configuration is as follows:

DEVICE = seth0

BOOTPROTO = static (obtain ip address)

IPADDR = 192.168.1.140

NETMASK = 255.255.255.0

GATEWAY = 192.168.1.1

ONBOOT = yes (automatically activated upon startup)

After the configuration is complete, run the following command servicenetwork restart to restart the network service. Now you can connect to linux without using the old network adapter.

Note:

Host supported by this integration service

Windows Server 2008 Standard, Windows Server 2008 Enterprise, and Windows

Server2008 Datacenter (64-bit versions only)

MicrosoftHyper-V Server 2008

Windows Server 2008 R2 Standard, Windows Server 2008 R2 Enterprise, andWindows

Server2008 R2 Datacenter

Note

MicrosoftHyper-V Server 2008 R2

Supportedversions include those updated with Service Pack 1 or Service Pack 2, where available.

Guest host supported by this integration service

Thisversion of Linux Integration Services supports the following guestoperating systems and

VirtualCPU (vCPU) deployments:

RedHat Enterprise Linux 6.0 and 6.1x86 and x64 (Up to 4 vCPU)

CentOS6.0 x86 and x64 (Up to 4 vCPU)

Othersupported operating systems (including SUSE Linux Enterprise Server10 and Red Hat

EnterpriseLinux 5) shocould use the version of Linux Integration Servicesavailable

Http://www.microsoft.com/downloads/en/details.aspx? FamilyID = eee39325-898b-4522-9b4cf4b5b9b64551.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.