[FS#1159] SLAAC Only function on WAN interface if WAN is bridged

LEDE Bugs lede-bugs at lists.infradead.org
Tue Nov 14 15:00:29 PST 2017


The following task has a new comment added:

FS#1159 - SLAAC Only function on WAN interface if WAN is bridged
User who did this - Mathias Kresin (mkresin)

----------
Still a config error but my fix was more a clumsy workaround that a proper fix.

Your "wan2" is setup as bridge but in the wan2_6 section you're using eth0.20 as ifname instead of the bridge name.

By using the @wan2 alias, the ifname is set - due to some magic - automatically to br-wan2.

But using the alias has the downside that your wan2_6 config is only applied if the config of wan2 succeeded. Means, you will not get an IPv6 address as long you don't have a (dhcpv4) address.

The correct wan2_6 config would be:


config interface 'wan2_6'
	option proto 'dhcpv6'
	option ifname 'br-wan2'
	option reqaddress 'try'
	option reqprefix 'auto'

----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1159#comment3854



More information about the lede-bugs mailing list