[systemd-devel] SIT tunnel does not work
Tomasz Torcz
tomek at pipebreaker.pl
Mon Jul 14 04:05:09 PDT 2014
On Mon, Jul 14, 2014 at 11:18:43AM +0200, Tom Gundersen wrote:
>
> Hi Tomasz,
>
> I just tried with your configuration with current git and it works for
> me. Note that your kernel may not yet have received the module
> autoloading patch for the tunnel modules (these have been applied to
> all currently maintained upstream kernels, but may not have percolated
> down to you yet). In that case a manual "modprobe sit" is necessary
> before networkd is started.
Can't get it to work, still. "sit" modules is loaded:
% lsmod | grep sit
sit 26625 0
tunnel4 13138 1 sit
ip_tunnel 23089 1 sit
When I run "SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-networkd",
the two lines mentioning my tunnel are:
he : loaded sit
sd-rtnl: discarding 20 bytes of incoming message
I just tried one way - I've put "Tunnel=" option into my extarnal
interface configuration:
external.network:
-----------------
[Match]
Name=enp5s0
[Network]
Tunnel=he
DHCP=yes
DNS=192.168.137.3
DNS=127.0.0.1
[DHCPv4]
UseDNS=no
UseHostname=no
-----------------
(previously I had Tunnel= in he.network file).
This resulted in (slightly trimmed):
enp5s0 : DHCPv4 address 109.107.25.67/24 via 109.107.25.1
enp5s0 : setting addresses
sd-rtnl: discarding 20 bytes of incoming message
enp5s0 : added address: fe80::1278:d2ff:fecc:7eb0/64
enp5s0 : added address: 109.107.25.67/24
he : MAC address not found for new device, continuing without
he : link 48 added
he : udev initializing link...
he : netdev has index 48
he : netdev ready
he : flags change: +POINTOPOINT +NOARP
Assertion '({ const typeof(LINK_STATE_ENSLAVING) _y = (LINK_STATE_ENSLAVING); const typeof(_y) _x = (link->state); unsigned _i; _Bool _found = 0; for (_i = 0; _i < 1 + sizeof((const typeof(_x)[]) { LINK_STATE_FAILED, LINK_STATE_LINGER })/sizeof(const typeof(_x)); _i++) if (((const typeof(_x)[]) { _y, LINK_STATE_FAILED, LINK_STATE_LINGER })[_i] == _x) { _found = 1; break; } _found; })' failed at ../src/network/networkd-link.c:1731, function enslave_handler(). Aborting.
Aborted
systemd-215-2.fc21.x86_64
--
Tomasz Torcz Only gods can safely risk perfection,
xmpp: zdzichubg at chrome.pl it's a dangerous thing for a man. -- Alia
More information about the systemd-devel
mailing list