Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Consider adding support for bridge-less networking #831

Closed
networkop opened this issue May 5, 2021 · 1 comment
Closed

Consider adding support for bridge-less networking #831

networkop opened this issue May 5, 2021 · 1 comment

Comments

@networkop
Copy link
Contributor

networkop commented May 5, 2021

Hi 👋 , would you consider adding support for bridgeless networking using tc redirect, similar to what kata containers and fircracker-containerd are doing?
The use case is launching VMs either without any interface config or mounting/copying configuration files into the VM filesystem and activating them on boot with something like ifreload, although ultimately it'll be down to the guest image to make sure this runs.

Implementation-wise, it could a simple check that in the networking setup for loop for any configured IP addresses. If there are more than 1, then use the existing bridge+dhcp approach; if not -- setup a tc redirect between the veth and tap links.

I'd be happy to volunteer to do a PR, assuming this is deemed acceptable.

@darkowlzz
Copy link
Contributor

Implemented in #836

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants