Actually it might be nice in this case to, in fact, bind the carrier to
eth1.

In this scenario, I was planning on hanging other nested VMs and/or
containers on the virtual bridge inside the LXC. If the underlying link
was down for whatever reason, it would be more honest for that state to
propagate all the way to the bridge, so that the internal interfaces on
the nested VMs/bridges also see the link as down.

Another approach I have used in the past is to simply monitor the link
state of the interface that provides connectivity to the bridge, so that
if it becomes link-down, the VMs on the bridge can still communicate
with each other, but we're able to act on the link-down event by
dropping a route from the bridge, so that the proper ICMP errors occur
when the nested VMs try to route outside the network via that interface.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748332

Title:
  Bridges fail to come online when configured via LXD, netplan, and
  cloud-init

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1748332/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to