[Bug 1832404] Re: sit tunnel should not require the local param
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Tue Jun 11 20:46:08 UTC 2019
** Package changed: plan (Ubuntu) => netplan.io (Ubuntu)
** Changed in: netplan.io (Ubuntu)
Importance: Undecided => Medium
** Changed in: netplan.io (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1832404
Title:
sit tunnel should not require the local param
Status in netplan.io package in Ubuntu:
Confirmed
Bug description:
[Description]
When setting up a sit tunnel (with Hurricane Electric for example),
one can use a netplan config like (https://netplan.io/examples
#connecting-an-ip-tunnel) this:
network:
version: 2
ethernets:
eth0:
addresses:
- 1.1.1.1/24
- "2001:cafe:face::1/64"
gateway4: 1.1.1.254
tunnels:
he-ipv6:
mode: sit
remote: 2.2.2.2
local: 1.1.1.1
addresses:
- "2001:dead:beef::2/64
gateway6: "2001:dead:beef::1"
This works well with a static IPv4 on eth0. Had eth0 been configured
by DHCP one would be tempted to omit the 'local' param and let the
network stack figure out which one to use to reach the remote
endpoint. This used to work that way with ifupdown but netplan
complains:
Error in network definition: he-ipv6: missing 'local' property for tunnel
mode: sit
^
[Additional information]
# lsb_release -rd
Description: Ubuntu 18.04.2 LTS
Release: 18.04
# apt-cache policy netplan.io
netplan.io:
Installed: 0.97-0ubuntu1~18.04.1
Candidate: 0.97-0ubuntu1~18.04.1
Version table:
*** 0.97-0ubuntu1~18.04.1 500
500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
100 /var/lib/dpkg/status
0.40.1~18.04.4 500
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
0.36.1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: netplan (not installed)
ProcVersionSignature: Ubuntu 4.15.0-51.55-generic 4.15.18
Uname: Linux 4.15.0-51-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Jun 11 16:26:25 2019
InstallationDate: Installed on 2018-07-15 (331 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180714)
ProcEnviron:
LANG=en_CA.UTF-8
TERM=xterm-256color
SHELL=/bin/bash
XDG_RUNTIME_DIR=<set>
PATH=(custom, no user)
SourcePackage: plan
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1832404/+subscriptions
More information about the foundations-bugs
mailing list