VMware17 sharing host IP networking via VMNET8 (NAT mode)

Source: Internet
Author: User
  • Share the available network cards to Vmnet8
  • Once the share is successful, VMNET8 will get an IP address (for example: 192.168.137.1), at which point the DNS needs to be filled in, using 8.8.8.8
  • Next, operate on the virtual machine, modify the configuration file/etc/sysconfig/network-scripts/ifcfg-eth0, configure the virtual machine's IP (this IP to and vmnet IP in the same network segment, For example: 192.168.137.22), Gateway (Vmnet8 ip:192.168.137.1), DNS1 (8.8.8.8, note: In this file is configured DNS1, restart the network will not be connected to the Internet problem, because this DNS1 will automatically write /etc/resolv.conf this configuration file)
  • Enter the command ping www.baidu.com check if it can be networked
  • VMware17 sharing host IP networking via VMNET8 (NAT mode)

    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.