Internet Only in host mode

Source: Internet
Author: User

1 host Control Panel, find the actual computer network card, tick, and select VMware Network Adapter VMnet1

Locate the virtual network card vmware Virtual Ethernet Adapter for VMnet1, check the IP

2 VMware Workstation, host-only mode

3 Enter virtual machine, modify IP

View IP Address

IP addr Show

Modify the virtual machine's IP address

IP addr Add Dev eno16777736 192.168.137.18/24

Check to be able to ping through

Ping 192.168.137.1

4 Setting up the Gateway

IP route add default via 192.168.137.1

5 Setting up DNS

Vi/etc/resolv.conf

Go to VI Editor

NameServer 192.168.137.1

Check Ping

Ping www.google.com

Internet Only in host mode

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.