Nat mode virtual machine Ubuntu can be networked, can SSH remote state

Source: Internet
Author: User
Tags ssh

unbuntu14.04

According to find some methods on the Internet, in the NAT mode to set the fixed IP can be networked, SSH login. After the next day restart, the virtual machine can be internet, but not SSH remote.

After re-configuration can be remote, will now be able to network status record as follows:

1. Host Status

Running-services.msc-sees the state like this:


These states are all "start, Manual."

2. Virtual Machine network configuration, where the virtual machine IP is set to the same network segment as the host IP, and can be networked remotely before the same network segment


This is true in 3./ect/network/interfaces:


Note the gateways for the 2 and 3 states remain consistent.

4. Virtual machine settings are like this


After the above settings, and then restart the network can be remote.

If not yet remote, re-configuration, and sometimes may have to wait for a while, my lunch is not long before the remote, after the break open on it.

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.