link is always 'configuring' after enabling dhcp

Bug #1787039 reported by piersh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Netplan
Invalid
Undecided
Unassigned

Bug Description

netplan: v0.36.1
ubuntu: 18.04.1 lts

$ cat network.yaml:
network:
  version: 2
  renderer: networkd
  ethernets:
    enp3s0:
      dhcp4: false
      dhcp6: false

$ networkctl
IDX LINK TYPE OPERATIONAL SETUP
  1 lo loopback carrier unmanaged
  2 enp3s0 ether off unmanaged

$ vi network.yaml
$ cat network.yaml
network:
  version: 2
  renderer: networkd
  ethernets:
    enp3s0:
      dhcp4: true # this is what changed
      dhcp6: false

$ netplan apply
$ sleep 60
$ networkctl
IDX LINK TYPE OPERATIONAL SETUP
  1 lo loopback carrier unmanaged
  3 enp3s0 ether degraded configuring

$ reboot
...
$ networkctl
IDX LINK TYPE OPERATIONAL SETUP
  1 lo loopback carrier unmanaged
  2 enp3s0 ether routable configured

piersh (piersh)
description: updated
Revision history for this message
Lukas Märdian (slyon) wrote :

This usually happens when it cannot get an IP address from the DHCP server. Is you DHCP server configured properly?

Doesn't seem to be a netplan/networkd issue. Please re-open if you feel this is still relevant.

Changed in netplan:
status: New → Invalid
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.