-
LAN mode:
If the host is connected to the Internet through the gateway or ** in the LAN, the network mode of the virtual machine is set to bridged connection, and the IP address is set to the same host in a network segment, such as the host IP is, the gateway is, and the IP of the virtual machine is set to one of them, be careful not to duplicate the existing IP, and then the gateway is also set to, and you can access the Internet.
Broadband dial-up mode:
There are three ways to do this in this case:
1. The network mode of the virtual machine is set to bridged connection, sharing is enabled in the dial-up connection, the service "routing and remote access" is started, the IP of the virtual machine is set to one of them, and the gateway is set to .
2. The network mode of the virtual machine is set to NAT mode, the three services of VMware are started, and the IP of the virtual machine is set to automatically obtained.
3. Install ** software such as ccproxy, set the host IP to a LAN IP such as, set the virtual machine IP to one of them (not use 23), start the service "routing and remote access", and set the browser in the virtual machine ** and **port number.
-
When you use VM Workstation to create a virtual machine, you can choose which virtual NIC to use and which connection mode to use. There are three types by default: VMNET0 (bridge network), VMNET1 (host network only), and VMNET8 (NAT network), of course, you can add VMNET2 to VMNet7, VMNET9 and other 7 virtual NICs as needed.
Here's an introduction:
1. Let's talk about the simplest vmnet1 first, this mode is called host-only mode.
The implication is that a virtual machine can only communicate with the host and the virtual machines on that host. Let's take a look at this ** explanation. VMNET1 is equivalent to a network card, or a switch, after the virtual machine is assigned an address, each virtual machine can only access its own host and its own virtual machine independently.
For example, in this diagram, the LAN switch is a real switch. Virtual machine A1, virtual machine A2 and host A can be accessed from each other. VM B and VM B1 can also access each other.
However, B and B1 on the left of the dashed line cannot communicate with A, A1 and A2 on the right of the dashed line.
2. NAT mode: This is VMNET8 of the virtual machine.
This mode is exactly the same as the NAT mode in the server. A detailed understanding of the NAT pattern is required. For example, in a large server system, there are web servers, FTP servers, database servers, etc., then these are mapped out through the address of the intranet.
That is, a port corresponds to a service. The other party can only come in through a specific port number, and other than that, they cannot access the host. In this diagram, VMs A1 and A2 are just a specific server equivalent to Host A that can access Host B, but not VM B1.
Similarly, virtual machines B1 cannot access virtual machines A1 and A2. One thing to keep in mind about this model is one-way access.
3. Bridge mode: This corresponds to vmnet0.
This mode is the simplest one. In this mode, the virtual machine is a single machine with no other limitations. Virtual machines and hosts are connected to the outside world through the virtual switch vmnet0.
There is a separate IP, and you can contact each host of the interconnection at will. For example, in this diagram, virtual host A1 A2 B1 and host A B can be arbitrarily connected with each other without any restrictions.
-
Virtual machine refers to a complete computer system with complete hardware and split system functions simulated by software, and the shielded wheel runs in a completely isolated environment. Each virtual machine has its own CMOS, hard disk, and operating system, and can be operated on the virtual machine as if it were a physical machine.
-
1. Use NAT mode, so that the virtual machine can access the Internet through the host, and some firewalls can avoid the restrictions of some firewalls on IP MAC. The disadvantage is that the IP and host are not on the same network segment. This is the default setting after the virtual machine is installed.
2. Bridge mode, so that the virtual machine can have its own IP, and the same network segment as the host should be set.
3. host-only, the network card of the virtual machine is connected to the vmnet1 of the host. By default, a virtual system can only communicate with the host computer.
To set the specific method, double-click the NIC of the virtual machine to display the selection screen.
-
Set the NIC to bridge mode, the IP configuration of the NIC and the host can be in the same network segment, and the DNS settings of other mask gateways can be the same as the host.
-
If you choose NAT as the network mode, you don't need to set anything in the virtual system, and you can connect to the network directly.
Is the signal good? A lot of them are ping-proof now
Preparation before production:
1. Prepare a USB flash drive, and the size of the USB flash drive is determined by yourself. Of course, if you want to install win7 or win8 with a u disk, it is recommended that the capacity is larger, at least 3 4g is required, even if you use a u disk to install the xp system, it also needs 600MB. >>>More
Bridging mode: With the bridging mode, the relationship between the virtual machine and the real host is like two computers connected to the same hub, and if you want them to communicate, you need to configure the IP address and subnet mask for both parties. >>>More
When setting up a virtual machine, use the option "Use Bridged Network". >>>More
I've made a USB flash drive boot disk for a computer store, and in fact I have a lot of them, plug the USB boot disk into the computer first. >>>More