-
Notifications
You must be signed in to change notification settings - Fork 802
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
Can't Use Multiple NICs with WSL2 #8504
Comments
@anaszgh in an elevated console type
I think this is by design. So far I didn't find a way to create multiple endpoints and assign individually to WSL instances, or bind to different host network ports. MS won't let us see the code for |
I can create a new virtual switch and assign it to a specific wsl distro (using wsl.conf) or make global default by updating .wslconfig file. But the problem that i'm unable to specify multiple virtual switches. the case is as follows I have to NICs each assigned a different IP Range for example if assign the virtual switch of NIC1 to the wsl, it will not be able to access anything accessible from NIC2, and vise-versa. Is there a way to make it possible to access both NICs? For example, NIC2 connected to an RTSP Camera, and i want the wsl to able to consume the video. |
This is by design, closing issue. |
Not often you see the "It's not a bug, it's a feature put into a large scale commercial deployment" What moron made that design decision? |
Version
10.0.20348.740
WSL Version
Kernel Version
5.10.16
Distro Version
Ubuntu 18.04
Other Software
No response
Repro Steps
1 - On a device with multiple NICs install WSL2
2 - Install Ubuntu 18.04 distro
3 - Open Ubuntu and type ifconfig
4 - You'll see only one network registered
Expected Behavior
To have all the network capabilities of the host OS, currently any incoming traffic to the second NIC is not received by the WSL
Actual Behavior
Currently, WSL configured a single network for one of the NICs, any incoming traffic to the second NIC is not received by the WSL
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: