首页 > 其他 > 详细

ifconfig设置ip时出现提示 ifconfig: SIOCSIFFLAGS: Address not available

时间:2018-11-26 19:02:33      阅读:202      评论:0      收藏:0      [点我收藏+]

一.笔者使用ifconfig观察网卡情况如下:

root@jello:/# ifconfig eth0

eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
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)

从HWaddr为0看出有异常(网卡的MAC地址是网络通信的基础)

二.笔者的解决方法为:设置网卡的mac地址,如:

ifconfig eth0  hw ether 43:1d:32:81:32:22

ifconfig设置ip时出现提示 ifconfig: SIOCSIFFLAGS: Address not available

原文:https://www.cnblogs.com/dakewei/p/10021879.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!