[systemd-devel] SIT tunnel does not work

Susant Sahani susant at redhat.com
Sat Jun 21 04:06:45 PDT 2014


On 06/21/2014 02:47 PM, Tomasz Torcz wrote:
> Hi,
>
>    I've tried to establish SIT tunnel to Hurricane Electric, using systemd v214.
> It does not work, device do not appear.  I'm concerned about networkd discarding
> part of netlink messages, see below.  Original instruction is provided by HE,
> rest is my shot at translating it into netdev (nb. manpage wasn't updated when
> tunnel features went in).

The se.network file has conf problem. you need to put the interface
name rather tunnel name like eth0/em1

>
> Original instruction:
> ---------------------
> modprobe ipv6
> ip tunnel add he-ipv6 mode sit remote 216.66.80.162 local 109.107.25.67 ttl 255

ip tunnel add he-ipv6 mode sit remote 216.66.80.162 local dev eth0

> ip link set he-ipv6 up
> ip addr add 2001:470:70:68d::2/64 dev he-ipv6
> ip route add ::/0 dev he-ipv6
> ip -f inet6 addr
>
>
> $ cat he.netdev
> ---------------
> [NetDev]
> Name=he
> Kind=sit
>
> [Tunnel]
> Local=109.107.25.67
> Remote=216.66.80.162
>
>
> $ cat he.network
> ----------------
> [Match]
> Name=he
>
you need to supply the interface name here

[Match]
Name=em1 <==========interface name


12: he: <POINTOPOINT,NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT
group default link/sit 109.107.25.67 peer 216.66.80.162

> [Network]
> Tunnel=he
> Address=2001:470:70:68d::2/64
>
>
> $ SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-networkd
> -------------------------------------------------------
> timestamp of '/etc/systemd/network' changed
>           he: loaded sit
> sd-rtnl: discarding 20 bytes of incoming message
> could not add new link
> could not add new link
>              eth1: link 3 added
>              eth1: udev initialized link
>              eth1: unmanaged
>              eth1: flags change: +UP +LOWER_UP +RUNNING +MULTICAST +BROADCAST
>>

-- 
Susant


More information about the systemd-devel mailing list