Jump to content

Recommended Posts

Posted

As configured on install (at least in 24.8.4 I installed), the netplan config files try to manage all networking interfaces - which breaks the virtual bridge interfaces that containers and VM managers like Podman, Docket, etc create and use.

 

See https://github.com/moby/moby/issues/40217#issuecomment-2041628162 for more information

 

If networkctl shows podman* or veth* as managed then this is probably the problem breaking your container networking.

 

To work around this issue, I modified the file /etc/netplan/10-dhcp-all-interfaces.yaml to only manage en* interfaces rather than all interfaces, followed by netplan apply.

 

# Added by Armbian
#
# Reference: https://netplan.readthedocs.io/en/stable/netplan-yaml/
#
# Let systemd-networkd manage all Ethernet devices on this system, but be configured by Netplan.

network:
  version: 2
  renderer: networkd
  ethernets:
    all-eth-interfaces:
      match:
        name: "en*"
      dhcp4: yes
      dhcp6: yes
      ipv6-privacy: yes # Enabled by default on most current systems, but networkd currently doesn't enable IPv6 privacy by default, see https://man.archlinux.org/man/systemd.network.5
    lo-interface:
      match:
        name: lo
      dhcp4: yes
      dhcp6: yes
      ipv6-privacy: yes # Enabled by default on most current systems, but networkd currently doesn't enable IPv6 privacy by default, see https://man.archlinux.org/man/systemd.network.5


Note: netplan doesn't support globs/etc on name line yet hence the need for two ethernets entries, see https://github.com/canonical/netplan/pull/202

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines