Linux Virtual machine configuration network problem Terminator

Source: Internet
Author: User

LINUX virtual machine does not have internet terminator

(There is a picture of the truth no figure BB Yarn)

First understand three kinds of virtual machine three network mode:

    1. Bridge connection
    2. Nat
    3. Host-only

First bridge the Internet:

Bridge network refers to the local physical network card and virtual network card through the VMnet0 Virtual Switch Bridge, physical network card and virtual network card in the topology map on the same status, then the physical network card and virtual network card is equivalent to the same network segment, Virtual switch is equivalent to a real network switch, Therefore, the IP address of the two network card should also be set to the same network segment. (At this point the machine of the virtual machine has the same network segment IP address as the real machine)

Topology diagram:

Don't like to rip straight up the steps

To configure under Windows comparison:

Windows command-line mode: ipconfig

Write down these three key messages:

Say bridging mode online others are accessible to you if you are building a virtual machine that is used for testing, it is more inconvenient to use NAT mode:

NAT Internet:

(This time the virtual machine's network is quite a small LAN when someone can't access your virtual machine.) You can set the IP address subnet mask step in the virtual machine LAN.

In NAT mode, the virtual machine is allowed to access the public network by means of a NAT (network address translation) function, which is located on the network hosting the machine.

In NAT mode, the network of the virtual machine's NIC and the physical NIC, not the same network, the virtual machine's NIC, is a virtual network provided in VMware.

This is the virtual machine bridging mode topology diagram:

host-only

In host-only mode, the virtual network is a fully enclosed network, and the only access to it is the host. In fact, Host-only Network and NAT network is very similar, the difference is that the Host-only network does not have NAT service, so the virtual network can not connect to the Internet. Communication between the host and the virtual machine is achieved through the VMware network adepter VMnet1 virtual network card.

Host-only's aim is to create an internal network that is isolated from the outside world to improve the security of the intranet. This feature may not make much sense to ordinary users, but large service chambers often take advantage of this feature. If you want to provide routing capabilities for the VMnet1 segment, you need to use RRAS instead of XP or 2000 ICS because ICS will change the IP address of the intranet to 192.168.0.1, but the virtual machine will not assign this address to the VMNET1 virtual network card, then the host and the virtual machine will not be able to communicate

Specific configuration will not say the same is not repeat

Foreign articles

What the hell?

Once the NAT mode network is configured, you can download a Xshell installation to connect your virtual machine to the virtual machine management

Linux Virtual machine configuration network problem Terminator

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.