Networking issues between virtual machines in VMWare

Virtual Network in VMWare

There are three network connection modes in VMWare:

  1. VMnet0 (bridged mode)

insert image description here

  1. VMnet8 (NAT mode)

insert image description here

  1. VMnet1 (host only mode)

insert image description here

Network configuration in the virtual machine centOS

cd /etc/sysconfig/network-scripts
vi ifcfg-ens33

Please add a picture descriptionIf it is NAT mode, set the network adapter to NAT in VMWare, and configure centOS to the same network segment according to the network information of the host's virtual network card VMnet8.

insert image description hereinsert image description hereThis will allow you to ping the external network

insert image description here

Guess you like

Origin blog.csdn.net/w3222371135/article/details/131070220