chiark / gitweb /
networkd: introduce gre tunnel
authorSusant Sahani <susant@redhat.com>
Thu, 22 May 2014 10:35:03 +0000 (16:05 +0530)
committerTom Gundersen <teg@jklm.no>
Mon, 2 Jun 2014 14:13:00 +0000 (16:13 +0200)
commit8bb088c5d44e566eb101e3f093d690aeb2a82285
treed87d3bdaf2a22d93c4f5323e2516060402b75081
parent4d7ec9fc36780ecad244d0cc35db737fffe95b8b
networkd: introduce gre tunnel

This patch enables gre tunnel support.

example conf:

file : gre.netdev
[NetDev]
Name=gre-tun
Kind=gre
MTUBytes=1480

[Tunnel]
Local=X.X.X.X
Remote=X.X.X.X

file: gre.network
[Match]
Name=em1

[Network]
Tunnel=gre-tun

TODO:

Add more attributes for gre tunnel
IFLA_GRE_IFLAGS
IFLA_GRE_IFLAGS
IFLA_GRE_IKEY
IFLA_GRE_OKEY
src/libsystemd/sd-rtnl/rtnl-types.c
src/network/networkd-tunnel.c