Feature request: Support networkd IPv6 Router Advertisement options

Bug #1973222 reported by Michael Atkins
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Netplan
Fix Released
Wishlist
Khoo Hao Yit

Bug Description

When I've enabled '
accept-ra' I would like to also configure the options under here:
http://manpages.ubuntu.com/manpages/bionic/man5/systemd.network.5.html#[ipv6acceptra]%20section%20options.

This is so that I can, for example, ignore DNS config given to me by my ISP.

Perhaps this could be taken one step further and abstracted so that any/all networkd section options can be configured with something like:

accept-ra: true
ipv6-accept-ra:
  use-dns: false
  use-domains: false
dhcpserver:
  pool-offset: 10
  pool-size: 24
xxx-section-options:
  option-0:
  option-etc:

Thanks

Revision history for this message
Lukas Märdian (slyon) wrote (last edit ):

We have something similar already for DHCP Overrides: https://netplan.io/reference/#dhcp-overrides

Keeping this idea in line with DHCP Overrides, it could result into something like this:

accept-ra: true
ipv6-ra-overrides:
  use-dns: false
  use-domains: false
  table: 42

Pull requests welcome :-)

Changed in netplan:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Khoo Hao Yit (khoohaoyit) wrote :
Changed in netplan:
assignee: nobody → Khoo Hao Yit (khoohaoyit)
status: Triaged → In Progress
Revision history for this message
Lukas Märdian (slyon) wrote :

> Perhaps this could be taken one step further and abstracted so that any/all networkd section options can be configured

I do not agree with this idea. It might work if networkd would be the only backend for Netplan. But we also have to consider different backends, like NetworkManager. Therefore, we should not adopt networkd naming 1:1 but rather refine it in a generic way, considering the different backends and options available.

Lukas Märdian (slyon)
Changed in netplan:
status: In Progress → Fix Committed
Revision history for this message
Lukas Märdian (slyon) wrote :

released in v1.1

Changed in netplan:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.