解決問題

linux 指令 ip a / ip addr / ifconfig 不顯示ip問題
原因:CentOS 7.x 預設不開啟網卡
修改ens33網卡配置檔案
cd ect/sysconfig/network-scripts/
vi ifcfg-ens33
目錄
vi ifcf-ens33 修改(ONBOOT=no)-> (ONBOOT=yes)
儲存檔案,重新開機網關伺服器
指令:systemctl restart network
完成