How do I set up a virtual machine network on a single computer with VM and Linux?

Updated on technology 2024-02-09
4 answers
  1. Anonymous users2024-02-05

    Solution to the problem that the virtual machine cannot access the Internet when the Linux system is installed.

    The specific steps are as follows:

    1. Open the virtual machine, if the [Network Adapter] is not in NAT mode, we need to change it to NAT mode and save it.

    2. Open cmd, enter the command:, the service and application page will pop up after entering, we need to find the two service processes of VMware DHCP Service and VMware NAT Service.

    3. After these two service processes are found, if they are not started, we need to right-click --- start them respectively.

    4. Start the virtual machine, check whether you can connect to the Internet, if you can't access the Internet, we need to open the CentOS terminal, enter the command: shutdown -r now, restart the CentOS system, and you can access the Internet.

  2. Anonymous users2024-02-04

    The following describes how to network a Linux virtual machine:

    First, open the Linux virtual machine and perform the following operations: [system] --preferences] --network connections], as shown in the following figure:

    After performing the above operation, you will enter the following page, and you need to perform the following operations: [wired] --system eth0] --edit]. As shown in the figure below:

    Then select Connect Automaticlly and click on IPv4 Settings, select Automatic (DHCP) in Method, and click Apply. As shown in the figure below:

    After the preceding operations, the Linux network can be set up successfully.

  3. Anonymous users2024-02-03

    1. Change the network card VMware Network Adapter VMNET8 to DHCP to automatically obtain the IP.

    2. Customize the NIC of the Linux virtual machine to the VMware Network Adapter VMnet8 NIC as shown in the following figure:

    3. Share the network card (wired network card or wireless network card) that you are currently surfing the Internet to the VMware Network Adapter VMNet8 network card; Open NIC Properties and then Share. As shown below:

    4. At this time, check the connection details of the VMware Network Adapter VMNet8 network card, this network card has automatically obtained an IP address, change it to manual, and set the DNS to the DNS of the physical machine to surf the Internet, as shown in the following figure

    5. At this time, you can configure the IP address of the network card of the Linux virtual machine to the IP address of this segment, and the gateway is configured as ; The DNS is configured to be the DNS address of the VMware Network Adapter VMet8 NIC, and the Linux VM should be able to ping the physical machine and the Internet.

    At this point, the configuration of the Internet on the Linux virtual machine is complete!!

  4. Anonymous users2024-02-02

    Choose NAT or Overseas Chinese Federation.

Related questions
15 answers2024-02-09

For the low end, AMD is recommended

AMD Athlon64 X2 4200+ (Box) 420Ԫ. >>>More

18 answers2024-02-09

One iTunes can only recognize one phone, and if two are plugged in at the same time, of course, only one phone can be recognized.

17 answers2024-02-09

CPUAMD Athlon™ II X4 631 (Case) 360 Motherboard ASUS F1A55-M LE 535 >>>More

17 answers2024-02-09

The following is the source code:

The subroutine Startup Window is created. >>>More

8 answers2024-02-09

I took it in the unit, connect the 3G wireless network card to the U port, you can use it, with software, the installation is also very simple, but others may access the Internet through you, because you can't disable your network card, otherwise the external and internal networks can not be on, you may also introduce the virus of the external network into your computer, and then spread to the entire local area network, and at the same time there is a danger of leaking secrets to the Internet, if your unit does not have this prevention requirement, you can use, I am in the power supply bureau, our electricity sales system is absolutely not connected to the external network, this can not afford to play, The dual network cards mentioned upstairs are not good, on the surface they are separated, but the virus will pass through your computer as a medium, although you have not built a bridge. >>>More