My ipv6 configuration doesn’t work anymore after update to 3.10 (dual-stack). In systemlog if find the following error:
2018-05-13 17:37:56 notice netifd[]: Interface ‘wan6’ is enabled
2018-05-13 17:37:56 notice netifd[]: Network alias ‘eth1’ link is up
2018-05-13 17:37:56 notice netifd[]: Interface ‘wan6’ has link connectivity
2018-05-13 17:37:56 notice netifd[]: Interface ‘wan6’ is setting up now
2018-05-13 17:37:56 notice netifd[]: Interface ‘wan’ is now up
2018-05-13 17:37:56 notice netifd[]: wan6 (2311): ./dhcpv6.sh: eval: line 1: json_for_each_item: not found
here is the content of /etc/config/network:
config switch
option name 'switch0’
option reset '1’
option enable_vlan ‘1’config switch_vlan
option device 'switch0’
option vlan '1’
option ports ‘0 1 2 3 5’config switch_vlan
option device 'switch0’
option vlan '2’
option ports ‘4 6’config interface 'wan’
option ifname 'eth1’
option proto ‘dhcp’config interface 'wan6’
option ifname '@wan’
option proto 'dhcpv6’
option ip6assign ‘64’config interface 'loopback’
option ifname 'lo’
option proto 'static’
option ipaddr '127.0.0.1’
option netmask ‘255.0.0.0’config interface 'lan’
option ifname 'eth0 eth2’
option force_link '1’
option type 'bridge’
option proto 'static’
option ipaddr '10.2.1.1’
option netmask '255.255.255.0’
option ip6assign '64’
option ip6hint ‘2’
Content of /etc/config/dhcp
config dnsmasq
option domainneeded '1’
option localise_queries '1’
option rebind_localhost '1’
option expandhosts '1’
option authoritative '1’
option leasefile '/tmp/dhcp.leases’
option resolvfile '/tmp/resolv.conf.auto’
option readethers '1’
option local '/fmf.netz/'
option domain 'fmf.netz’
option rebind_protection '0’
option localservice '0’
option port ‘53’config dhcp 'lan’
option interface 'lan’
option start '100’
option limit '150’
option leasetime '12h’
option dhcpv6 'server’
option ra 'server’
option ra_management '0’
list dns 'XXXXX’
list dhcp_option '6,10.2.1.1’
list domain ‘fmf.netz’config dhcp 'wan’
option interface 'wan’
option ignore ‘1’config odhcpd 'odhcpd’
option maindhcp '0’
option leasefile '/tmp/hosts/odhcpd’
option leasetrigger ‘/usr/sbin/odhcpd-update’config host
option mac '7c:2f:80:38:44:71’
option ip ‘10.2.1.2’config dhcp 'lan_Guest’
option start '100’
option leasetime '12h’
option limit '150’
option interface 'lan_Guest’
list dhcp_option '6,10.2.2.1’
option dhcpv6 'server’
option ra 'server’
option ra_management '0’
list dns 'XXXX’
list domain ‘fmf.netz’
PS: i don’t use kresd but only dnsmasq - hope this shouldn’t interfere