systemd-networkd is stuck in 'configuring' with DHCP and no default route
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In our network setup systemd-networkd fails to configure everything correctly. Our systems have two NIC which are configured via DHCP. One NIC is in a service network without a default route. With this setup we get systemd-
Our config:
# lsb_release -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04
# apt-cache policy systemd
systemd:
Installiert: 237-3ubuntu10.9
Installations
Versionstabelle:
*** 237-3ubuntu10.9 500
500 http://
500 http://
100 /var/lib/
237-3ubuntu10 500
500 http://
# cat /etc/systemd/
[Match]
Name=ens160
[Network]
DHCP=ipv4
[DHCP]
UseMTU=true
RouteMetric=100
ClientIdentifie
# cat /etc/systemd/
[Match]
Name=ens192
[Network]
DHCP=ipv4
[DHCP]
UseMTU=true
RouteMetric=100
ClientIdentifie
UseRoutes=false
UseDNS=false
networkctl status -a
● 1: lo
Link File: n/a
Network File: n/a
Type: loopback
State: carrier (unmanaged)
Address: 127.0.0.1
● 2: ens160
Link File: n/a
Network File: /etc/systemd/
Type: ether
State: routable (configured)
Path: pci-0000:03:00.0
Vendor: VMware
Model: VMXNET3 Ethernet Controller
HW Address: 00:50:56:a4:98:4c (VMware, Inc.)
Address: 10.22.0.30
Gateway: 10.22.200.254 (Hewlett Packard Enterprise)
DNS: 10.22.0.2
Search Domains: xxxxxxxxxxx
● 3: ens192
Link File: n/a
Network File: /etc/systemd/
Type: ether
State: routable (configuring)
Path: pci-0000:0b:00.0
Vendor: VMware
Model: VMXNET3 Ethernet Controller
HW Address: 00:50:56:a4:c0:42 (VMware, Inc.)
Address: 10.23.0.30
Search Domains: xxxxxxxxxxxx
This also happens in other configurations, which are more complex as soon as I add the service NIC which has no default route. systemd 239 from ubuntu 16.10 works fine.
Status changed to 'Confirmed' because the bug affects multiple users.