CentOS 9 Stream statische IPv4 und IPv6 konfigurieren
Show network interfaces
nmcli device
DEVICE  TYPE      STATE                   CONNECTION
ens33 ethernet connected ens33
lo loopback connected (externally) lo


Set IPv4 Address:
nmcli connection modify ens33 ipv4.addresses 10.19.103.95/24
nmcli connection modify ens33 ipv4.gateway 10.19.103.254

Set IPv6 Address:
nmcli connection modify ens33 ipv6.addresses 2001:db8:100:4b42::675f/64
nmcli connection modify ens33 ipv6.gateway 2001:db8:100:4b42::67fe


Set Mode to manual:
nmcli connection modify ens33 ipv4.method manual
[root@localhost ~]# nmcli connection modify ens33 ipv6.method manual


Hostname:
hostnamectl set-hostname vmon05.4b42.net


To view this entry in full, you must be a customer of Securebit AG. You can order any product from our range.

If you are already a customer, you can log in here.