]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ppp: add reqprefix norelease ac_mac 20824/head
authorAndy Chiang <AndyChiang_git@outlook.com>
Tue, 9 Sep 2025 00:37:09 +0000 (07:37 +0700)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 3 Dec 2025 17:13:13 +0000 (18:13 +0100)
commit13226471ef02e622cb42ab36d0fb1322c3b93449
tree7ff8f29a67faa7a99fa47b5e14476db7be5c516f
parente781816fe1ffd19a00a9d66d77898924798579c7
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 <AndyChiang_git@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19978
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 7079e456ade5aad41e265c55cee49e4692807ecf)
Link: https://github.com/openwrt/openwrt/pull/20824
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/network/services/ppp/files/lib/netifd/ppp6-up
package/network/services/ppp/files/ppp.sh