[systemd-devel] [PATCH 1/1] networkd: Introduce ipip tunnel

Tom Gundersen teg at jklm.no
Fri Apr 25 10:36:21 PDT 2014


On Fri, Apr 11, 2014 at 6:29 PM, Susant Sahani <susant at redhat.com> wrote:
> On 04/08/2014 12:54 PM, "Jóhann B. Guðmundsson" wrote:
>
>
> On 04/08/2014 03:22 AM, Susant Sahani wrote:
>
> file: ipip.netdev
> --------------------------
> [NetDev]
> Name=ipip-tun
> Kind=ipip
>
> [Tunnel]
> Local=192.168.8.102
> Remote=10.4.4.4
> TTL=64
> MTUBytes=1480
>
> file: ipip.network
> --------------------------
> [Match]
> Name=eth0
>
> [Network]
> Tunnel=ipip-tun
>
>
> I think this is worse from previous example since now you have moved the
> network definitions out from the network file and into the net device file.
>
>
> Well thanks for the comment . I am open for the change . Leaving tom to
> comment on this .

[sorry for breaking the quoting, hopefully it is clear who said what]

I actually think this is the correct way to do it, as the addresses
(which I assume is what Jóhann is objecting to?) are properties of the
link (similar to mac addresses, mtu, etc) rather than regular ip
addresses that you can configure for normal devices. Or maybe I'm
missing something? Anyone else have any input on this?

If no one else objects I'll merge this (and I'll fix up Zbiginew's
comment as I do so, so no need to resend just for that).

Cheers,

Tom


More information about the systemd-devel mailing list