当前位置:网站首页>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.
边栏推荐
- [WPF] realize language switching through dynamic / static resources
- Go, how to become a gopher, and find work related to go language in 7 days, Part 1
- 监听页面滚动位置定位底部按钮(包含页面初始化定位不对鼠标滑动生效的解决方案)
- Actual measurement of boot and pH pins of buck circuit
- What are the answers about older bloggers?
- In an SQL file, a test table and data are defined above, and you can select* from the test table below
- Halcon installation and testing in vs2017, DLL configuration in vs2017
- Day 014 2D array exercise
- [paper reading | cryoet] gum net: fast and accurate 3D subtomo image alignment and average unsupervised geometric matching
- Chaos and future of domestic digital collections
猜你喜欢
Analyze the roadmap of 25 major DFI protocols and predict the seven major trends in the future of DFI
Sqlmap(SQL注入自动化工具)
mysql 使用 DATE_FORMAT(date,'%Y-%m')
How can electronic component trading enterprises solve warehouse management problems with ERP system?
Zero technology is deeply involved in the development of privacy computing financial scenario standards of the ICT Institute
[introduction to cryoelectron microscopy] Caltech open class course notes part 3:image formation
Measured waveform of boot capacitor short circuit and open circuit of buck circuit
Mutationobserver document learning
[cryoelectron microscope | paper reading] interpretation of sub fault average m software: multi particle cryo EM refining with M
Halcon installation and testing in vs2017, DLL configuration in vs2017
随机推荐
LANDSCAPE
[paper reading] tomoalign: a novel approach to correcting sample motion and 3D CTF in cryoet
Mutationobserver document learning
Output 1234 three digits without repetition
MapReduce steps of each stage
Meizhi optoelectronics' IPO was terminated: annual revenue of 926million he Xiangjian was the actual controller
In the MySQL connector of flynk CDC, the MySQL field is varbinary, which is officially
Useful websites
QT connects two qslite databases and reports an error qsqlquery:: exec: database not open
State machine DP (simple version)
Solve the problem that CSDN cannot publish blog due to unknown copyright
[flask introduction series] installation and configuration of flask Sqlalchemy
Zip gzip tar compression Advanced Edition
Matrix decomposition and gradient descent
Resize2fs: bad magic number in super block
在js中,0表示false,非0表示true
智慧城市的应用挑战,昇腾AI给出了新解法
黑盒测试常见错误类型说明及解决方法有哪些?
Solving linear programming problems based on MATLAB
Space shooting Lesson 17: game over (end)