If you find it useful, you can help me to point a praise it? Let me help you know
First of all, let me introduce my case
I have a laptop, it is connected to the network via wifi, win10 system
The first step: setting the Virtual Network Editor, our bridge mode bridged to one card, click on the Virtual Network Editor
If we do not know which one is the external network, you can go to their own view, I was
So to bridge to the Inte .......
The second step, after the completion of the bridge, to view the network information, before entering the system, we would like to confirm ip address of the host, gateway, DNS and other information.
The third step, back to our virtual machine executes commands modify the network card, and then enter the system configuration file editing card
Command
vi /etc/sysconfig/network-scripts/ifcfg-eth0
Here is my content:
DEVICE=eth0
HWADDR=00:0C:29:6F:09:94
TYPE=Ethernet
UUID=b5e7a961-aa7d-4112-8c82-bc672c222e5f
ONBOOT=no
NM_CONTROLLED=yes
BOOTPROTO=dhcp
The fourth step editing is complete, save and exit, and then restart the virtual machine network card or the entire virtual machine restart
Restart the virtual NIC command
/etc/init.d/network restart
The fifth step the ping www.baidu.com
You can ping, so we download an ab pressure measurement tool ( available for download can not download, I was back to only need to use tools to download ab )
yum -y install httpd-tools
You can also download, you have truly representative network
The sixth step and then we connect virtual machines through xshell
In view IP virtual machine on VMware Workstation
xshell corresponding fill port and IP
So much so, bin ~
If you find it useful, you can help me to point a praise it? Let me help you know ~