2

I’m facing a situation where I need to configure an interface with both a private static IPv6 address and SLAAC (Stateless Address Autoconfiguration) addresses. The reason behind this requirement is that my public IPv6 network undergoes changes, and I want the interface to obtain SLAAC addresses dynamically while also having a fixed private IPv6 address.

Is it possible to achieve this dual configuration using Netplan, and if so, how can I set it up?

Thank you very much.

New contributor
Lc___ is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

1 Answer 1

1

Yes, It is possible you have to edit netpplan configuration file (etc/netplan/config.yaml) and there is a example to how achive your goal..

    dhcp4: no
  dhcp6: no
  addresses:
    - "YOUR_IPV6"
  accept-ra: yes
New contributor
AmirD12 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1
  • This solution doesn't work.
    – Lc___
    Dec 3 at 20:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .