RFC 6334 - DHCPv6 AFTR Discovery - automatic address resolution in DS-Lite (Ipv6)

Hello guys,

My ISP is using Dual-Stack Lite tunnel (ds-lite IPv4 in IPv6) and i need to configure / Obtain a DS-Lite AFTR from DHCPv6 from my cable modem (Technicolor TC4400).

LEDE / OpenWRT works great when configuring an AFTR manualy but LEDE is not able to obtain it automatically.

Is it possible to implement RFC 6334 with "the B4 functionality of DS-Lite"? So, is it possible to obtain an ISP's DS-Lite AFTR from DHCPv6 automatically?

See https://tools.ietf.org/html/rfc6334#page-4

DHCPv6 Client Behavior

A client that supports the B4 functionality of DS-Lite (defined in
[RFC6333]) and conforms to this specification MUST include

Because it requires a DNS name for address resolution, the client MAY
also wish to include the OPTION_DNS_SERVERS [RFC3646] option on its

If the client receives the AFTR-Name option, it MUST verify the
option contents as described in Section 3.

The following works fine but sometimes the AFTR Server changes and an automatic address resolution would be great!

config interface 'wan'
	option proto 'dslite'
	option peeraddr '2a02:908::1:4005'

Also see AFTR Discovery in http://www1.huawei.com/es/static/HW-141053.pdf

Thank you very much for your help!

DS-Lite is now completely broken :frowning: See https://forum.openwrt.org/viewtopic.php?id=73755


This issue has been fixed! See https://bugs.openwrt.org/index.php?do=details&task_id=1501&pagenum=2

Long live Hans and OpenWRT, thanks a lot. OpenWRT is wonderful.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.