How to Set up the network for ubuntu in vmware

Source: Internet
Author: User

In vmware, how does one set network connections for ubuntu? Three network connections for vmware: 1. bridge: by default, vmnet0 is used to set the ip address of the VM to 10.70.54.31, And the ip address of the VM to 10.70.54.22. Netmask, broadcast, gateway, and dns are all the same as the host to implement virtual machines <---> host virtual machines <----> Internet communication 2.nat: by default, vmnet8 is used to set virtual machines to use dhcp to access the Internet, in windows, select "automatically obtain ip Address". In linux, you can enable the dhcp service or manually set the ip address to the same network segment as vmnet8, gateway is set to vmnet8 gateway (/etc/vmware/vmnet8/nat. conf) to check the vmnet8 gateway, which is usually xxx. xxx. xxx.2. The netmask and broadcast settings are the same as those of vmnet8, And the dns settings are the same as those of the host. For example, vmnet8 ip: 172.16.249.1 gw: 172.16.249.2 VM settings: ip: 172.16.249.100 gw: 172.16.249.2

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.