Skip to content

wsl: Mirrored networking mode is not supported: Windows version 26100.4202 does not have the required features. Falling back to NAT networking. #13068

Closed

Description

@BennyKritzer

Windows Version

Microsoft Windows [Version 10.0.26100.4202]

WSL Version

2.5.7.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.87.1-1

Distro Version

Ubuntu 24.04

Other Software

No response

Repro Steps

Launch Ubuntu 24.04

Expected Behavior

Mirrored networking mode works, launching Ubuntu doesn't produce:
wsl: Mirrored networking mode is not supported: Windows version 26100.4202 does not have the required features.
Falling back to NAT networking.
wsl: Failed to configure network (networkingMode Nat), falling back to networkingMode VirtioProxy.

Actual Behavior

Instead getting:

wsl: Mirrored networking mode is not supported: Windows version 26100.4202 does not have the required features.
Falling back to NAT networking.
wsl: Failed to configure network (networkingMode Nat), falling back to networkingMode VirtioProxy.

Diagnostic Logs

.wslconfig file:
[wsl2]
networkingMode=mirrored
swap=0

WslLogs-2025-06-07_09-10-33.zip

Activity

  1. github-actions commented on Jun 7, 2025

    @github-actions
    Contributor
    Diagnostic information
    .wslconfig found
    Detected appx version: 2.5.7.0
    
  2. BennyKritzer commented on Jun 10, 2025

    @BennyKritzer
    Author

    Any response?

  3. OneBlue commented on Jun 10, 2025

    @OneBlue
    Collaborator

    Cătălin Emil Fetoiu (@CatalinFetoiu): It looks like HNS is in a bad state here:

    691	False	Microsoft.Windows.Lxss.Manager	Error	0	06-07-2025 06:10:47.248	"	"	"code: 	
    failurecount: 	156
    file: 	C:\__w\1\s\src\windows\common\WslCoreNetworkingSupport.h
    function: 	
    hr: 	0x800706D9
    linenumber: 	366
    message: 	HcnEnumerateNetworks((null)) (null)
    threadid: 	29300
    type: 	0"	C:\__w\1\s\src\windows\common\WslCoreNetworkingSupport.h			19700	29300	2		0c76c2c9-2eca-4124-8cf6-f4239caef466		
    

    Is this a known issue ?

  4. BennyKritzer commented on Jun 11, 2025

    @BennyKritzer
    Author

    Seems to be resolved, executed in PowerShell with elevated privileges:

    Set-Service hns -StartupType Automatic
    Start-Service hns

    Which resolved the issue

  5. OneBlue commented on Jun 11, 2025

    @OneBlue
    Collaborator

    Interesting. I wonder why it wasn't starting on his own.

    Closing since the issue is resolved.

  6. Natzukashi commented on Apr 30, 2026

    @Natzukashi

    Didn't resolve the issue for me...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions