0

I am not even sure if I am going about this right but I wanted to see if the option exists.

I have a Fedora Linux server running on my network. I get a 2600 GUA IPv6 prefix from my ISP and I also have a fd56 ULA prefix setup on my network. I have assigned a static IPv6 address in the ULA prefix space to my server in the systemd-networkd configuration. I have also enabled AcceptIPv6RA=yes as well since I want to get the GUA prefix from my router. Since I already assigned a ULA address to the server I do not want the machine to accept those RAs.

Is it possible to tell the system to reject RAs from a specific IPv6 prefix but accept other ones?

Am I implementing IPv6 ULA incorrectly in this case? Would I be better off just letting the server get the ULA address via RAs than statically assigning it? I have mDNS running on my network so finding the server is not an issue. This I guess is more of a housekeeping this for me. However I think I am stuck in my IPv4 thinking with how to assign the IPv6 address to the server.

2 Answers 2

0

Systemd-networkd supports PrefixAllowList=.

Instead of doing so, use the [IPv6AcceptRA] Token= parameter to request a specific address suffix (IID) to be configured. Even though the automatically configured address is already stable in most cases and can safely be used in DNS (as it is based on a hash of the IPv6 prefix and the machine ID), specifying a custom "token" will explicitly make it static while still using SLAAC.

0

Combining static configuration and auto-configuration (SLAAC) with RA is perfectly fine. IPv6 is designed with the idea that a system can/will have multiple addresses.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.