当前位置:网站首页>How to connect VMware virtual machine to external network under physical machine win10 system
How to connect VMware virtual machine to external network under physical machine win10 system
2022-07-29 07:54:00 【Never Done777】
Get ready :1)setenforce 0 # Modify the current operation mode
2)systemctl stop firewalld # Turn off firewall
1. Configure for virtual machine IP Address

step : Three settings permanent IP Use one of them ; The other two are updated later
1)# vim /etc/default/grub #grub Kernel bootloader Enter the configuration file to repair

2: Profile add :net.ifnames=0 biosdevname=0
3) grub2-mkconfig -o /boot/grub2/grub.cfg # Regenerate the rules for network card naming
4) reboot # The operating system must be restarted to take full effect 4
5)ifconfig | head -2
6)nmcli connection add type ethernet ifname eth0 con-name eth0
analysis : nmcli connection add to type Ethernet devices The network card device name is eth0 nmcli The command is named eth0( Rename can be eth1 This location )
7)nmcli connection modify eth0 ipv4.method manual ipv4.addresses 192.168.2.5/24 ipv4.gateway 192.168.2.200 connection.autoconnect yes
notes :IP by 192.168.2.5/24 ; gateway 192.168.2.200
8)nmcli connection up eth0 # Activate
9) nmcli connection show see
as follows :

10) see IP Address # ip address show( ip a s)

2: To configure VMware
1)

2)

3)

Above it, you can connect to the Internet
The following is a MobaXterm And virtual machine SSH Remote connection test
3. Configure physical host
1)

2)

4. open MobaXterm Software
1)

2)### Input root Password entry ping www.baidu.com

3) VMware Virtual machine Firefox visit

vmware Internet on virtual machine Configuration needs : systemctl restart network
The error message is :Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
边栏推荐
- MySQL 45 | 08 is the transaction isolated or not?
- Pytorch's skill record
- Mutationobserver document learning
- Access数据库引入datagridview数据后,显示错误
- The new colleague wrote a few pieces of code, broke the system, and was blasted by the boss!
- What are the answers about older bloggers?
- Jianmu continuous integration platform v2.5.2 release
- [experience] relevant configuration of remote connection to intranet server through springboard machine
- [skill accumulation] presentation practical skill accumulation, common sentence patterns
- Strongly connected component
猜你喜欢
![[freeze electron microscope] analysis of the source code of the subtomogram alignment function of relion4.0 (for self use)](/img/fe/0efdd151f9661d5cd06a79b7266754.png)
[freeze electron microscope] analysis of the source code of the subtomogram alignment function of relion4.0 (for self use)

Analyze the roadmap of 25 major DFI protocols and predict the seven major trends in the future of DFI
![[deep learning] data preparation -pytorch custom image segmentation data set loading](/img/7d/61be445febc140027b5d9d16db8d2e.png)
[deep learning] data preparation -pytorch custom image segmentation data set loading

多线程购物

Go 事,如何成为一个Gopher ,并在7天找到 Go 语言相关工作,第1篇

RoBERTa:A Robustly Optimized BERT Pretraining Approach

Effective learning of medical image segmentation annotation based on noise pseudo tags and adversarial learning

Jiamusi Market Supervision Bureau carried out special food safety network training on epidemic and insect prevention

Jump from mapper interface to mapping file XML in idea

Go, how to become a gopher, and find work related to go language in 7 days, Part 1
随机推荐
UPC 小C的王者峡谷
Chaos and future of domestic digital collections
Cross domain problems when downloading webapi interface files
C# 之 volatile关键字解析
Access数据库引入datagridview数据后,显示错误
Some thoughts on growing into an architect
Basic introduction to pod
Day 014 2D array exercise
[untitled] format save
多线程购物
[paper reading] tomoalign: a novel approach to correcting sample motion and 3D CTF in cryoet
Jianmu continuous integration platform v2.5.2 release
Keyboard processing in jetpack compose
For the application challenge of smart city, shengteng AI gives a new solution
Sqlmap (SQL injection automation tool)
Popular cow G
[flask introduction series] installation and configuration of flask Sqlalchemy
Embroidery of little D
Pat class a 1150 traveling salesman problem
MySQL uses date_ FORMAT(date,'%Y-%m')