Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1124902
  • 博文数量: 188
  • 博客积分: 2267
  • 博客等级: 大尉
  • 技术积分: 1907
  • 用 户 组: 普通用户
  • 注册时间: 2011-08-01 11:17
文章分类

全部博文(188)

文章存档

2016年(16)

2015年(16)

2014年(12)

2013年(32)

2012年(45)

2011年(67)

分类: LINUX

2011-08-22 14:50:55

用ifconfig 查看出现一些异常现象,比如(eth1,eth2,eth0-eth1),有时候 /etc/init.d/network restart

1. #/etc/init.d/NetworkManager stop
      chkconfig NetworkManager off 

2.# vim /etc/udev/rules.d/70-persistent-net.rules 
# PCI device 0x8086:0x1049 (e1000e) (custom name provided by external tool)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1c:25:be:38:1a", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

 没加一块网卡时候在这里都会产生一个,看看这个mac地址和ifconfig 所看到的一样吗,如果不一样就该成一样的,然后保存退出!
阅读(1760) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~