Net way to achieve the host and virtual machine ping each other

Prior to ping each other to achieve the hosts and virtual machines using bridged mode, we discovered a problem.

When I changed the network environment, the situation of ping nowhere occurs.

Today check point data, using net manner hosts and virtual machines ping each other would not have happened.

NAT mode: popular speaking, ping the host virtual machine, there is a converter converting the host virtual machine NIC ip ip to the same segment, may realize the communication; and vice versa.

Virtual machine network connection mode selection NAT

 

 

 

 

 

 

 

 

 

 At this point we can achieve the host and virtual machines ping each other up!

 

Hey, no longer have to worry about the network environment

 

If you have questions, check out these links! ! !

Reference links ①: https://jingyan.baidu.com/article/fea4511a22ec88f7ba912566.html

Reference links ②: https://blog.csdn.net/qq_23412263/article/details/85318563

Guess you like

Origin www.cnblogs.com/single-dont/p/11450587.html
Recommended