1、  First of all, make sure that vmnet8 In enabled state

2、  Run as administrator vmware >> edit >> Virtual machine network editor

>> Choose Vmnet8 >> Uncheck the dhcp >> Check connect host to this network

>> Click on nat Set up and remember the gateway ip And subnet mask

3、  Configure the vmnet8

Control panel >> The Internet and internet>> Network and Sharing Center >> Change the settings of the adapter

>>vmnet8 Right click Properties >>ipv>> attribute

>> Subnet mask and gateway ip With the previous nat The setting box is consistent

4、  Set the virtual machine network connection mode to nat Pattern , And start the virtual machine

5、  Virtual machine network configuration ,

vi /etc/sysconfig/network-scripts/ifcfg-eth0

After the configuration , Restart NIC :service network restart

Again ping once www.baidu.com Make sure you have access to the Internet

6、  In the virtual machine network editor nat Setting up , Will the virtual machine's ssh The port is mapped to a port of the host

7、  ipconfig /all View host network information

8、  use xshell Connecting virtual machines , end !

vmware Medium linux The virtual machine is configured to nat Mode online , And use xshell More articles about connecting to the virtual machine

  1. Vmware Virtual machine configuration LVS/NAT The pit of the pattern .

    These two days are studying LVS Load balancing of , Start with the simplest LVS/NAT The pattern starts . Finally, after configuration, they can interact with each other Ping through , And have direct access to real Provided by the server web service , And the firewall is closed . But by visiting LV ...

  2. stay VMware installed linux System , How to be in windows Used in the system xshell Connect

    There are several ways to do it online , But I think it's simpler 1. find VMware menu   open edit > Virtual Network Editor Pictured : Click change settings below Just be sure , Nothing needs to be changed . Then back linux In the system ifconfig ...

  3. 【linux To configure 】 stay VMware In Chinese, it means Redhat HAT Configure local yum Source

    stay VMware In Chinese, it means Redhat HAT Configure local yum Source Ready to use today CM Install big data environment , To the need for several machines to use the same set yum Only the source can , So I thought of Redhat Copy the image file to the virtual machine , Use when suspended , Finally through ht ...

  4. stay VMware In Chinese, it means Redhat HAT Configure local yum Source

    stay VMware In Chinese, it means Redhat HAT Configure local yum Source Ready to use today CM Install big data environment , To the need for several machines to use the same set yum Only the source can , So I thought of Redhat Copy the image file to the virtual machine , Use when suspended , Finally through ht ...

  5. VMware Install in CentOS7 Network configuration static IP Address , Common configuration and tool installation

    VMware Install in CentOS7 Network configuration static IP Address , Common configurations and tools are installed at the alicloud open source image address to download the image Index of /centos/7.2.1511/isos/x86_64/http://mirro ...

  6. Host and Vmware Medium linux Use host-only,bridge Means of communication

    Statement : My machine is called... In this article Suji ,vmware Medium linux Call linux This paper has been implemented through host-only Pattern Suji ping through linux, But in host-only In mode ,linux No, pin ...

  7. The host and VMware Medium Linux Such as the realization of shared folder

    When I looked up the method of mounting folder on the Internet for several hours, I found that ,VMware Medium Linux The mount of is different from that of dual system The ultimate goal is to /mnt There is a hgfs Folder design sketch : Start by opening VMware Medium Linux System Specifically ...

  8. 【 turn 】 stay VMware In Chinese, it means Linux System installation VM-Tools A detailed explanation of

    stay VMware In Chinese, it means Linux System installation VM-Tools A detailed explanation of If you're going to VMware Install in virtual machine Linux Words , So in the end Linux After installation , If not installed Vm-Tools Words , Some functions will not be available ...

  9. Virtual machine network settings (NAT Pattern )

    Virtual machine network settings (NAT Pattern ) linux 1. Set up virtual machine network 1.1. NAT Subnet settings 1.2. Network card configuration file settings 1.3. Restart network service 1.4. Configure port forwarding 2. Configure network sharing Expect to build this ...

Random recommendation

  1. Mysql Sql Statement to make a field value equal to the original value plus a string

    MySQL A coherent string cannot use the plus sign (+), And the use of concat. Let's say aa Tabular name Field is preceded by 'x', utilize : update aa set name=concat('x',name); Replace : UPD ...

  2. PHP Introduction to session processing functions

    PHP Introduction to session processing functions Submit My comments Loading Commented PHP Introduction to session processing functions 2015-03-23 PHP100 Chinese net PHP100 Chinese net PHP100 Chinese net WeChat ID Function is introduced Internet developers ...

  3. by iPhone6 Design adaptive layout

    Apple from iOS6 Joined the Auto Layout After the beginning of the more euphemistic began to encourage . Developers are advised to use adaptive layout , But so far , I feel like most developers have been avoiding this issue , Whether it's due to historical reasons or not , At least they're at the bottom of their heart ...

  4. C/C++ Type conversion

    1. Implicit type conversion 1.1 Rules for implicit type conversion K & R A.6.5 Arithmetic Conversions( Conversion between numerical types )First, if either operand is lo ...

  5. Lingque cloud :etcd Cluster operation and maintenance practice

    [ Editor's words ]etcd yes Kubernetes The data core of the cluster , The most serious situation is , When etcd When something goes wrong and it's completely unrecoverable , The solution may be to rebuild the environment . So around etcd The related operation and maintenance knowledge is more ...

  6. Linux Operation and maintenance knowledge

    My daily commonly used commands are backed up a little : Version confirmation CentOS / RedHat Enterprise cat /etc/redhat-release Ubuntu cat /etc/lsb-release ...

  7. HttpServletRequestWrapper

    1). why Need to change from Servlet Containers ( It could be any Servlet Containers ) In the middle of HttpServletRequest Some behavior of an object , What should I do ? One . Inherit  HttpServletR ...

  8. CE course

    https://www.52pojie.cn/thread-726510-1-1.htmlhttps://www.52pojie.cn/thread-726154-1-1.html https://w ...

  9. solr java demo Basic introduction

      <!--solr Of maven rely on --> <dependencies> <dependency> <groupId>org.apache.solr&l ...

  10. compass utilize koala stay chrome Turn on scss debugging

    compass No generation maps file , Debugging css On , It's very inconvenient . See the debugging method in the figure below , How do you do it? . Utilization koala To solve , The specific steps are as follows : 1. Make sure you install ruby and sass,compass. Then install  co ...