Comment 1 for bug 2058976

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote : Re: Configuration files for networkd are created when NetworkManager is the defauilt renderer

Interestingly, networkd seems to take control of the interface after 6-8 minutes from boot. Initially, the state of ens3 is "unconfigured". State of the link before taking control is:

$ cat /run/systemd/netif/links/2
ADMIN_STATE=unmanaged
OPER_STATE=routable
CARRIER_STATE=carrier
ADDRESS_STATE=routable
IPV4_ADDRESS_STATE=routable
IPV6_ADDRESS_STATE=degraded
ONLINE_STATE=online
REQUIRED_FOR_ONLINE=yes
REQUIRED_OPER_STATE_FOR_ONLINE=degraded
REQUIRED_FAMILY_FOR_ONLINE=any
ACTIVATION_POLICY=up
NETWORK_FILE=/run/systemd/network/10-netplan-ens3.network
DNS=10.0.2.3
NTP=
SIP=
DOMAINS=
ROUTE_DOMAINS=
LLMNR=yes
MDNS=no
DHCP_LEASE=/run/systemd/netif/leases/2
DHCP6_CLIENT_DUID=DUID-EN/Vendor:0000ab11c03a37ae49cc0a3d0000

After control is taken, it is the same except ADMIN_STATE=configured.

After reboot, if forcing a restart of networkd:

$ cat /run/systemd/netif/links/2
# This is private data. Do not parse.
ADMIN_STATE=unmanaged
OPER_STATE=routable
CARRIER_STATE=carrier
ADDRESS_STATE=routable
IPV4_ADDRESS_STATE=routable
IPV6_ADDRESS_STATE=degraded