当前位置:网站首页>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.
边栏推荐
- UPC 小C的王者峡谷
- In an SQL file, a test table and data are defined above, and you can select* from the test table below
- Output 1234 three digits without repetition
- Halcon installation and testing in vs2017, DLL configuration in vs2017
- 多线程购物
- 330. Complete the array as required
- My entrepreneurial neighbors
- In JS, 0 means false, and non-0 means true
- Popular cow G
- 10 common software architecture modes
猜你喜欢

CDM - code division multiplexing (easy to understand)

Halcon installation and testing in vs2017, DLL configuration in vs2017

Compare three clock circuit schemes of single chip microcomputer

Useful websites

2022年深圳杯A题破除“尖叫效应”与“回声室效应”走出“信息茧房”

LANDSCAPE

Keyboard processing in jetpack compose

【深度学习】数据准备-pytorch自定义图像分割类数据集加载

RoBERTa:A Robustly Optimized BERT Pretraining Approach

Amaze UI icon query
随机推荐
Amaze UI icon query
Dilworth theorem
MapReduce各阶段步骤
RoBERTa:A Robustly Optimized BERT Pretraining Approach
[flask introduction series] installation and configuration of flask Sqlalchemy
UPC 小C的王者峡谷
As long as flutter is data, it will be judged null
QT connects two qslite databases and reports an error qsqlquery:: exec: database not open
Getting started with JDBC
佳木斯市场监管局开展防疫防虫害专题食品安全网络培训
基于高阶无六环的LDPC最小和译码matlab仿真
技术分享| 快对讲综合调度系统
Strongly connected component
Sort out the two NFT pricing paradigms and four solutions on the market
flutter只要是数据,都会判空的
Solve the problem that CSDN cannot publish blog due to unknown copyright
What are the common error types and solutions of black box testing?
MySQL 45 讲 | 07 行锁功过:怎么减少行锁对性能的影响?
[note] the art of research (understand the importance of the problem)
Basic introduction to pod