1. Configure the virtual network editor on Vm
2. Configure VMnet8 on windows
3. Configure ens33 network card on centos7
Note that some linux is ifcfg-eth0 network card
vim /etc/sysconfig/network-scripts/ifcfg-ens33
Modify the following parameters:
4. Restart the network service and test
By command:
systemctl restart network
or:
Check the network card ip:
No interface can be tested by ping command