一.筆者使用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