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

Tom Gundersen teg at jklm.no
Tue Jun 24 10:11:31 PDT 2014


On Tue, Jun 24, 2014 at 7:09 PM, Marcel Holtmann <marcel at holtmann.org> wrote:
> 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.

Yeah, of course you are right. Didn't occur to me.

Care to split it up Susant?

Cheers,

Tom


More information about the systemd-devel mailing list