xebd / accel-ppp

High performance PPTP/L2TP/PPPoE/IPoE server for Linux
GNU General Public License v2.0
296 stars 108 forks source link

Configure prefix in Route Advertisement to be different from the IA address prefix in the dhcpv6 adv/reply packet #183

Open Summer-Shen98 opened 4 months ago

Summer-Shen98 commented 4 months ago

I wan to configure prefix in Route Advertisement to be different from the IA address prefix in the dhcpv6 adv/reply packet. For example: Prefix in RA is 882:1:10:10::/64 RA

IA Address Prefix in DHCPv6 is 882:1:1:1::/64 the address of client is 882:1:1:1::xxxxxxx DHCPv6

DmitriyEshenko commented 3 months ago

Hi @Summer-Shen98, did you configure it in [ipv6-pool]?

[ipv6-pool]
ipv6prefix/mask,prefix_len[,name=pool_name][,next=next_pool_name]
delegate=ipv6prefix/mask,prefix_len[,name=pool_name][,next=next_pool_name]
Summer-Shen98 commented 3 months ago

@DmitriyEshenko yeah,I have configured it ,

[ipv6-pool] 885:2:2:2::/48,64 delegate=a885:2:2:2::/56,64

it seems that,the prefix in Router Advertisement and the IA address prefix DHCPv6 Advertisement is both 885:2:2:2::/48,64 can it support different prefix in Router Advertisement and DHCPv6 Advertisement

I think you mix my trouble, I want to configure prefix in Route Advertisement to be different from the IA address prefix in the dhcpv6 adv/reply packet.