openwrt / odhcpd

This repository is a mirror of https://git.openwrt.org/?p=project/odhcpd.git. Pull requests will be accepted which will be merged in odhcpd.git
GNU General Public License v2.0
160 stars 96 forks source link

router: implement RFC 7084 errata 7699 #211

Open alinnastac opened 6 months ago

alinnastac commented 6 months ago

RFC 7084 L-3 requires router advertisement daemon to send RIO for every prefix delegation that allocates a prefix on the interface. There is one special case though where PIO advertise the on-link prefix route that conflicts with the RIO prefix.

Example:

If original RFC 7084 L-3 would be followed, RA will also contain a RIO with prefix 2001:db8:1234::/64 which will require lan hosts to add the routes 2001:db8:1234::/64 dev br-lan # the on-link prefix route 2001:db8:1234::/64 dev br-lan nexthop fe80::1 # RIO route