VMware Workstation虚拟机网络设置
程序员文章站
2022-05-10 13:10:23
...
centos中网络设置
cd /etc/sysconfig/network-scripts
vi ifcfg-ens33
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens33
NM_CONTROLLED=no
DEVICE=ens33
ONBOOT=yes
PROXY_METHOD=none
BROWSER_ONLY=no
BROADCAST=192.168.133.255
IPADDR=192.168.133.128
NETMASK=255.255.255.0
GATEWAY=192.168.133.2