Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Network configuration method of installing Ubuntu in VMware using NAT mode

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces the relevant knowledge of "installing Ubuntu in VMware using NAT mode network configuration method". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Environmental preparation

VMWare version

VMware ®Workstation 14 Pro 14.0.0 build-6661328

Go to the official website to download it.

Ubuntu version

Ubuntu-18.04.3-desktop-amd64

Go to the official website to download it.

Install Ubuntu system on virtual machine

Referenc

Https://blog.csdn.net/qq_35623773/article/details/89893853 network configuration

Description

Just after installation, the address of Ubuntu always changes, which is very inconvenient to use, so you want to use NAT mode to set it to static IP.

target

Plan to set the Ubuntu address in the virtual machine to 192.168.136.100 host configuration description

Control Panel-- Network and sharing Center-- change adapter settings

Use VMnet8 as a virtual network card in NAT mode, and then configure VMnet8

Configure IPv4

At this point, the configuration of the host is completed.

Virtual machine configuration instructions step 1

Open VMware-- "Edit menu--" Virtual Network Editor (N)

Select VMnet8 to delete the VMnet1 directly; select the VMnet information according to the legend.

Under the premise of selecting VMnet8, click NAT to set

Set up the gateway as shown in the figure, which is 192.168.136.2, which will be used later.

Step two

Find the edit virtualizer settings under VMware

Select the network adapter and set it as shown in the figure

At this point, the virtual machine is partially set up.

Ubuntu configuration description

Start the virtual machine by yourself and switch to the root user for operation.

Find Ubuntu's network configuration file / etc/network/interfaces for configuration

Instruction

Su vim / etc/network/interfaces

Set to the following image format

Where ens33 is equivalent to the previous Ubuntu version of eth0; static IP settings iface ensss inet static; note that the gateway is consistent with the settings on the virtual machine.

Expansion

Install CentOS7 under VMware

This is the end of the content of "installing Ubuntu in https://blog.csdn.net/babyxue/article/details/80970526"VMware using NAT mode network configuration method". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report