[systemd-devel] [PATCH] networkd: Introduce tuntap device

Marcel Holtmann marcel at holtmann.org
Tue Jun 24 10:09:23 PDT 2014


Hi Tom,

>> This patch introduces tuntap support to networkd.
>> 
>> Example conf
>> 
>> file : tuntap.netdev
>> 
>> [NetDev]
>> Name=tuntap-test
>> Kind=tuntap
>> 
>> [TUNTAP]
> 
> Hm, maybe call this TunTap instead?
> 
>> Mode=tap
>> OneQueue=true
>> MultiQueue=true
>> PacketInfo=true

I wonder if it might be better separate in Tun and in Tap devices. Tun devices are IP only devices and Tap devices are actual Ethernet devices.

It looks a bit silly that you have to specific Kind=tuntap only to later specific Mode=tap. Why not just do Kind=tap device? That under Linux the setup of both Tun and Tap devices happens via /dev/net/tun is just an implementation detail.

Regards

Marcel



More information about the systemd-devel mailing list