ipswap script on almalinux9 not working

orkinoks

Verified User
Joined
Dec 24, 2010
Messages
75
Hi,
I can confirm that ipswap script does not work as expected on almalinux 9.4
I have installed directadmin with a temp IP address and finished migration from an old box, than wanted to use my main IP address of old box for the new one as well since there are payment gateway settings attached to that IP but it actually did not change the main IP address in /etc/NetworkManager/system-connections/ens192.nmconnection

And when I try to change the IP address with nmcli command I am getting the following errors. I am not sure if it ok to modify the ns192.nmconnection file and do a reboot. There is almost nothing about the mac-address-denylist error on almalinux on the internet. Any help will be much appreciated.

[root@lin11 system-connections]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:50:56:99:ca:51 brd ff:ff:ff:ff:ff:ff
altname enp11s0
inet 213.238.169.97/24 brd x.x.x.255 scope global noprefixroute ens192
valid_lft forever preferred_lft forever
inet 213.238.169.5/24 scope global secondary ens192
valid_lft forever preferred_lft forever
inet6 fe80::250:56ff:fe99:ca51/64 scope link noprefixroute
valid_lft forever preferred_lft forever
[root@lin11 system-connections]# ip route
default via 213.238.169.1 dev ens192 proto static metric 100
213.238.169.0/24 dev ens192 proto kernel scope link src x.x.x.97 metric 100
[root@lin11 system-connections]# nmcli con mod ens192 ipv4.addresses x.x.x.4/24
Warning: nmcli (1.48.10) and NetworkManager (1.46.0) versions don't match. Restarting NetworkManager is advised.
Error: Failed to modify connection 'ens192': 802-3-ethernet.mac-address-denylist: unknown property
 
Back
Top