fff-network: Create separate interface for wan dhcp #116

Closed
fbl wants to merge 1 commits from fbl/firmware:wanfix into master

1 Commits

Author SHA1 Message Date
Fabian Bläse 33401c1d62 fff-network: Create separate interface for wan dhcp
Previously, an additional wan6 interface for SLAAC has been added, which
references the wan interface for its interface.
However, OpenWrt waits until the wan interface is completely up, until
it tries to start up interfaces that depend on it.

This not only can delay the configuration of IPv6 addresses
significantly, but also makes configuration of the wan6 interface
impossible in WAN networks with out a DHCP server.

To solve this issue, a separate interface wan4 for dhcp, which also
reference the wan interface, is created and the proto of wan is set to
none.

Fixes: #114
Signed-off-by: Fabian Bläse <fabian@blaese.de>
2021-02-13 12:50:05 +01:00