Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

need help with tun device network setup, not tap #4350

Unanswered
calvin2021y asked this question in Q&A
Discussion options

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?

You must be logged in to vote

Replies: 3 comments

Comment options

Hi @calvin2021y. Thanks for getting in touch. Firecracker does not support tun devices, at the moment. We only handle L2 devices.

You must be logged in to vote
0 replies
Comment options

is tun device doable ?

You must be logged in to vote
0 replies
Comment options

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?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /