配置vim /etc/sysconfig/network-scripts/ifcfg-ens33
IPADDR = 你的本机ip 192.168.1. 的范围内
NETMASK = 255.255.255.0
GATEWAY = 192.168.1.1 你的本机网关ip
Service network restart 最后重启 查看ifconfig