Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a VM daemon for Rancher Desktop Networking on WSL #3955

Closed
Tracked by #3810
Nino-K opened this issue Feb 15, 2023 · 0 comments · Fixed by rancher-sandbox/rancher-desktop-networking#4
Closed
Tracked by #3810
Assignees
Labels
area/networking kind/enhancement New feature or request kind/story Work item that is linked from a kind/epic
Milestone

Comments

@Nino-K
Copy link
Member

Nino-K commented Feb 15, 2023

We would need to create a VM daemon (VM Switch) that runs in WSL and uses a pre-established connection (this will be an FD or a PIPE that comes from a setup process in the default namespace since network namespaces are not fully supported in AF_VSOCK) with the Host Switch over AF_VSOCK. The VM Switch will run in the isolated namespace in WSL. Upon startup, it creates eth0 tap device and sends out a broadcast request to acquire a DHCP address lease from the existing running gateway.

This VM Switch most likely will be shared across all RD platforms so it should not have any WSL specific logic.

The POC for this work can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/networking kind/enhancement New feature or request kind/story Work item that is linked from a kind/epic
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant