vi /etc/sysconfig/network-scripts/ifcfg-eth0
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=statics
IPADDR=192.168.1.200
NETMASK=255.255.255.0
GATEWAY=192.168.1.2
DNS1=114.114.114.114
DNS2=8.8.8.8
原文地址:https://www.cnblogs.com/lixu349/p/9565513.html
时间: 2024-10-31 20:10:26