Skip to content

[QUESTION] Add a second vEthernet adapter for specific WSL distro #7690

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

Open
pieterhouwen opened this issue Nov 14, 2021 · 2 comments
Open
Labels

Comments

@pieterhouwen
Copy link

Is your feature request related to a problem? Please describe.
I'm running multiple WSL instances but I want to bridge a certain distro to my local network while leaving another one with the default network setting (seperate network adapter). I read online that you can hook up your WSL installation to the local network by creating a network bridge between the vEthernet adapter for WSL and the adapter that is connected to your local network (in my case Local Area Connection). This however turns network bridging on for every WSL distro you have installed, and some features of the distro that I don't want bridged stop working when the network is bridged.

Describe the solution you'd like
I'd like to know how I can create a seperate vEthernet adapter which I can bridge to the local network that only works for a specific WSL distro. Or I'd like to know how I can turn on network bridging for a specific distro.

@micheldiemer
Copy link

Here a detailed working procedure on how to use WSLAttachSwitch

Script : #4799 (comment)

Text : #4799 (comment)

@micheldiemer
Copy link

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

No branches or pull requests

2 participants