当前位置:网站首页>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.
边栏推荐
- Amaze UI 图标查询
- Compare three clock circuit schemes of single chip microcomputer
- Volatile keyword parsing of C #
- [skill accumulation] common expressions when writing emails
- Jiamusi Market Supervision Bureau carried out special food safety network training on epidemic and insect prevention
- 下推分析的限制
- The new colleague wrote a few pieces of code, broke the system, and was blasted by the boss!
- Basic introduction to pod
- Technology sharing | quick intercom integrated dispatching system
- Blue Bridge Cup group a selection XOR
猜你喜欢
功能自动化测试实施的原则以及方法有哪些?

Halcon installation and testing in vs2017, DLL configuration in vs2017

IonIcons图标大全

@JsonSerialize注解的使用

C language data type
![[lecture notes] how to do in-depth learning in poor data?](/img/7d/5767c078600bd88b7d2146069f4f40.jpg)
[lecture notes] how to do in-depth learning in poor data?

My entrepreneurial neighbors

How to draw an excellent architecture diagram
黑盒测试常见错误类型说明及解决方法有哪些?

The new generation of public chain attacks the "Impossible Triangle"
随机推荐
Autojs微信研究:微信自动发送信息机器人最终成品(有效果演示)
MySQL 45讲 | 08 事务到底是隔离的还是不隔离的?
Excellent urban design ~ good! Design # visualization radio station will be broadcast soon
Research on autojs wechat: the final product of wechat automatic information sending robot (effective demonstration)
Pat class a 1154 vertex shading
RoBERTa:A Robustly Optimized BERT Pretraining Approach
MySQL 45 讲 | 07 行锁功过:怎么减少行锁对性能的影响?
String类
佳木斯市场监管局开展防疫防虫害专题食品安全网络培训
20 hacker artifacts
Pytest set (7) - parameterization
330. Complete the array as required
Dilworth theorem
【深度学习】数据准备-pytorch自定义图像分割类数据集加载
Volatile keyword parsing of C #
[introduction to cryoelectron microscopy] Caltech open class course notes part 3:image formation
Better performance and simpler lazy loading of intersectionobserverentry (observer)
@Use of jsonserialize annotation
State machine DP (simple version)
NLP introduction + practice: Chapter 5: using the API in pytorch to realize linear regression