当前位置:网站首页>VMware virtual machine network settings
VMware virtual machine network settings
2022-07-28 03:24:00 【worthsen】
VMware Virtual machine network settings
1 VMware
VMware The network is set with bridge mode 、 Host mode 、NAT Pattern .
open edit -> Virtual Network Editor See the following .
VMnet0: Used for virtual switches in bridge mode
VMnet1: For virtual switches in host only mode
VMnet8: be used for NAT Virtual switch in mode
stay Windows Check the network connection on the host to see the virtual VMware Network Adapter VMnet1 and VMware Network Adapter VMnet8 Two virtual network cards .
2 Three modes are introduced ( turn CSDN Blogger 「 Lo de 」 The original article of )
Copyright notice : This paper is about CSDN Blogger 「 Lo de 」 The original article of , follow CC 4.0 BY-SA Copyright agreement , For reprint, please attach the original source link and this statement .
Link to the original text :https://blog.csdn.net/qq_39192827/article/details/85872025
2.1 Bridging mode
Bridge mode is to communicate between host network card and virtual network card by virtual bridge . It's similar to virtualizing a physical host as a switch , All virtual machines with bridging settings are connected to an interface of this switch , The physical host is also plugged into the switch , So all the network cards under the bridge are in switching mode , Mutual access without interference . In bridge mode , virtual machine IP The address needs to be in the same network segment as the host , If networking is needed , Then the gateway and DNS It needs to be consistent with the host network card .
Such as 192.168.1 There are only 254 Host addresses , Therefore, the total number of virtual machines and physical in bridge mode cannot exceed this number .
2.2 NAT Pattern
Bridging mode may lead to some ip A shortage of resources , Now NAT Mode becomes the best choice .
stay NAT In the pattern , Host network card and virtual directly NAT Equipment connection , And then virtual NAT Devices and virtual DHCP The servers are connected together in a virtual switch VMnet8 On , In this way, virtual machine networking is realized .VMware Network Adapter VMnet8 Network card is to realize the communication between host and virtual machine .
NAT In this mode, the host is more like a virtual machine " Router ", adopt VMnet8 The virtual network card distributes addresses to virtual machines . Therefore, the virtual machine and the host are no longer under the same network segment , It can be understood as The host is a virtual machine " The superior ", This is why the bridge mode does not VMnet0 This virtual network card , because Virtual machines and hosts in bridge mode are " equality " Of , Share the same router .
NAT When the virtual machine in mode passes through the real host ip Visit the Internet .
2.3 Host only mode
Only host mode can be regarded as NAT Patterns remove the virtual NAT equipment , And then use VMware Network Adapter VMnet1 Virtual network card connection VMnet1 Virtual switch to communicate with virtual machine ,Host-Only Mode separates the virtual machine from the Internet , Make virtual machine an independent system , Only communicate with the host .
3 To configure
3.1 Bridging mode
- Select the network connection mode as the bridge mode in the virtual machine settings of the system
- edit -> Virtual network editor settings .



3.2 NAT Pattern
NAT When the virtual machine in mode passes through the real host ip Visit the Internet .
3.3 Host only mode

Reference resources
1、
2、VMware There are three network modes of virtual machine : Bridging mode ,NAT Pattern , Host only mode
3、 One network card is configured with two different network segments IP Address ( For example, the application gate project )
边栏推荐
- GNU General Public License v2.0 GNU General Public License
- Detailed tutorial of one click reinstallation of win7 system
- stm32F407-------DSP学习
- C WinForm development: how to add pictures to project resources
- 数据湖(十七):Flink与Iceberg整合DataStream API操作
- Stm32f407 ------- FPU learning
- 【下载文件】uniapp开发小程序,下载文件并保存到本地
- 关于权重衰退和丢弃法
- Talk about the speech synthesis function of Baidu University of science and technology news Feiyun Zhisheng
- When a dialog box pops up, the following form is not available
猜你喜欢

Engineering Geology Practice - engineering geology problem set

When a dialog box pops up, the following form is not available

redis网络模型解析

Kubernetes -- Introduction

max_pool2d(): argument ‘input‘ (position 1) must be Tensor, not NoneType

工程电磁场复习基本知识点

ssm整合(整合配置)

Win11黑色桌面背景如何解决?

线程基础

Color recognition method and exploration based on MATLAB
随机推荐
Redis persistence mechanism
Stm32f407 ------- FPU learning
[nature of class (in Objective-C language)]
C#设置Textbox控件不可编辑
一键重装win7系统详细教程
上位机与MES对接的几种方式
Redis经典面试题总结
Win11输入法的选字框不见了怎么办?
max_ pool2d(): argument ‘input‘ (position 1) must be Tensor, not NoneType
[acwing 327. corn field] shaped pressure DP
stm32F407-------DSP学习
max_pool2d(): argument ‘input‘ (position 1) must be Tensor, not NoneType
静态博客搭建工具汇总
【下载文件】uniapp开发小程序,下载文件并保存到本地
How to reinstall win11 system with one click
Win11怎么显示固定应用?
Summary of concurrent programming interview questions
Full of dry goods, hurry in!!! Easy to master functions in C language
Analysis of redis network model
VMware虚拟机网络设置