Static IP set in /etc/network/interfaces sometimes doesn't set properly after reboot

Bug #1948364 reported by Matinal Sun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

I use ubuntu20.04 and set static IP 192.168.11.22 in /etc/network/interfaces. Most time it could work but sometimes the IP changed to 192.168.11.105, which same to be a DHCP IP. I checked the syslog and journalctl, find that eth0 same to disconnect and be re-configured by dhcilent.:

Oct 22 10:10:03 sv-host NetworkManager[502]: <info> [1634868603.0490] device (eth0): link disconnected (calling deferred action)
Oct 22 10:10:03 sv-host NetworkManager[502]: <info> [1634868603.0498] device (eth0): state change: activated -> unavailable (reason 'carrier-changed') [100 20 40]

But I don't know which lead eth0 disconnect. Why eth0 doesn't get static IP but DHCP IP when it reconnected?

Revision history for this message
Matinal Sun (matinal981922) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.