關機,添加新網卡
登入系統
# ip addr //獲取新增網卡的信息(設備名稱,MAC地址等)
拷貝一份新的網卡配置文件,並修改
# cd /etc/sysconfig/network-scripts
# cp -f ifcfg-eno33554992 ifcfg-eno16777736
# cat ifcfg-eno1677773
重啓網卡
# systemctl restart network (拋出LSB異常)
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
ifconfig查看,也出現了ip,可以連接(上述問題查了好久,還是沒解決,而且systemct restart/stop/start network 失效 )
嘗試重啓,結果上述問題全部修復
小結:
這次回顧網絡的同時,有一個參數記不清了:
BOOTPROTO=dhcp
大寫DHCP錯誤,哎,不常用就忘了。