[systemd-devel] [PATCH 1/2] networkd: ipip tunell add address support

Susant Sahani susant at redhat.com
Mon Apr 14 03:31:33 PDT 2014


On 04/14/2014 03:50 PM, "Jóhann B. Guðmundsson" wrote:
>
> On 04/14/2014 04:06 AM, Susant Sahani wrote:
>> This patch extends supports to configure address
>> for ipip tunnel patch.
>>
>> File: ipip.network
>> [Match]
>> Name=em1
>>
>> [Network]
>> Tunnel=ipip-tun
>> Address=192.168.10.24
>
> You might want to skip "tun" from ipip-tun to match modes directly
> ( ip tu ad ipiptun mode ipip <-- local foo remote bar ttl 64 dev em1 )
>
> or atleast remove the "-" so it matches the ip commands which uses 
> "ipiptun", "gretun" and "sittun"
> ( ip tu ad ipiptun <-- mode ipip local foo remote bar ttl 64 dev em1 )

It's a name not tunnel type. Tunnel type configured in .netdev . you can 
put anything here . Should match the .netdev Name='XYZ'

The Kind is mode which you can replace with ipip/sit/gre .

file: ipip.netdev
--------------------------
[NetDev]
Name=ipip-tun<===========Name
Kind=ipip <========================== tunnel type


>
> JBG

Thanks,
Susant



More information about the systemd-devel mailing list