赞
踩
vi /etc/sysconfig/network-scripts/ifcfg-ens33
BOOTPROTO=static
ONBOOT=yes
IPADDR="192.168.x.y"
GATEWAY="192.168.40.2"
NETMASK="255.255.255.0"
DNS1="8.8.8.8"
DNS2="114.114.114.114"
systemctl stop firewalld
systemctl disable firewalld
systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl restart network
ping www.baidu.com
ping 192.168.40.128
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。