-
Incident report
-
Resolution: Unresolved
-
Trivial
-
None
-
7.2.10
-
None
https://www.zabbix.com/documentation/7.2/en/manual/appliance#static-ip-address
It simply does not work, as "nmcli" is even not installed.
Here is what I found should be done, after significant efforts:
dnf install NetworkManager systemctl enable --now NetworkManager.service
vi /etc/NetworkManager/NetworkManager.conf
and in section [main] add a line:
plugins=ifupdown
Then:
systemctl restart NetworkManager
Without this step "nmcli device" command was showing all interfaces as "unmanaged" and would give an error when trying to UP a connection:
Error: Connection activation failed: No suitable device found for this connection (device lo not available because device is strictly unmanaged).
Then continues with:
nmcli connection add type ethernet con-name eth0 ifname eth0 nmcli connection modify eth0 ipv4.addresses 192.168.1.10/24 nmcli connection modify eth0 ipv4.gateway 192.168.1.1 nmcli connection modify eth0 ipv4.dns 8.8.8.8 nmcli connection modify eth0 ipv4.method manual nmcli connection up eth0
Reboot here and the static IP will be there.
But ... DHCP's IP will remain there as well! I do not know why, to be figured out by Appliance maintainer.