[FS#4216] ds-lite: Command failed: Invalid argument
OpenWrt Bugs
openwrt-bugs at lists.openwrt.org
Sat Jan 1 04:36:06 PST 2022
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Marcin Juszkiewicz (hrw)
Attached to Project - OpenWrt/LEDE Project
Summary - ds-lite: Command failed: Invalid argument
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - openwrt-21.02
Due in Version - Undecided
Due Date - Undecided
Details - ====== System info ======
- Device problem occurs on
* x86-64 based router
- Software versions of OpenWrt/LEDE release, packages, etc.
* OpenWrt 21.02.1
====== ISP connectivity options ======
My ISP (Orange Polska) provides two options for network connectivity:
* IPv4
* IPv6 with DS-Lite
My WAN interface is called "Orange".
===== IPv4 =====
IPv4 setup works fine. My router uses PPPoE to authenticate, setup all routes etc and things "just works".
===== IPv6 =====
IPv6 is more problematic. I can setup IPv6 only network (including LAN clients). But to get IPv4 connectivity I need to setup DS-Lite.
Installed 'ds-lite' package. Used tcpdump to get AFTR address from DHCPv6 packets. Reconfigured "Orange_6" and "Orange_DS_lite":
config interface 'Orange'
option proto 'pppoe'
option device 'eth0.35'
option username 'bez_ochrony-REDACTED at neostrada.pl/ipv6'
option password 'REDACTED'
option ipv6 'auto'
option ip6assign '64'
config interface 'Orange_6'
option proto 'dhcpv6'
option device '@Orange'
option iface_dslite 'Orange_DS_lite'
option reqaddress 'try'
option reqprefix 'auto'
option reqopts '64'
config interface 'Orange_DS_lite'
option proto 'dslite'
option peeraddr 'szcz01f.cgn.tpnet.pl'
option ip6addr '2a01:ZZZZ:YYYY:XXXX::1'
option encaplimit 'ignore'
I can see (from debug output added in /lib/netifd/proto/dslite.sh and /lib/netifd/netifd-proto.sh scripts) that it tries to configure DS-Lite link:
Sat Jan 1 13:11:14 2022 daemon.notice netifd: Orange_DS_lite (13810): dslite.sh: ip6addr: 2a01:ZZZZ:YYYY:XXXX::1
Sat Jan 1 13:11:14 2022 daemon.notice netifd: Orange_DS_lite (13810): dslite.sh: peeraddr: 2a01:1000:0:1::9114
Sat Jan 1 13:11:14 2022 daemon.notice netifd: Orange_DS_lite (13810): _proto_notify(): iface=Orange_DS_lite opts=
Sat Jan 1 13:11:14 2022 daemon.notice netifd: Orange_DS_lite (13810): _proto_notify(): json_dump={ "action": 0, "ifname": "ds-Orange_DS_lite", "link-up": true, "tunnel": { "mode": "ipip6", "mtu": 1280, "ttl": 64, "local": "2a01:ZZZZ:YYYY:XXXX::1", "remote": "2a01:1000:0:1::9114", "data": { "encaplimit": "ignore" } }, "data": { "firewall": [ { "type": "nat", "target": "ACCEPT" } ] }, "keep": false, "ipaddr": [ { "ipaddr": "192.0.0.2", "ptp": "192.0.0.1" } ], "routes": [ { "target": "0.0.0.0", "netmask": "0" } ], "interface": "Orange_DS_lite" }
Sat Jan 1 13:11:14 2022 daemon.notice netifd: Orange_DS_lite (13810): Command failed: Invalid argument
And then it loops and floods log with repeated failures.
What is wrong?
More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=4216
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