兔八哥极品软件园    运行: 2792天 | 文章:587 篇 | 评论:39 条 | 碎语:1条

vmware centos 添加网卡

作者:admin 发布于:2015-6-5 17:38 Friday 分类:网络转载


# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x8086:0x100f (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:52:7b:c7", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x8086:0x100f (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:52:7b:d1", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
 
vmware centos 添加网卡

vi /etc/udev/rules.d/70-persistent-net.rules  #可以看到有两块网卡

复制eth1的网卡的MC地址,下一步我们要创建ifcfg-eht1文件

cd /etc/sysconfig/network-scripts/
cp ifcfg-eht0  ifcfg-eht1


 
 

 


Powered by 兔八哥极品软件 苏ICP备12049267号 sitemap