redhat 配置网卡的问题:__tmp网卡

问题描述:redhat 5.5配置网卡绑定时遇到的问题
1,配置系统网络时,出现网卡找不到的,同时ifconfig明显显示一个__tmp网卡

[root@tyzjj2 network-scripts]# ifconfig -a
__tmp472800909 Link encap:Ethernet  HWaddr E4:1F:13:80:5D:88  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:130 Memory:f4000000-f4012800
2,经查询,此为bug,原因是MAC地址没有在配置文件中
[root@tyzjj2 network-scripts]# vi ifcfg-eth5

DEVICE=eth5
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
MASTER=bond1
SLAVE=yes
TYPE=Ethernet

添加如下一行即可
HWADDR=E4:1F:13:80:5D:88

3,问题解决,由于网卡绑定,HWaddr显示为eth4的地址
eth4      Link encap:Ethernet  HWaddr E4:1F:13:80:5D:87  
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:5914 (5.7 KiB)
          Interrupt:122 Memory:f6000000-f6012800
eth5      Link encap:Ethernet  HWaddr E4:1F:13:80:5D:87  
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:130 Memory:f4000000-f4012800
参考资料         
https://bugzilla.redhat.com/show_bug.cgi?id=224662

你可能感兴趣的:(redhat,网络,UP)