0
Votes

Add IPV6 proper rfc6603 support

 
0
Votes

Add IPV6 proper rfc6603 support

Add IPV6 proper rfc6603 support
Add IPV6 proper rfc6603 support
2 weeks ago
Model: Archer BE800  
Hardware Version: V1
Firmware Version: 1.1.6

The current ipv6 WAN client implementation lack support for https://datatracker.ietf.org/doc/html/rfc6603

 

The current option allow to check DHCP6 and prefix delegation, first the DHCP server won't send an ipv6 for the WAN so the script will write 4 message every 2 seconds on the log:

2024-09-04 23:58:22 dhcp6c[8689]: <6> 265054 receive reply from server with ipv6 <null> and dns <null>
2024-09-04 23:58:22 dhcp6c[8689]: <6> 265053 send request to server with ipv6 <null> and dns <null>
2024-09-04 23:58:21 dhcp6c[8689]: <6> 265052 receive advertise with ipv6 <null> and dns <null>
2024-09-04 23:58:21 dhcp6c[8689]: <6> 265051 send solicit with DUID 00:03:00:01:XX:XX:XX:XX:XX:XX and IAID 1
 


Still the script get the prefix and the DNS so it's kind of work YET RFC expect the script to expect not to get an IP address, create a subnet inside the delegated prefix and assigne itself the WAN an ipv6 in this subnet. example ISP send a /56 or /60 and the script should cretae a /64 and assigned an IP from this subnet to the WAN and then either use same /64 for LAN or create another one for LAN.

 

The biggest issue right now is the amount of request send to ISP due to the script not allowing no ip address to tbe provided...

#1
Options
3 Reply
Re:Add IPV6 proper rfc6603 support
2 weeks ago - last edited 2 weeks ago

  @benoitm974 At minimum a checkbox in the interface on wether to send an IA request or not which would be used in the config generation to add or not the send ia-na; option

 

There would still be the need to add an ipv6 to the WAN but that might take more time and evaluate the need to check how firewall woudl work for WAN (it seems the firmware is close to openwrt fw3 where WAN includes for ipv4 and ipv6 ... but still)

 

in file '/lib/netifd/proto/dhcp6c.sh':

 

[ "$ip_mode" == "prefix" ] && {
                echo "interface $ifname {" > "${conffile}" 
                [ "$ip_config" == "dhcpv6" && "ip_config_WITH_IA" == "1" ] && echo -e "\tsend ia-na $id;" >> "${conffile}"
                echo -e "\tsend ia-pd $id2;" >> "${conffile}"

#2
Options
Re:Add IPV6 proper rfc6603 support
2 weeks ago

  @benoitm974 

Hi,

Thanks for your feedback.

 

This function is planned for future support.

Please keep an eye on our official website for the updates.

Nice to Meet You in Our TP-Link Community. Check Out the Latest Posts: Archer GE550 - BE9300 Tri-Band Wi-Fi 7 Gaming Router EasyMesh Is Available When Wi-Fi Routers Work in AP Mode as A Controller. Archer BE550 New Software Enhances System Stability and Optimizes MLO Network Stability. TL-WA3001 Supports EasyMesh, Speed Limit, Guest Network in AP Mode and/or Multi-SSID Mode. If you found the post or response helpful, please click Helpful. If an answer solves your problem, click "Recommended Solution" so that others can benefit from it.
#3
Options
Re:Add IPV6 proper rfc6603 support
2 weeks ago

  @Sunshine This is good to hear, I'm pathcing a beta version for now ... But it would be great to have proper support and run on production firmware:)

#4
Options

Information

Helpful: 0

Views: 100

Replies: 3

Voters 0

No one has voted for it yet.