[LEDE-DEV] wifi and wan ipv6 connectivity

e9hack e9hack at gmail.com
Fri Aug 11 04:44:16 PDT 2017


Am 11.08.2017 um 10:27 schrieb Hans Dedecker:
> Are you using the latest version of netifd ?
yes, version from trunk 34afb764077768a361d76256fb05cbba172de223

> Dynamic interfaces are not deleted upon a network reload as the node
> version is set to -1
Can I retrieve the node version from wan/wan_6 of my running system?

> Can you also dump the output of ifstatus wan_6 ?
See below. The ipv6 address isn't in the range of the ipv6 prefix.

Regards,
Hartmut

root at WLAN:~# ifstatus wan_6
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": true,
        "uptime": 2,
        "l3_device": "pppoe-wan",
        "proto": "dhcpv6",
        "device": "pppoe-wan",
        "updated": [
                "addresses",
                "routes",
                "prefixes",
                "data"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [

        ],
        "ipv6-address": [
                {
                        "address": "2003:AAAA:BBBB:CCCC:aaaa:bbbb:cccc:dddd",
                        "mask": 64,
                        "preferred": 1788,
                        "valid": 14388
                }
        ],
        "ipv6-prefix": [
                {
                        "address": "2003:AAAA:DDDD:EE00::",
                        "mask": 56,
                        "preferred": 1789,
                        "valid": 14389,
                        "class": "wan_6",
                        "assigned": {
                                "lan": {
                                        "address": "2003:AAAA:DDDD:EE00::",
                                        "mask": 60
                                }
                        }
                }
        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "2003:AAAA:BBBB:CCCC::",
                        "mask": 64,
                        "nexthop": "::",
                        "metric": 256,
                        "valid": 14388,
                        "source": "::\/0"
                },
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "fe80::eeee:ffff:gggg:hhhh",
                        "metric": 512,
                        "valid": 1788,
                        "source": "2003:AAAA:DDDD:EE00:\/56"
                },
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "fe80::eeee:ffff:gggg:hhhh"",
                        "metric": 512,
                        "valid": 1788,
                        "source": "2003:AAAA:BBBB:CCCC:aaaa:bbbb:cccc:dddd\/64"
                }
        ],
        "dns-server": [
                "2003:XXXX:YYYY:ZZZZ::53",
                "2003:XXXX:YYYY:ZZZZ::53"
        ],
        "dns-search": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ]
        },
        "data": {
                "passthru": "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ",
                "zone": "wan"
        }
}




More information about the Lede-dev mailing list