My system is a Dell PowerEdge T140, running Ubuntu 18.04.2.
I have a service that depends on the host's primary IP address, and that service fails to start if that address is not configured on the host.
Is there a way to have
netplan bring a statically-configured interface up, even if the link for that interface is down at boot time, and keep it up if if the link is lost at any given time? I haven't been able to do it yet, neither with
NetworkManager nor with
networkd as the renderer.
During my testing, I tried to force the network up with
ip link set eno1 up, but it didn't work. However, e.g.
ifconfig eno1 192.168.1.1 netmask 0xffffff00 does work, and possibly I could use it as a workaround (by doing something like adding that command to
rc.local and forcing the broken service to restart).
The workaround solution, however, is very ugly, and it uses a tool (
ifconfig) which is no longer in the default installation, so I'd rather avoid it, and stick to being as close to standard configurations as possible.