[docs] Cannot set accept-ra to 2, it keeps reseting it to 0
Bug #1862481 reported by
JS
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Triaged
|
Medium
|
Unassigned | ||
netplan.io (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
As netplan is not supporting ipv6-pd now, we have to rely on other dhcpv6 client like dibbler-client or wide-dhcpv6-client. In order for those tools to work, /proc/sys/
network:
version: 2
renderer: networkd
ethernets:
wan:
dhcp4: true
dhcp-
link-local: [ ]
/proc/sys/
The "accept-ra" option doesn't help as it only accept yes/no.
summary: |
- Cannot set accept-ra to 2, and keep reseting it to 0 + Cannot set accept-ra to 2, it keeps reseting it to 0 |
Changed in netplan: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
tags: | added: docs documentation |
To post a comment you must log in.
I can reproduce this issue with the newest Version of Netplan in Ubuntu 22.04 as well as Ubuntu 22.10.
When 'accept-ra: true' is set the systemd-networkd config contains 'IPv6AcceptRA=yes'. (according to systemd documentation this should correspond to kernel option 2)
If 'accept-ra: false' is set the systemd-networkd config contains 'IPv6AcceptRA=no'. (according to systemd documentation this should correspond to kernel option 0)
If 'accept-ra' is unset, the systemd-networkd config does not contain any 'IPv6AcceptRA' statement. (according to systemd documentation this should correspond to the kernel default option 1)
However independent of the config in systmed- networkd/ Netplan 'sysctl net.ipv6. conf.<iface> .accept_ ra' always returns 0.
Moreover after trying to change the kernel setting manually and reapplying the Netplan config the kernel parameter get's reset to 0.