CentOS5: Device eth0 has different MAC address than expected
<br />http://sys.firnow.com/linux/x8002010n08m/27s90182462.html<br /> <br />Centos/linux重启出现错误信息: <br />Device eth0 has different MAC address than expected<br />应该是dmesg 和 eth0 配置文件之间的冲突。<br />[root@b
http://sys.firnow.com/linux/x8002010n08m/27s90182462.html
Centos/linux重启出现错误信息:
Device eth0 has different MAC address than expected
应该是dmesg 和 eth0 配置文件之间的冲突。
[root@banyue.net ~]# dmesg | grep eth0
divert: allocating divert_blk for eth0
eth0: RTL-8139C+ at 0xd0842000, 40:61:86:ED:25:E7, IRQ 11
plumlee.cublog.cn
[root@banyue.net ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
HWADDR=40:61:86:ED:35:17
ONBOOT=yes
TYPE=Ethernet
IPADDR=192.168.122.101
NETMASK=255.255.255.0
GATEWAY=192.168.122.1
DNS1=192.168.122.1
[AD:TruCheck USB条码检测仪 www.webscaninc.com.cn]
改正很简单,HWADDR=40:61:86:ED:35:17 改成正确的40:61:86:ED:25:E7 就OK了
HWADDR=40:61:86:ED:25:E7
如果你用dmesg | grep eth0这个命令看不到MAC地址的话,可以用ifconfig eth0这个命令来看。看到就记录下来,在ifcfg-eth0中改就可以了。
文章出处:飞诺网(www.firnow.com):http://sys.firnow.com/linux/x8002010n08m/27s90182462.html
更多推荐
所有评论(0)