1.通过ifconfig命令查看当前的网络设置 2. 2.需到修改 etc/sysconfig/network-scripts/ifcfg-enp0s3这个文件 转载于:https://www.cnblogs.com/mc-r/p/11624484.html