-
Bug
-
Resolution: Unresolved
-
Major
-
rhel-9.6
-
nmstate-2.2.50-1.el10
-
No
-
Low
-
rhel-net-mgmt
-
3
-
False
-
False
-
-
None
-
None
-
-
Pass
-
Automated
-
Unspecified
-
Unspecified
-
Unspecified
-
None
When applying the following nmstate manifest
- name: ens15f1np1 type: ethernet state: down ipv4: enabled: false dhcp: false
what we expect is that the interface ens15f1np1 will be DOWN with no IP address. But what happens in reality is that interface is UP with IP address assigned by DHCP server.
Detailed slack discussion: https://redhat-internal.slack.com/archives/C04MH2B47HB/p1751462909670119
Reproducer:
1. Create the following file in /run/NetworkManager/system-connections/default_connection.nmconnection
# Created by nm-initrd-generator
[connection]
id=Wired Connection
uuid=0c549a54-83e6-46b9-8d80-245bd752abfb
type=ethernet
autoconnect-priority=-100
autoconnect-retries=1
multi-connect=3
[ethernet]
[ipv4]
dhcp-timeout=90
may-fail=false
method=auto
[ipv6]
dhcp-timeout=90
method=auto
[proxy]
[user]
org.freedesktop.NetworkManager.origin=nm-initrd-generator
2. Do `nmcli c down eth0` (or with `nmcli apply` with state: down , same result)
3. See that "Wired connection" is activated on the device
- is caused by
-
RFE-7825 Capability to disable interfaces (in DHCP enabled environment)
-
- Backlog
-
- links to
-
RHBA-2025:154283 nmstate update