标签:sysconfig start pad nbsp pts stat star etc network
1、配置ip
vim /etc/sysconfig/network-scripts/ifcfg-eno16777736
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.1.99
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
2、配置dns
vim /etc/sysconfig/network
NETWORKING=yes
GATEWAY=192.168.1.1
DNS1=192.168.1.1
3、重启network服务
systemctl restart network.service
标签:sysconfig start pad nbsp pts stat star etc network
原文地址:https://www.cnblogs.com/kaishi/p/9562912.html