The router obtains IPv6-PD through PPPoE dial-up, and the LAN interface only enables SLAAC mode to deliver IPv6-PD. Modifying the valid_lifetime and preferred_lifetime parameters of the RA message through the relevant parameters of the following two documents does not take effect. What is the reason?
The parameters in these two documents are set and tested separately and have no effect. I am wondering if there are other parameters that need to be used together
I am trying to setup 2 (or more) IPv6 routers in a single LAN network (each with their own WAN connection) such that each router will advertise its upstream prefix to the LAN for configuration using SLAAC. I need to be able to tweak the announced preferred_lifetime for the routers manually so that I can set which prefix is preferred over other when multiple prefixes are available from different routers.
I have tried setting preferred_lifetime to a custom value and ra_useleasetime to 0 but that doesn't seem to work. The routers still advertise the same preferred_lifetime value that they recieve from upstream WAN (which is controlled by the ISP's device connected to the WAN port of each router).
If using a different RA server is the only option, I might consider making the switch. Would you mind checking another issue I am facing with odhcpd too, and if that too can be solved using another RA server, I'll make the switch.
If ra_useleasetime is true, and the actual preferred lifetime of the prefix is greater than the manually set preferred_lifetime in the configuration, then the advertised preferred lifetime is set to the defined preferred_lifetime value in the configuration.
This still doesn't let me increase the preferred lifetime value in the RA beyond what is given by the ISP device, but I am fine without this customisation.