Page MenuHomeVyOS Platform

wide-dhcpv6 prefix delegation & router adverts for prefixes not working with decrement-lifetimes
Open, NormalPublicBUG

Description

https://salsa.debian.org/debian/wide-dhcpv6/-/blob/master/prefixconf.c#L516

Hardcodes the lifetimes to infinite, making the proper usage impossible.
Even if that would be rectified, im not sure how the router advertisements would behave with no times set.

Background:

  • I receive short lived dynamic prefixes (3600s)
  • They linger on clients for some time after i lose them (decrement-lifetimes would fix this)
  • I can not use router advertisements decrement-lifetimes as they just expire as the interface is not considered "updated" when i get the same prefix from my isp again.
  • I hardcoded 3600s valid lifetime in my advertisements so they only linger for a max of 1 hour.

Any ideas how to fix this?
Would be cool if the wide-dhcpv6 would:

  1. Set the proper times
  2. Always signal updates if it receives a "new/updated prefix"

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

MartB created this object in space S1 VyOS Public.
Viacheslav changed the subtype of this task from "Task" to "Bug".Mar 29 2023, 6:40 AM