标签:配置 otp bootproto ns2 pad centos7 虚拟 network sysconfig
cd /etc/sysconfig/network-scripts/
vi ifcfg-enp0s3
1.修改配置
BOOTPROTO=static
2.新增配置(查询宿主机对应的信息)
IPADDR=192.168.0.17
GATEWAY=192.168.1.1
NETMASK=255.255.240.0
DNS1=219.141.136.10
DNS2=219.141.140.10
NM_CONTROLLED=no
标签:配置 otp bootproto ns2 pad centos7 虚拟 network sysconfig
原文地址:https://www.cnblogs.com/jiuchongxiao/p/8966771.html