forked from freifunk-franken/firmware
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> Reviewed-by: Robert Langhammer <rlanghammer@web.de>
28 lines
637 B
Plaintext
28 lines
637 B
Plaintext
config interface 'loopback'
|
|
option ifname 'lo'
|
|
option proto 'static'
|
|
option ipaddr '127.0.0.1'
|
|
option netmask '255.0.0.0'
|
|
|
|
config interface 'client'
|
|
option type 'bridge'
|
|
option auto '1'
|
|
|
|
config interface 'wan'
|
|
option proto 'none'
|
|
option ifname 'eth2'
|
|
|
|
config interface 'wan4'
|
|
option proto 'dhcp'
|
|
option ifname '@wan'
|
|
|
|
config interface 'wan6'
|
|
option proto 'dhcpv6'
|
|
option reqprefix 'no'
|
|
option sourcefilter '0'
|
|
option ifname '@wan'
|
|
|
|
config interface 'ethmesh'
|
|
option proto 'batadv_hardif'
|
|
option master 'bat0'
|