My memory is getting worse and worse, just recording it. I have done it before, but forgot it after a while. In addition, I use CentOS most often, but many friends prefer Ubuntu or Debian. Today I encountered a cloud host with Ubuntu 18.04 system that changed its IP. The normal change of /etc/network/interfaces did not work. I record it here to avoid the trouble of going to Bing every time. Ubuntu 18.04 uses Netplan to configure IP addresses, so you need to modify the /etc/netplan/* file. The above picture shows the modification of /etc/network/interfaces. After the completion of the restart, the new IP is not accessible. Use the ifconfig command to check that it is still the old IP. Next, modify the yaml file under /etc/netplan/. The file name may be different. Correct the addresses and gateway in the file, save it after completion, and then use sudo netplan apply to apply the configuration. |
<<: RackNerd "Memorial Day" Sale: Los Angeles VPS from $14.99 per year
[[404648]] 01LDO Definition LDO, or low drop out ...
BudgetVM is a local data center founded in 2015. ...
Students who are good at English may be a little ...
In November 2023 , the " China Enterprise &q...
Many years later, facing the tsunami-like surging...
In network transmission, sticky packets and half ...
"Wealthy and powerful" has always been ...
What is a Bluetooth Gateway? A Bluetooth gateway ...
Recently, the 14th Intel Internet of Things Summi...
On May 21, at the 2018 Global Next Generation Int...
Wi-Fi dramatically impacts everything from the se...
On September 6, during HUAWEI CONNECT 2017, Huawe...
On September 27, at the China (Beijing) Internati...
[[429983]] A key finding from the latest cross-in...
MicrosoftInternetExplorer402DocumentNotSpecified7....