ppp: add reqprefix norelease ac_mac
authorAndy Chiang <[email protected]>
Tue, 9 Sep 2025 00:37:09 +0000 (07:37 +0700)
committerRobert Marko <[email protected]>
Sun, 9 Nov 2025 15:17:01 +0000 (16:17 +0100)
commit7079e456ade5aad41e265c55cee49e4692807ecf
tree5b5f2517e5749bf87769f3bd2a32ac50467c5aef
parent231bbe528d3f6ae4a43117b38c41a2f62896ce4e
ppp: add reqprefix norelease ac_mac

Use ppp and enable autoipv6, odhcp6c supports reqprefix and norelease to minimize the chance of IPv6 PD changes.[1]
PPPoE supports connecting to a specific AC/BRAS by using the pppoe-mac parameter.[2]

1. https://github.com/openwrt/openwrt/blob/master/package/network/ipv6/odhcp6c/files/dhcpv6.sh#L67
   https://github.com/openwrt/openwrt/blob/master/package/network/ipv6/odhcp6c/files/dhcpv6.sh#L77
2. https://github.com/ppp-project/ppp/blob/master/pppd/plugins/pppoe/plugin.c#L93

Signed-off-by: Andy Chiang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19978
Signed-off-by: Robert Marko <[email protected]>
package/network/services/ppp/files/lib/netifd/ppp6-up
package/network/services/ppp/files/ppp.sh