Comment 2 for bug 2013532

Revision history for this message
Danilo Egea Gondolfo (danilogondolfo) wrote (last edit ):

Hi there, thank you for your bug report.

This bug was fixed recently [1] and we will consider back-porting to Kinetic and Jammy.

On Ubuntu Lunar (netplan.io 0.106-0ubuntu2) I get this result from "netplan get" (using two separate files like you are doing):

network:
  version: 2
  ethernets:
    net0:
      match:
        macaddress: "11:11:11:11:11:11"
      addresses:
      - "1.1.1.1/24"
      - "2a02:eeee:eeee:eeee::2/64"
      nameservers:
        addresses:
        - 8.8.8.8
        - 8.8.4.4
        search: []
      set-name: "net0"
      routes:
      - to: "default"
        via: "1.2.3.4"
      - on-link: true
        to: "::/0"
        via: "2a02:eeee:eeee:eeee::1"

[1] - https://github.com/canonical/netplan/pull/320