[FS#3295] Adresses not configured on interface but visible via ubus

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Wed Aug 19 20:45:03 EDT 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Leon George (yogo1212) 

Attached to Project - OpenWrt/LEDE Project
Summary - Adresses not configured on interface but visible via ubus
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - On an ipq40xx/compex-wpj428, sometimes the addresses aren't configured on the wan bridge.
netifd shows that it knows about addresses that should be configured but they aren't.

"ip l set br-wan down" + up didn't change that.
"ubus call network.interface.wan down" + up however, did lead to a change.

$ ip a show br-wan
6: br-wan:  mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 04:f0:21:4e:21:05 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6f0:21ff:fe4e:2105/64 scope link 
       valid_lft forever preferred_lft forever

$ ubus call network.interface.wan status {}
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 91629,
        "l3_device": "br-wan",
        "proto": "dhcp",
        "device": "br-wan",
        "ip4table": 1,
        "ip6table": 1,
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                { 
                        "address": "192.168.0.34",
                        "mask": 24
                } 
        ],
        "ipv6-address": [

        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                { 
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "192.168.0.1",
                        "source": "192.168.0.34/32"
                } 
        ],
        "dns-server": [
                "192.168.0.1",
                "192.168.0.1"
        ],
        "dns-search": [

        ],
        "neighbors": [

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

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {
                "hostname": "test",
                "leasetime": 3600,
                "ntpserver": "212.6.108.160"
        }
}

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3295

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list