current position:Home>Change virtual machine (CentOS) address

Change virtual machine (CentOS) address

2022-01-27 02:30:42 Ugly duckling who can write code ~

nmcli con show 

  Change address :

nmcli con mod ens33 ipv4.addresses X.X.X.X/X

Reread profile :

nmcli con down ens33
nmcli con up ens33

View modified address :

ifconfig ens33

copyright notice
author[Ugly duckling who can write code ~],Please bring the original link to reprint, thank you.

Random recommended