Networking mode does not work in mirrored mode
Marc2p opened this issue · 3 comments
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
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:
- networkMode=mirrored gives an error (#11359), similarity score: 0.85
- Cannot enable Mirrored network on WSL (#11154), similarity score: 0.85
Closed similar issues:
- wsl: Mirrored networking mode is not supported, falling back to NAT networking (#11283), similarity score: 0.87
- Mirrored mode networking unavailable in Windows 11 (#11414), similarity score: 0.86
- Mirrored networking mode is not supported, falling back to NAT (#11332), similarity score: 0.84
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
do you have the "[wsl2]" tag before writing the networkingMode key ?
like below :
[wsl2]
networkingMode=mirrored