-
Notifications
You must be signed in to change notification settings - Fork 822
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
How to use 'mirrored' mode since 'bridged' networking mode stopped working with 23H2 (WSL 2.1.5) #11291
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
/logs |
Basic environment info
|
Test #1 is failing after the recent WSL update when using the original
|
Test #2 also fails when using Please see the attached Test-run-2-2024-03-16-1540.zip with configuration file and logs.
|
An interesting observation worth mentioning is that, since I've enabled Any ideas why this might happen? |
Is there any in-depth documentation explaining the internal workings of Specifically, I'm interested in how the network interfaces are mapped between the two systems and the available control capabilities like broadcasting etc. How can I make the Windows network interface completely transparent (i.e., without impact of the Windows firewall). How and where (ie in Windows or Linux) should IP addresses be assigned using DHCP or statically? Thanks in advance! |
Please follow the networking diagnostic script. https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues It should create a folder like [WslNetworkingLogs-date_ver.zip] |
I'm interested in this because I'd like to use Snippet of output from
wsl --version:
|
bridged networking mode is working wsl --version
WSL-Version: 2.2.4.0
Kernelversion: 5.15.153.1-2
Also, eth0 is available in bridge mode. |
Following up on this - I'm now getting flakiness in my dns resolution. I tried hardcoding the nameserver to 1.1.1.1 or 8.8.8.8 or whatnot which seems like it helped a bit. I seem to get about a minute of good resolution before it starts getting flakey. See #11326 (comment) dns resolution issues go away if I switch to normal from bridged.
|
did you find a way to make mirrored mode works? |
Windows Version
Microsoft Windows [Version 10.0.22631.3155]
WSL Version
2.1.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.2.7
Distro Version
Alpine Linux 3.17.3
Other Software
No response
Repro Steps
Config file .wslconfig
Expected Behavior
The "bridged" networking mode as in the config below ceased to function with the 23H2 update, likely due to the introduction of the new "mirrored" mode.
However, regarding the "mirrored" mode, the documentation only states that "Enabling this changes WSL to an entirely new networking architecture which aims to 'mirror' the network interfaces you have on Windows into Linux, to add new networking features and improve compatibility." Unfortunately, there are no manuals available explaining the technical details of how to use "mirrored" mode!
Question:
networkingMode = bridged
" and "vmSwitch = WSL-Switch
" ?networkingMode = mirrored
"?Thanks in advance!
Actual Behavior
Config file .wslconfig
Doesn't work anymore and eth0 is not available in bridge mode.
Diagnostic Logs
No response
Tasks
The text was updated successfully, but these errors were encountered: