Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Understanding of three network card modes of virtual machine: bridging, NAT and Host only

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

For those who have just come into contact with the virtual machine, I may not find a rule for the mode of the virtual machine network card at first. I have summed up some experience from using it and draw some pictures to show it. Please correct anything that is wrong.

I.

The bridging mode is like using a computer network card as a switch, and the virtual machine and win7 are directly connected to this switch, and the virtual machine and win7 are on the same network segment.

II.

In NAT mode, the virtual machine is bound to the virtual network card, and then the virtual network card accesses the Internet by NAT through the computer network card, and the virtual machine and the local system have different network segments.

Generally, when the NAT mode is automatically selected, the VMnet8 network card is selected as the NAT network card by default. We can also manually set a certain network card as the NAT network card, and I set VMnet1 as the NAT network card.

3.

The virtual machine is only bound to the virtual network card and does not communicate with the external network

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 256

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report