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

Configure dynamic ip

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

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

After installing the operating system, you must first connect the system to the network before you can carry out the following operations, so let's introduce how to configure IP dynamically.

First, click the virtual network editor in the editor in the virtual machine to see if vmnet8 is set to nat mode.

Second: enter the setup command at the command line

Next, operate network configtion- > device configtion- > eth* and configure dns

The two DNS Server in the picture are made public online. DNS is a tool for parsing domain names and ip to each other. After that, I have been exiting the command line.

Enter the command cat / etc/sysconfig/network-scripts/ifcfg-eth0 in command line mode

You can see two DNS and BOOTPROTO=dhcp note here: change ONBOOT=no to yes as much as possible, so that the boot will start itself later.

Then restart the network card: ifup eth0 or / etc/init.d/network restart or service network restart

This is a success!

If there is garbled code, you can enter LANG=en on the command line.

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

Network Security

Wechat

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

12
Report