How to configure static IP address nethserver 8

Hi. Installed NethServer 8 via the Proxmox ns8-rocky-linux-9-ns8-stable image.qcow2.

How do I change my IP address? Using this [instruction] (Node network setup β€” NS8 documentation) The IP address does not change.

[root@ldap admin]# ip a
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: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether bc:24:11:07:f2:f4 brd ff:ff:ff:ff:ff:ff
altname enp0s18
altname ens18
inet 192.168.0.170/24 brd 192.168.0.255 scope global dynamic noprefixroute eth0
valid_lft 9206sec preferred_lft 9206sec
inet6 fe80::1208:d0eb:23c8:9adc/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000
link/none
inet 10.5.4.1/32 scope global wg0
valid_lft forever preferred_lft forever

In that case deactivate and activate the interface again from nmtui interface.

As alternative run:

nmcli device reapply eth0
1 Like

I set up β€œWired connection 1” and the IP changed. Before that, I set up β€œSystem eth0” and β€œens3”
Thanks

[root@ldap admin]# nmcli conn show
NAME UUID TYPE DEVICE
Wired connection 1 66f9efa4-5f95-34a5-a6e5-dc6bf08ae169 ethernet eth0
lo a4d45c69-b518-4b55-8a20-dc232d07cad1 loopback lo
wg0 6ea67945-7402-443a-97c5-966ef8c6004d wireguard wg0
System eth0 5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 ethernet –
ens3 01b94420-c44e-43a6-8900-0de8fcaf975d ethernet –