I'm very sorry, but I would really like to know how to use odhcpds to assign IPv6 addresses to ppp0 or more ppp devices and peer devices of a pppoe server.
The pppoe server's IPv4 is working properly and has been assigned a local link address for IPv6
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.2.1 P-t-P:192.168.2.58 Mask:255.255.255.255
inet6 addr: fe80::88:1/128 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1480 Metric:1
RX packets:5994 errors:0 dropped:0 overruns:0 frame:0
TX packets:4661 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:940077 (918.0 KiB) TX bytes:1298832 (1.2 MiB)
This is my configuration:
root@OpenWrt:/# cat /etc/ppp/pppoe-server-options
# PPP options for the PPPoE server
# LIC: GPL
#require-pap
#login
#lcp-echo-interval 10
#lcp-echo-failure 2
#mru 1492
#mtu 1492
require-chap
login
lcp-echo-interval 10
lcp-echo-failure 2
mru 1492
mtu 1492
ms-dns 8.8.8.8
+ipv6
ipv6 ::88:1,::88:2
root@OpenWrt:/# cat /etc/config/pppoe
config pppoe_server
option interface lan
option ac_name access-concentrator-name
list service_name service-name1
list service_name service-name2
option maxsessionsperpeer 0
option localip 192.168.2.1
option firstremoteip 192.168.2.2
option maxsessions 64
option optionsfile /etc/ppp/pppoe-server-options
option randomsessions 1
option unit 0
option offset 0
option timeout 60
option mss 1468
option sync 0
`````