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

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Wed Sep 5 20:42:48 UTC 2018


** Also affects: netplan.io (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: netplan
       Status: New => Fix Committed

** Changed in: netplan.io (Ubuntu)
       Status: New => In Progress

-- 
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:
  In Progress

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