問題出現(xiàn)點(diǎn):

image
有兩種解決方案:
第一種:
使用圖形界面

image

image

image

image
再次使用語句ifconfig -a|more

image
第二種:
使用語句
cd /etc/sysconfig/
ls

image.png
cd network-scripts
vi ifcfg-ens33

image.png
再次查看
service network restart
ifconfig -a|more

image.png