On 22/08/2014 15:06, Steven Barth wrote:
Hi Richard,

could you please post the output of:
ifstatus wan
and
ifstatus wan6

when said situation occurs?

Sure. during, after and before situation included below. I anonymised the IP addresses a little but tried to mark common prefixes just in case it matters to you.

Best Regards

Richard



During ADSL outage.

root@prison:/etc/config# ifstatus wan
{
        "up": false,
        "pending": false,
        "available": true,
        "autostart": false,
        "proto": "pppoa",
        "data": {

        }
}
root@prison:/etc/config# ifstatus wan6
{
        "up": false,
        "pending": true,
        "available": true,
        "autostart": true,
        "proto": "6in4",
        "data": {

        },
        "errors": [
                {
                        "subsystem": "6in4",
                        "code": "NO_WAN_LINK"
                }
        ]
}


After ADSL recovers


root@prison:/etc/config# ifstatus wan
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "uptime": 110,
        "l3_device": "pppoa-wan",
        "proto": "pppoa",
        "updated": [
                "addresses",
                "routes"
        ],
        "metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "x.x.x.x",
                        "mask": 32
                }
        ],
        "ipv6-address": [

        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "y.y.y.y",
                        "source": "0.0.0.0\/0"
                }
        ],
        "dns-server": [
                "z.z.z.1",
                "z.z.z.2",
                "xxxx:x:x:x::e"
        ],
        "dns-search": [

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

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [
                        "62.24.134.1",
                        "62.24.243.2"
                ],
                "dns-search": [

                ]
        },
        "data": {

        }
}
root@prison:/etc/config# ifstatus wan6
{
        "up": false,
        "pending": true,
        "available": true,
        "autostart": true,
        "proto": "6in4",
        "data": {

        },
        "errors": [
                {
                        "subsystem": "6in4",
                        "code": "NO_WAN_LINK"
                }
        ]
}


Just in case you need it. Here's the output before the outage.

root@prison:/etc/config# ifstatus wan
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "uptime": 5561,
        "l3_device": "pppoa-wan",
        "proto": "pppoa",
        "updated": [
                "addresses",
                "routes"
        ],
        "metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "x.x.x.x",
                        "mask": 32
                }
        ],
        "ipv6-address": [

        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "y.y.y.y",
                        "source": "0.0.0.0\/0"
                }
        ],
        "dns-server": [
                "z.z.z.1",
                "z.z.z.2",
                "x:x:x:x::e"
        ],
        "dns-search": [

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

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [
                        "62.24.134.1",
                        "62.24.243.2"
                ],
                "dns-search": [

                ]
        },
        "data": {

        }
}
root@prison:/etc/config# ifstatus wan6
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "uptime": 5589,
        "l3_device": "6in4-wan6",
        "proto": "6in4",
        "updated": [
                "addresses",
                "routes",
                "prefixes"
        ],
        "metric": 0,
        "delegation": true,
        "ipv4-address": [

        ],
        "ipv6-address": [
                {
                        "address": "x:x:x:x::2",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [
                {
                        "address": "x:x:x::",
                        "mask": 48,
                        "class": "wan6",
                        "assigned": {
                                "lan": {
                                        "address": "x:x:x:x:1::",
                                        "mask": 64
                                },
                                "wifi": {
                                        "address": "x:x:x:x:2::",
                                        "mask": 64
                                },
                                "guest": {
                                        "address": "x:x:x:x:6::",
                                        "mask": 64
                                },
                                "dmz": {
                                        "address": "x:x:x:x:ff::",
                                        "mask": 64
                                }
                        }
                }
        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "::",
                        "source": "x:x:x:x::\/48"
                },
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "::",
                        "source": "::\/128"
                },
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "::",
                        "source": "x:x:y:z::2\/128"
                }
        ],
        "dns-server": [

        ],
        "dns-search": [

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

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ]
        },
        "data": {

        }
}
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to