systemd-networkd can't set ip6tnl interface mode as any
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
systemd-networkd provides "Mode=" configuration for a virtual device of "Kind=ip6tnl". But setting mode to "any" doesn't work, tunnel mode stay as ipv6/ipv6:
20/05/21 18:08:33 darkyman@
ip6tnl0: ipv6/ipv6 remote :: local :: encaplimit 0 hoplimit inherit tclass 0x00 flowlabel 0x00000 (flowinfo 0x00000000)
I'm expecting it to be in any/ipv6 mode like:
ip6tnl0: any/ipv6 remote :: local :: encaplimit 0 hoplimit inherit tclass 0x00 flowlabel 0x00000 (flowinfo 0x00000000)
Config file attached (00-ip6tnl0.
Currently I'm using systemd service as a workaround this issue, which sets mode to "any" by calling
/usr/sbin/ip -6 tunnel change ip6tnl0 mode any
And that's what networkctl thinks about this tunnel interface
● 7: ip6tnl0
Link File: /usr/lib/
Network File: /etc/systemd/
Queue Length (Tx/Rx): 1/1
May 20 17:55:36 mnt-myt-
May 20 17:55:36 mnt-myt-
May 20 17:55:36 mnt-myt-
May 20 17:55:36 mnt-myt-
May 20 17:55:36 mnt-myt-
May 20 17:55:36 mnt-myt-
May 20 17:55:36 mnt-myt-
Is this still an issue? If so, can you please enable debug logs on systemd-networkd, and then reboot, and attach those recent logs?
$ systemctl edit systemd- networkd. service SYSTEMD_ LOG_LEVEL= debug
# Add the following when the editor opens:
[Service]
Environment=
$ reboot networkd. service > logs.txt
[...]
$ journalctl -b -u systemd-