[FS#1002] Dns ipv6 problem when interface restart

LEDE Bugs lede-bugs at lists.infradead.org
Sat Sep 9 02:28:42 PDT 2017


The following task has a new comment added:

FS#1002 - Dns ipv6 problem when interface restart
User who did this - Ansuel (Ansuel)

----------
With that conf I don't have any problem. But with tim we need to have 2 pppoe to actually have dual stack (or phone gets only ipv6 traffic but no ipv4, can't underestand why)

ifstatus wan
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 81,
        "l3_device": "pppoe-wan",
        "proto": "pppoe",
        "device": "wan",
        "updated": [
                "addresses"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "79.24.190.117",
                        "mask": 32
                }
        ],
        "ipv6-address": [
                {
                        "address": "fe80::1",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "192.168.100.1",
                        "source": "0.0.0.0\/0"
                }
        ],
        "dns-server": [
                "85.38.28.120",
                "85.38.28.121"
        ],
        "dns-search": [

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

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ]
        },
        "data": {

        }
}


ifstatus wan6
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 135,
        "l3_device": "pppoe-wan",
        "proto": "dhcpv6",
        "device": "pppoe-wan",
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [

        ],
        "ipv6-address": [
                {
                        "address": "2a01:2000:2000:3c0::1",
                        "mask": 64,
                        "preferred": 604796,
                        "valid": 2591996
                }
        ],
        "ipv6-prefix": [
                {
                        "address": "2a01:2000:2001:e09c::",
                        "mask": 64,
                        "preferred": 218,
                        "valid": 218,
                        "class": "wan6",
                        "assigned": {
                                "guest": {
                                        "address": "2a01:2000:2001:e09c::",
                                        "mask": 64
                                }
                        }
                }
        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "2a01:2000:2000:3c0::",
                        "mask": 64,
                        "nexthop": "::",
                        "metric": 256,
                        "valid": 2591996,
                        "source": "::\/0"
                },
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "fe80::90:1a00:1a4:d80f",
                        "metric": 512,
                        "valid": 36,
                        "source": "2a01:2000:2000:3c0::1\/64"
                },
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "fe80::90:1a00:1a4:d80f",
                        "metric": 512,
                        "valid": 36,
                        "source": "2a01:2000:2001:e09c::\/64"
                }
        ],
        "dns-server": [
                "2001:4b18:3050:916f::53:c001",
                "2001:4b18:3050:916f::53:c002"
        ],
        "dns-search": [

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

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ]
        },
        "data": {
                "passthru": "0017002020014b183050916f000000000053c00120014b183050916f000000000053c002"
        }
}

Aaand now that i restarted the interface to tcpdump... I got the problem...

new wanstatus wan:
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 94,
        "l3_device": "pppoe-wan",
        "proto": "pppoe",
        "device": "wan",
        "updated": [
                "addresses"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "79.24.190.118",
                        "mask": 32
                }
        ],
        "ipv6-address": [
                {
                        "address": "fe80::1",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "192.168.100.1",
                        "source": "0.0.0.0\/0"
                }
        ],
        "dns-server": [
                "85.38.28.120",
                "85.38.28.121"
        ],
        "dns-search": [

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

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ]
        },
        "data": {

        }
}

new wanstatus ipv6
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 110,
        "l3_device": "pppoe-wan",
        "proto": "dhcpv6",
        "device": "pppoe-wan",
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [

        ],
        "ipv6-address": [
                {
                        "address": "2a01:2000:2000:3c1::1",
                        "mask": 64,
                        "preferred": 604785,
                        "valid": 2591985
                }
        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "2a01:2000:2000:3c1::",
                        "mask": 64,
                        "nexthop": "::",
                        "metric": 256,
                        "valid": 2591985,
                        "source": "::\/0"
                },
                {
                        "target": "::",
                        "mask": 0,
                        "nexthop": "fe80::90:1a00:1a4:d80f",
                        "metric": 512,
                        "valid": 25,
                        "source": "2a01:2000:2000:3c1::1\/64"
                }
        ],
        "dns-server": [

        ],
        "dns-search": [

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

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ]
        },
        "data": {

        }
}

(file bigger than 2 mib, can't compress) https://drive.google.com/file/d/0B8JaPdWlgm-VZnRMNXJIaGJkUkE/view?usp=sharing
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1002#comment3442



More information about the lede-bugs mailing list