Skip to content

Allow ipv6 RA but without ip autoconf #9582

@Toniob

Description

@Toniob

Hi,

The configuration with my provider is quite strange. I have to activate ipv6 RA to obtain a default route. But I don't want to have the address via autoconf. For that, I use a dhcpv6 pd, with static ip configuration
after that.

It should be great to be able to keep RA active but without autoconf. Currently, in my .network
conffile, I've got this :

IPv6AcceptRA=True

and I've created a file /etc/sysctl.d/local-ipv6.conf :

  net.ipv6.conf.all.use_tempaddr = 0
  net.ipv6.conf.default.use_tempaddr = 0
  net.ipv6.conf.ens3.use_tempaddr = 0
  net.ipv6.conf.all.autoconf = 0
  net.ipv6.conf.default.autoconf = 0
  net.ipv6.conf.ens3.autoconf = 0
  net.ipv6.conf.all.accept_ra_pinfo = 0
  net.ipv6.conf.default.accept_ra_pinfo = 0
  net.ipv6.conf.ens3.accept_ra_pinfo = 0

but I still get an address automatically :

  inet6 xxx::xxx/64 scope global mngtmpaddr noprefixroute dynamic

Networkd should add an "IPv6Autoconf" configuration parameter to disable the configuration of ipv6 addresses via Router Advertisement. Maybe with 3 values : yes, no and kernel ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFE 🎁Request for Enhancement, i.e. a feature requestnetwork

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions