当前位置: 技术问答>linux和unix
用root]$ifconfig eth0 hw ether 11:22:33:55:66:aa设置网卡的MAC后,无法再用ifconfig eth0 up激活,怎么办?谢谢
来源: 互联网 发布时间:2015-12-08
本文导语: root]$ifconfig eth0 down root]$ifconfig eth0 hw ether 11:22:33:55:66:aa root]$ifconfig eth0 up SIOCSIFFLAGS: Cannot assign requested address [root@AT91RM9200DK /root]$ifconfig -a eth0 Link encap:Ethernet HWaddr 11:22:33:55:66:AA inet ...
root]$ifconfig eth0 down
root]$ifconfig eth0 hw ether 11:22:33:55:66:aa
root]$ifconfig eth0 up
SIOCSIFFLAGS: Cannot assign requested address
[root@AT91RM9200DK /root]$ifconfig -a
eth0 Link encap:Ethernet HWaddr 11:22:33:55:66:AA
inet addr:192.168.3.203 Bcast:192.168.3.255 Mask:255.255.255.0
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:100
Interrupt:24 Base address:0xc000
lo Link encap:Local Loopback
LOOPBACK MTU:16436 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:0
----------------
用命令设置MAC后,无法再激活网卡?怎么办呢?谢谢
root]$ifconfig eth0 hw ether 11:22:33:55:66:aa
root]$ifconfig eth0 up
SIOCSIFFLAGS: Cannot assign requested address
[root@AT91RM9200DK /root]$ifconfig -a
eth0 Link encap:Ethernet HWaddr 11:22:33:55:66:AA
inet addr:192.168.3.203 Bcast:192.168.3.255 Mask:255.255.255.0
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:100
Interrupt:24 Base address:0xc000
lo Link encap:Local Loopback
LOOPBACK MTU:16436 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:0
----------------
用命令设置MAC后,无法再激活网卡?怎么办呢?谢谢
|
IP地址有冲突?