I can have multiple Prefixes on an Interface:
list ip6prefix 'A'
list ip6prefix 'B'
list ip6prefix 'C'
If that are global prefixes, I would like to influence the preferred address that is used to access internet services.
In RFC6724
is defined how that is done. For example there is the Rule 3: Avoid deprecated addresses.
.
My best guess is to implement something that I can separately say what prefixes should not be advertised in odhcpd. Then I can set the preferred lifetime of a prefix to a lower value. I started adding preffered lifetime.
If I want clients now to still receive their downstream traffic to A, but they should use B for upstream, I remove advertising A and only advertise B. After the A preffered_lft is over, the prefixes are deprecated, and clients will use B.
Or am I wrong?:
If I remove list ip6prefix 'A'
then the downstream traffic would no longer arrive for clients that are from the A prefix?
Actually, there should also be the Pref
value in Router Advertisement – Type 134.
Btw.: There is prefix_filter
to specify the RA-Prefix to announce from multiple prefixes. For example we could add option prefix_filter 'A'
to filterout B
and C
.