dhcp client resets IP address every few minutes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
Network manager resets IP address every 30 minutes (perhaps this time depends on default-lease-time)
This issue affects at least the latest package Network Manager in Ubuntu 20.04.2 - network-manager 1.22.10-1ubuntu2.2.
It seems this issue has been occuring more than a year (perhaps from release Ubuntu 20.04) and is not fixed yet.
It is possible that this issue occurs only with our dhcp server. We have not checked if the issue occurs with other dhcp servers.
----
lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04
----
apt-cache policy network-manager
network-manager:
Installed: 1.22.10-1ubuntu2.2
Candidate: 1.22.10-1ubuntu2.2
Version table:
*** 1.22.10-1ubuntu2.2 500
500 http://
100 /var/lib/
1.
500 http://
-----
STR:
Install Ubuntu 20.04.2 (update if needed) and connect to network with dhcp server.
AR:
Connection drops every few minutes, then NetworkManager reconnects again.
On screen we can see message "Network disconnect" and right away "Network connect"
ER:
Connection should be stable.
We have found the similar bug here - https:/
It is possible that in my case the root of issue is the same and the isue is fixed in network manager 1.22.12
We need a new networkmanager package in Ubuntu 20.04 repository which has not got this bug.
There is a part of /var/log/syslog
Here we can see error "error -113 dispatching events"
----
Jun 16 16:01:40 user-System-
Jun 16 16:01:40 user-System-
Jun 16 16:01:40 user-System-
Jun 16 16:01:40 user-System-
Jun 16 16:01:40 user-System-
Jun 16 16:01:40 user-System-
Jun 16 16:01:40 user-System-
Jun 16 16:01:40 user-System-
Jun 16 16:02:18 user-System-
conds interval)
Jun 16 16:02:18 user-System-
Jun 16 16:02:18 user-System-
y-check.ubuntu.com' using systemd-resolved)
Jun 16 16:02:18 user-System-
chRR: 'connectivity-
Jun 16 16:02:18 user-System-
Jun 16 16:02:18 user-System-
----
We are attaching tcpdump file for investigation.
Here client sent a request and server answered with ACK. It seem that client failed on the ACK and after 90 seconds client sent a new request.
Adding syslog file