Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Configure dynamic ip

Shulou Source: shulou.com Published: 2022-06-01 07:33:03 10月03日 Update

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.

Tags: Command next input configuration two mode system dynamic success operating system garbled domain name tool situation editor network card network Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Redmi Huawei Docker OPPO Reno