forked from freifunk-franken/firmware
Fabian Blaese
b5563caa23
Until now, IPv6 connectivity was only ensured by some custom sysctls. OpenWrt has a proper way of enabling IPv6 client (SLAAC, as well as DHCPv6) for an interface. Switching to OpenWrt's way of configuring client addresses for an interface might also make configuration more reliable, as the appropriate sysctls are now set by netifd. Especially OnePort and TwoPort devices will benefit from this change, as IPv6 auto configuration does not have to be manually enabled and disabled for a physical interface, but rather is set as an option for our logical wan interface. At the same time this change enables DHCPv6 client support for WAN. Signed-off-by: Fabian Bläse <fabian@blaese.de> Reviewed-by: Robert Langhammer <rlanghammer@web.de> Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> [bump PKG_RELEASE] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
24 lines
553 B
Plaintext
24 lines
553 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 'mesh'
|
|
option type 'bridge'
|
|
option auto '1'
|
|
|
|
config interface 'wan'
|
|
option proto 'dhcp'
|
|
option ifname 'eth1'
|
|
|
|
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'
|