vi /etc/sysconfig/network-scripts/ifcfg-en-xx#追加BOOTPROTO=dhcpONBOOT=yesIPADDR=192.168.x.xNETMASK=255.255.255.0#重启网络systemctl restart networkping baidu.com
本文共 207 字,大约阅读时间需要 1 分钟。
vi /etc/sysconfig/network-scripts/ifcfg-en-xx#追加BOOTPROTO=dhcpONBOOT=yesIPADDR=192.168.x.xNETMASK=255.255.255.0#重启网络systemctl restart networkping baidu.com
转载于:https://www.cnblogs.com/xixisix/p/11043098.html