-
Notifications
You must be signed in to change notification settings - Fork 2.1k
need help with tun device network setup, not tap #4350
-
The document said: Currently firecracker supports only TUN/TAP network backend with no multi queue support.
The example only provide tap example, and I can not find tun device example.
I need to use tun device(layer 3), not tap (layer 2).
any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 3 comments
-
Hi @calvin2021y. Thanks for getting in touch. Firecracker does not support tun
devices, at the moment. We only handle L2 devices.
Beta Was this translation helpful? Give feedback.
All reactions
-
is tun device doable ?
Beta Was this translation helpful? Give feedback.
All reactions
-
virtio-net
is a L2 device, hence we tap instead of tun. I guess we could do tun but this would need us to process the frame in Firecracker before passing it over to the tun device. I would expect that to be slower than what the kernel is able to do. Would you mind me asking what is your use-case, in other words, why tap device doesn't work for you?
Beta Was this translation helpful? Give feedback.