WSL: WSL freezing on startup with networkingMode=mirrored after installing 2.1.0.0 even after downgrade

Windows Version

Microsoft Windows [Version 10.0.22631.3007]

WSL Version

2.0.9.0 - 2.1.0.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.137.3-1

Distro Version

Debian 12

Other Software

No response

Repro Steps

Set the following in .wslconfig

[experimental]
networkingMode=mirrored

Then update to version 2.1.0.0 using wsl --update --pre-release

Expected Behavior

WSL should work.

Actual Behavior

WSL freezes seemingly forever during startup of a distribution, I can’t even list distributions using wsl --list when it’s frozen.

I have uninstalled the updates and see the same problem with 2.0.9.0 and 2.0.14.0 even though it worked fine before installing 2.1.0.0.

Diagnostic Logs

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 20 (7 by maintainers)

Most upvoted comments

I just stumbled across issue #11263 so I tried removing the internal Hyper-V switch that I had configured but wasn’t even using and suddenly mirrored seems to be working again.

I just stumbled across issue #11263 so I tried removing the internal Hyper-V switch that I had configured but wasn’t even using and suddenly mirrored seems to be working again.

Exactly the issue I was running into. I had a blank test vSwitch and forgot to remove this after I was done tinkering.

Sure, feel free to close this one.

@DavidZidar , thanks for the follow-up - glad it’s working now! Sorry - I don’t know what was going so badly deep in vswitch