Keyfile change IP address

Hello

Oracle Linux 8.10

My server With the nmcli connection migrate command, I migrated the network over keyfile

Under /etc/NetworkManager/system-connections I open the connected network interface with vi and enter the IP I want to change, save and exit.

I restarted NetworkManager and now I can connect to my server with both the previous IP and the new IP

Edit:
nmcli con show ens1f0np0 --> command result

IP4.ADDRESS[1]: 6.2.5.3/24 new IP
IP4.ADDRESS[2]: 6.2.5.4/24 old IP

Ok problem solved,

after changing the ip in the keyfile file
I restarted NetworkManager and ran the following command

nmcli con down ens4f0np0; nmcli con up ens4f0np0;

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.