[Bug 1763608] Re: Netplan ignores Interfaces without IP Addresses
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Tue Apr 17 20:16:18 UTC 2018
Indeed; but this is meant to be that way -- there is no usefulness in
having a network device listed in the file without any configuration, as
you can always just do "ip link set $device up" to bring it up.
If there is no configuration, the device is left alone, as it should be.
If you must have an interface brought up but with no addresses, you may
wish to also set:
dhcp4: off
dhcp6: off
These should force netplan to write out extra systemd configuration to
disable DHCP, the new files present for systemd may help bringing up the
interface.
** Package changed: nplan (Ubuntu) => netplan
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nplan in Ubuntu.
https://bugs.launchpad.net/bugs/1763608
Title:
Netplan ignores Interfaces without IP Addresses
Status in netplan:
New
Bug description:
The "manual" method in /etc/network/interfaces resulted in an
interface being brought up, but not having an IP address assigned.
When configuring an Interface without an IP Address, netplan ignores
the interface instead of bringing it up.
---
network:
version: 2
renderer: networkd
ethernets:
eth1: {}
Expected result from `netplan apply`: eth1 is brought up.
Actual result: eth1 is still down.
Similarly `netplan generate` does not generate any file in
/run/systemd/network for eth1.
To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1763608/+subscriptions
More information about the foundations-bugs
mailing list