1. Go to the Virtual Network Editor
2. Change settings
3. Set Gateway
4. Set the start IP
The configuration of the computer network in accordance with a corresponding virtual machine settings
6. Configure the network centos
vim /etc/sysconfig/network-scripts/ifcfg-ens33
IPADDR=192.168.19.131
NETMASK=255.255.255.0
GATEWAY=192.168.19.2
DNS1=8.8.8.8
DNS2=8.8.8.4
IPADDR="192.168.19.132"
NETMASK="255.255.255.0"
GATEWAY="192.168.19.2"
DNS1="8.8.8.8"
DNS2="8.8.8.4"
7. Restart Network
systemctl restart network.service
8. Enjoy