[odhcpd] no IPv6 on DSA port

{"kernel":"5.4.48","hostname":"OpenWrt","system":"ARMv7 Processor rev 1 (v7l)","model":"Turris Omnia","board_name":"cznic,turris-omnia","release":{"distribution":"OpenWrt","version":"SNAPSHOT","revision":"r13611-3f27a6e640","target":"mvebu/cortexa9","description":"OpenWrt SNAPSHOT r13611-3f27a6e640"}}

  • Lan3 - DSA driven
config interface 'mgt'
	option ifname 'lan3'
	option proto 'static'
	option ipaddr '192.168.11.11'
	option netmask '255.255.255.0'
config dhcp 'mgt'
	option interface 'mgt'
	option leasetime '1h'
	option dhcpv4 'server'
	option dhcpv6 'server'
	option ra 'server'
	option ra_management '1'

With the above settings Lan3 does not get any IPv6.

Not sure if related/relevant this the log output

odhcpd: Failed to send to ff02::1%mgt@lan3 (Permission denied)


According to ifstatus mgt output the

"ipv6-prefix-assignment": [
                {
                        "address": "x:4540:6b1f:e402::",
                        "mask": 64,
                        "preferred": 68909,
                        "valid": 68909,
                        "local-address": {

                        }
                },
                {
                        "address": "fd30:d64c:1eed:4c3a::",
                        "mask": 64,
                        "local-address": {

                        }

is there but

"ipv6-address": [

        ],
        "ipv6-prefix": [

        ],

Output of uci show firewall.mgt ?

produces

uci: Entry not found

Instead

uci show firewall.@zone[3]
firewall.cfg06dc81=zone
firewall.cfg06dc81.name='mgt'
firewall.cfg06dc81.network='mgt'
firewall.cfg06dc81.input='ACCEPT'
firewall.cfg06dc81.output='ACCEPT'
firewall.cfg06dc81.forward='DROP'

Add

uci set network.mgt.ip6assign='64'
uci set network.mgt.ip6ifaceid='::1'
uci commit network
service network restart
1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.