How to interconnect two computers with one virtual machine LINUX

Source: Internet
Author: User
How to interconnect two computers with one virtual machine LINUX-general Linux technology-Linux technology and application information. For more information, see the following. 1. Two Computers
2. A Virtual Machine LINUX
3. Note that you need to start the NIC.
4. root linux
5. cd/etc/sysconfig/network-sprints/go to the location where the file is located.
Ls View
Vi eth0 edit eth0
And then edit it to the desired IP address, gateway, and so on.
Esc ---: Exit wq
6. Configure the other computer with the same configuration and the same network segment.
7. OK. Both the big computer and virtual machine are allocated with a network segment. can ping the virtual machine?

Problem:

What if I cannot ping my computer if something goes wrong?
Enable the two LINUX virtual machines in one computer, and then set them as follows; otherwise, set a virtual machine as a host, a virtual machine as a bridge, and an external computer as a router. OK, done.
Related Article

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.