Hyper-V安装Centos 6.0网卡无法识别解决
用Centos 6.0后,这个方法不再可行了。解决如下:
1. 下载微软虚拟机Linux集成服务 Linux Integration Services v3.1
2. 加载光盘镜像
3. 挂载光盘镜像并安装
# mount /dev/cdrom /mnt
# cd /mnt/X86
# rpm -ivh kmod-microsoft-hyper-v-rhel6-60.1.i686.rpm
# rpm -ivm microsoft-hyper-v-rhel6-60.1.i686.rpm
4. 网卡配置
# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
HWADDR="00:15:5D:01:FA:1B"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO="static"
IPADDR="192.168.1.10"
NETMASK="255.255.255.0"
GATEWAY="192.168.1.1"