1. After installing CENTOS7, modify the virtual machine network adapter configuration: Change to bridge mode
2. Setting up the Virtual network editor for VMware editing
3. Restart CentOs7 to view the network
# IP Addr
Interface is: ENS33
4. View the local real machine IP, then configure the virtual machine fixed IP
Windows enters command-line mode cmd:
# Ipconfig/all
The virtual machine IP configuration under Linux is:
# VIM/ETC/SYSCONFIG/NETWORK-SCRIPTS/IFCFG-ENS33
The configuration is as follows:
Type=ethernet
Proxy_method=none
Browser_only=no
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
uuid=326fb08b-32b1-4596-9e68-10c6656bdf78
Device=ens33
Onboot=yes
hwaddr=00:0c:29:51:f5:5f
ipaddr=192.168.0.106
netmask=255.255.255.0
Nm_controlled=no
gateway=192.168.0.1
dns1=211.136.192.6
5. Restart the network
# Service Network Restart
Configure fixed IP in VMware under CENTOS7 bridging mode