[Bug 1785493] Re: Netplan on-link does not work for IPv6

Ryan Young 1785493 at bugs.launchpad.net
Sun Jun 13 00:51:40 UTC 2021


Fixed in Ubuntu 20.04! You just need to add a link-scope route for your
gateway, as documented: https://netplan.io/examples/#reaching-a
-directly-connected-gateway

network:
  ethernets:
    ens3:
      dhcp4: true
      addresses: [ "2602:ff75:7:34fd::/128" ]
      routes:
        - to: "2602:ff75:7::1/128"
          scope: link
        - to: "::/0"
          via: "2602:ff75:7::1"
          on-link: true
  version: 2

** Changed in: netplan.io (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1785493

Title:
  Netplan on-link does not work for IPv6

Status in netplan.io package in Ubuntu:
  Fix Released

Bug description:
  An IPv6 on-link route configuration has no effect.

  network:
      version: 2
      ethernets:
          ens3:
              addresses:
                  - fd00::1/128
              routes:
                  - to: ::/0
                    via: fd00::2
                    on-link: true

  Similar configuration for IPv4 works perfectly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1785493/+subscriptions



More information about the foundations-bugs mailing list