[LEDE-DEV] Question regarding wan6 interface defaults

Sebastian Moeller moeller0 at gmx.de
Mon May 29 01:45:17 PDT 2017


Sear list, dear Hans,

CONTEXT:
As described in https://forum.lede-project.org/t/build-for-wndr3700v1-v2-wndr3800/64/56?u=moeller0 I had issues with using IPv6 and IPv4 DNS on my home network (deutsche Telekom, vdsl2 @BRAS link). The main symptoms were, that a) IPv6 did not work, and b) DNS even for IPv4 was very unreliable. Unfortunately, for a long time did I spent no time on the IPv6 issue (assuming that missing IPv6 is a more cosmetic thing than getting IPv4 DNS working again*). Last weekend I attempted to tackle the issue again and found your recommendation to change the wan6 iface from eth1 to @wan (see https://bugs.lede-project.org/index.php?do=details&task_id=668). And that "magically" solved all my issues, IPv6 started to work (at least all my internal hosts now get IPv6 addresses with the correct ISP assigned prefix), and more unexpected IPv4 DNS seems to work again (and DDNS also automatically started working). Jow brought up the information that the wan6 ifname default was changed a while back (see https://forum.lede-project.org/t/build-for-wndr3700v1-v2-wndr3800/64/59?u=moeller0, and c118e5edf4301dc303024603dd34d369d9926d6d for the patch and rationale). He also advised that I should bring up the issue of the wan6 default ifname with you.

So, from my limited understanding, the challenge is to have a default that will work out of the box with both native IPv6 (am I right to assume that dslite is basically a sub-variant of native IPv6?) and with IPv6 managed via an IPv4 path, or PPPoE in my case. On the one hand, it makes sense to welcome the future and make native IPv6 a well-supported option, on the other hand many users, as far as I can tell, are still living in the past and are stuck with having to use say PPPoE to get IPv6 up and running. 

QUESTIONS:
0) What do you believe to currently be the best default configuration for wan6 ifname?

1) From your perspective is there a way to either make the default configuration work for both situations gracefully?

2) Say, is there a way to auto detect non-working configurations at run-time and print a hint into the syslog, so the user has an idea how to get things working again, like changing the wan6 ifname?

3) Or could switching the protocol to PPPoE maybe bring up a help text (in a modal dialog?) that informs the user to manually rename the wan6 iface in case of connectivity issues?

4) Final question, in your bug tracker response you allude to the option to completely delete the wan6 interface to get a (hopefully) working wan_6 autoconfigured; which of the two options, no wan6 or wan6.ifname set to @wan would you recommend?


Best Regards
	Sebastian



*) Please note my IPv4 DNS issues might still be unsolved, but now at least working IPv6 DNS will pick up the slack mostly.


More information about the Lede-dev mailing list