[Bug 1747455] Re: netplan does not support defining route with scope 'link'

Launchpad Bug Tracker 1747455 at bugs.launchpad.net
Tue Sep 18 23:13:39 UTC 2018


This bug was fixed in the package netplan.io - 0.40

---------------
netplan.io (0.40) cosmic; urgency=medium

  * New upstream release:
    - networkd: route source is PreferredSource= not From=
    - Improve NetworkManager error reporting on unrenderable routes.
    - Don't render ipv4 dns-search unless we have an ipv4 address.
      (LP: #1786726)
    - Set permissive umask on networkd .network, .link and .netdev files
      (LP: #1736965, LP: #1768560)
    - Fix support for link-scope routes. (LP: #1747455)
    - Update man pages for deletion of replug code.
    - Spell Gratuitous ARP correctly and make it work. (LP: #1756701)
    - Many typo fixes for documentation. (LP: #1783940)
    - Various build system fixes.
    - Fix integration tests:
      - iproute2 output changes for link-scope routes
      - fix stability of networkd igmp-resend test
      - fix manual_addresses test now that networkd lists ~. domain
    - Deduplicate code for parsing interface options
    - Add support for optional-addresses.

 -- Mathieu Trudel-Lapierre <cyphermox at ubuntu.com>  Thu, 13 Sep 2018
17:29:41 -0400

** Changed in: netplan.io (Ubuntu)
       Status: In Progress => 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/1747455

Title:
  netplan does not support defining route with scope 'link'

Status in netplan:
  Fix Committed
Status in netplan.io package in Ubuntu:
  Fix Released

Bug description:
  I have an hosted server and for some reason, I only have a single
  global ipv6 with prefix /128.

  To be able to reach the world using IPv6, I have to declare a route to
  the router, and then the default route:

  In traditionnal ifupdown, this is done using the following lines:

  post-up /sbin/ip -family inet6 route add 2001:41d0:8:8fff:ff:ff:ff:ff dev eth0
  post-up /sbin/ip -family inet6 route add default via 2001:41d0:8:8fff:ff:ff:ff:ff

  I think that in networkd it should be declare as:

  [Route]
  Destination=2001:41d0:8:8fff:ff:ff:ff:ff
  Scope=link

  [Route]
  Gateway=192.168.0.1

  Actually, I don't find anyway to express such route in netplan. I can
  easily define the gateway route setting 0.0.0.0 as 'to', but it look
  like there is currently now way to define the "link" scoped route.

  netplan "route" should support a scope attribute that match networkd
  Scope attribute.

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



More information about the foundations-bugs mailing list