Cannot enable Mirrored network on WSL
Open
Nobody has claimed this yet.
network
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
Windows Version
Microsoft Windows [Version 10.0.26052.1000]
WSL Version
2.1.1.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 18.04
Other Software
No response
Repro Steps
I set the network type to mirrored in the .wslconfig file.
networkingMode=mirrored
and then restart WSL
Expected Behavior
Everything's getting good. It should work.
Actual Behavior
When I start wsl it reports an error:
无法初始化Mirrored网络。若要切换回NAT网络请从 C:\Users\ecomter\.wslconfig中删除“experimental.networkingMode”
Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/0x803b0015
Diagnostic Logs
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the attached WslNetworkingLogs archive and the reported .wslconfig setting, then reproduce the failure with networkingMode=mirrored on the stated WSL and Windows versions. Done means WSL starts with mirrored networking enabled without error 0x803b0015.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100