Xshell Connecting a CentOS virtual machine is always unsuccessful

Source: Internet
Author: User

My home computer uses Unicom's broadband, using VirtualBox installed CENTOS6, connection using the NAT network, there is a network address translation (NAT), not clear what the difference is, using Xshell connection

When using cd/etc/sysconfig/network-script/to view files, there are a lot of times only one ifcfg-lo, but using Ifconfig view can see Eth0 interface, then you need to create a new Ifcfg-eth0 file, And do the following configuration


Some notes

1. If bootproto=dhcp, so that the virtual machine can also be connected to the network, but the use of Xshell connection will appear the following error, so you must use static address

2. VirtualBox The default virtual network segment is 10.0.2.X/24, so you need to configure the appropriate IP

Xshell Connecting a CentOS virtual machine is always unsuccessful

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

11.11 Big Sale for Cloud

Get Unbeatable Offers with up to 90% Off,Oct.24-Nov.13 (UTC+8)

Get It Now >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.