JumboAg Apprentice
Joined: 03 Mar 2007 Posts: 205 Location: Dallas, TX
|
Posted: Wed Aug 21, 2024 6:25 pm Post subject: NetworkManager not assigning static IP after update |
|
|
Did a world update recently and have run into a new issue I cannot resolve. My system's NIC is no longer getting assigned its IP address on boot.
I use Network Manager and a systemd configuration. I have (had) it setup to assign a static IPv4 address, gateway, and DNS IP. See below from nmcli con show
"Profile 1"
Code: |
connection.id: Profile 1
connection.uuid: 11b4d876-6a5e-448d-ae6d-d6746b30c647
connection.stable-id: --
connection.type: 802-3-ethernet
connection.interface-name: end0
connection.autoconnect: yes
connection.autoconnect-priority: 0
connection.autoconnect-retries: -1 (default)
connection.multi-connect: 0 (default)
connection.auth-retries: -1
connection.timestamp: 1716817212
connection.permissions: --
connection.zone: --
connection.controller: --
connection.master: --
connection.slave-type: --
connection.port-type: --
connection.autoconnect-slaves: -1 (default)
connection.autoconnect-ports: -1 (default)
connection.secondaries: --
connection.gateway-ping-timeout: 0
connection.metered: unknown
connection.lldp: default
connection.mdns: -1 (default)
connection.llmnr: -1 (default)
connection.dns-over-tls: -1 (default)
connection.mptcp-flags: 0x0 (default)
connection.wait-device-timeout: -1
connection.wait-activation-delay: -1
802-3-ethernet.port: --
802-3-ethernet.speed: 0
802-3-ethernet.duplex: --
802-3-ethernet.auto-negotiate: no
802-3-ethernet.mac-address: --
802-3-ethernet.cloned-mac-address: --
802-3-ethernet.generate-mac-address-mask:--
802-3-ethernet.mac-address-blacklist: --
802-3-ethernet.mtu: auto
802-3-ethernet.s390-subchannels: --
802-3-ethernet.s390-nettype: --
802-3-ethernet.s390-options: --
802-3-ethernet.wake-on-lan: default
802-3-ethernet.wake-on-lan-password: --
802-3-ethernet.accept-all-mac-addresses:-1 (default)
ipv4.method: manual
ipv4.dns: 192.168.86.5
ipv4.dns-search: --
ipv4.dns-options: --
ipv4.dns-priority: 0
ipv4.addresses: 192.168.86.20/24
ipv4.gateway: 192.168.86.1
ipv4.routes: --
ipv4.route-metric: -1
ipv4.route-table: 0 (unspec)
ipv4.routing-rules: --
ipv4.replace-local-rule: -1 (default)
ipv4.ignore-auto-routes: no
ipv4.ignore-auto-dns: yes
ipv4.dhcp-client-id: --
ipv4.dhcp-iaid: --
ipv4.dhcp-dscp: --
ipv4.dhcp-timeout: 0 (default)
ipv4.dhcp-send-hostname: yes
ipv4.dhcp-hostname: --
ipv4.dhcp-fqdn: --
ipv4.dhcp-hostname-flags: 0x0 (none)
ipv4.never-default: no
ipv4.may-fail: yes
ipv4.required-timeout: -1 (default)
ipv4.dad-timeout: -1 (default)
ipv4.dhcp-vendor-class-identifier: --
ipv4.link-local: 0 (default)
ipv4.dhcp-reject-servers: --
ipv4.auto-route-ext-gw: -1 (default)
ipv6.method: auto
ipv6.dns: --
ipv6.dns-search: --
ipv6.dns-options: --
ipv6.dns-priority: 0
ipv6.addresses: --
ipv6.gateway: --
ipv6.routes: --
ipv6.route-metric: -1
ipv6.route-table: 0 (unspec)
ipv6.routing-rules: --
ipv6.replace-local-rule: -1 (default)
ipv6.ignore-auto-routes: no
ipv6.ignore-auto-dns: no
ipv6.never-default: no
ipv6.may-fail: yes
ipv6.required-timeout: -1 (default)
ipv6.ip6-privacy: -1 (unknown)
ipv6.addr-gen-mode: default
ipv6.ra-timeout: 0 (default)
ipv6.mtu: auto
ipv6.dhcp-pd-hint: --
ipv6.dhcp-duid: --
ipv6.dhcp-iaid: --
ipv6.dhcp-timeout: 0 (default)
ipv6.dhcp-send-hostname: yes
ipv6.dhcp-hostname: --
ipv6.dhcp-hostname-flags: 0x0 (none)
ipv6.auto-route-ext-gw: -1 (default)
ipv6.token: --
proxy.method: none
proxy.browser-only: no
proxy.pac-url: --
proxy.pac-script: --
GENERAL.NAME: Profile 1
GENERAL.UUID: 11b4d876-6a5e-448d-ae6d-d6746b30c647
GENERAL.DEVICES: end0
GENERAL.IP-IFACE: end0
GENERAL.STATE: activated
GENERAL.DEFAULT: yes
GENERAL.DEFAULT6: no
GENERAL.SPEC-OBJECT: --
GENERAL.VPN: no
GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/1
GENERAL.ZONE: --
GENERAL.MASTER-PATH: --
IP4.GATEWAY: 192.168.86.1
IP4.ROUTE[1]: dst = 192.168.86.1/32, nh = 0.0.0.0, mt = 100
IP4.ROUTE[2]: dst = 0.0.0.0/0, nh = 192.168.86.1, mt = 100
IP4.DNS[1]: 192.168.86.5
IP6.ADDRESS[1]: fdcc:e0f4:6b01:7949:360c:1bc:bf32:daa5/64
IP6.ADDRESS[2]: fe80::c7b5:9b6a:46cb:2c3/64
IP6.GATEWAY: --
IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 1024
IP6.ROUTE[2]: dst = fdcc:e0f4:6b01:7949::/64, nh = ::, mt = 100
IP6.ROUTE[3]: dst = fd02:6091:3863:1::/64, nh = fe80::1296:93ff:fe4f:62f4, mt = 100
IP6.ROUTE[4]: dst = fd4b:96de:ee89:1::/64, nh = fe80::b2e4:d5ff:fe55:492a, mt = 100
|
Here's the output of ip a s (note that I have no IPV4 address)
Code: |
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 noprefixroute
valid_lft forever preferred_lft forever
2: end0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether ca:13:73:9f:2e:07 brd ff:ff:ff:ff:ff:ff
inet6 fdcc:e0f4:6b01:7949:360c:1bc:bf32:daa5/64 scope global dynamic noprefixroute
valid_lft 1781sec preferred_lft 1781sec
inet6 fe80::c7b5:9b6a:46cb:2c3/64 scope link noprefixroute
valid_lft forever preferred_lft forever
|
The config is correct as far as I can tell, but the end0 device is not getting assigned its IP address by Network Manager. No change if I restart Network Manager either. The only way I can get an IP right now is to manually assign it with either an ip or ifconfig command, which gets me online but doesnt help me when I reboot and get right back into a no IP state.
I'm stumped. Everything looks fine. No errors anywhere that I can tell... |
|