netplan fails to apply IP address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Upon reboot, netplan fails to assign an IP address to a previous working device.
In this instance, `eno1` is up, but fails to assign the IP address.
The `eno2` device seems to work.
netplan 1.10.1-5build1 amd64
4.15.0-46-generic
Ubuntu 18.04.2 LTS
$ cat /etc/netplan/
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
eno1:
match:
macaddress: ac:1f:6b:07:ab:0e
addresses: [ 10.60.3.33/24 ]
gateway4: 10.60.3.254
nameservers:
search: [ hpc.nrel.gov ]
addresses:
- "10.60.3.11"
- "10.60.1.11"
- "10.20.4.11"
mtu: 9000
eno2:
addresses: [ 192.168.24.13/24 ]
mtu: 9000
match:
macaddress: ac:1f:6b:07:ab:0f
$ netplan --debug apply
...
DEBUG:eno1 not found in {}
Any ideas?
This is a red herring. The debug message does not mean that there isn't configuration.
Is it possible that the MAC address changes across reboots? Could you enable debugging on systemd-networkd; then reboot so we can see if the interfaces are available at the time netwrokd will try to apply the configuration?