[Bug 1807569] Re: netplan accept-ra disables slaac
Tom Hetmer
1807569 at bugs.launchpad.net
Fri Feb 5 16:03:33 UTC 2021
Can we get this reopened (and solved)?
Let's have this config
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
dhcp4: false
dhcp6: false
addresses:
- 2a09:e201:0:2:921b:eff:feae:82e5/64
What happens now is the system gets the static IPv6 AND autoconf.
inet6 2a09:e201::921b:eff:feae:82e5/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 2591614sec preferred_lft 604414sec
inet6 2a09:e201:0:2:921b:eff:feae:82e5/64 scope global
valid_lft forever preferred_lft forever
I know it's a bug on the network, but there should be a way to do autoconf=0 accept_ra=1.
systemd-networks is kinda weird and I didn't manage to configure it properly with
[IPv6AcceptRA]
UseAutonomousPrefix=no
UseOnLinkPrefix=no
It does nothing.
I don't want accept-ra: false because I'd like to keep using RA acquired gateway.
In Alpine it's as easy as
auto eth1
iface eth1 inet static
address 2a09:e201:0:2:216:3eff:fe0d:10a6
netmask 64
net.ipv6.conf.eth1.autoconf=0
net.ipv6.conf.eth1.use_tempaddr=0
There's something weird with netplan + networkd.
** Changed in: netplan
Status: Expired => Confirmed
** Changed in: netplan.io (Ubuntu)
Status: Expired => Confirmed
--
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/1807569
Title:
netplan accept-ra disables slaac
Status in netplan:
Confirmed
Status in netplan.io package in Ubuntu:
Confirmed
Bug description:
Hello,
The netplan flag configuration "accept-ra" does not only enable or
disable the use of router advertisements, but also stateless
configuration of addresses. This makes it impossible to configure a
host with only a static IPv6 address, but with a gateway received
through RA's (equivalent to sysctl autoconf=0 and accept_ra=1).
To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1807569/+subscriptions
More information about the foundations-bugs
mailing list