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

Networking mode does not work in mirrored mode #11540

Closed
1 of 2 tasks
Marc2p opened this issue Apr 30, 2024 · 3 comments
Closed
1 of 2 tasks

Networking mode does not work in mirrored mode #11540

Marc2p opened this issue Apr 30, 2024 · 3 comments
Labels

Comments

@Marc2p
Copy link

Marc2p commented Apr 30, 2024

Windows Version

Microsoft Windows [Version 10.0.22631.3527

WSL Version

2.1.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.146.1-microsoft-standard-WSL2

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

Configure the .wslconfig file as follows:
networkingMode=mirrored
dnsTunneling=true

Expected Behavior

Windows network interfaces are mirrored in wsl

Actual Behavior

A notification appears saying Errors have occurred during WSL startup and it is running in nat mode

Diagnostic Logs

WslNetworkingLogs-2024-04-30_08-47-29.zip

Copy link

View similar issues

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!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
.wslconfig found
Detected appx version: 2.1.5.0
optional-components.txt not found

@AzureLeMoon
Copy link

do you have the "[wsl2]" tag before writing the networkingMode key ?

like below :

[wsl2]
networkingMode=mirrored

@Marc2p
Copy link
Author

Marc2p commented May 10, 2024

It worked for me. Thank you

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

3 participants