microsoft / microsoft/WSL

wsl: Failed to configure network (networkingMode Mirrored), falling back to networkingMode None.

Open
#13,454 136 comments 26 reactions 0 assignees View on GitHub
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.26100.5074]

### WSL Version

2.5.7.0

### Are you using WSL 1 or WSL 2?

- [x] WSL 2
- [ ] WSL 1

### Kernel Version

6.6.87.1

### Distro Version

Ubuntu 24.04

### Other Software

_No response_

### Repro Steps

Start WSL using wsl command and the following WSL config
```
[wsl2]
networkingMode=mirrored
```

### Expected Behavior

WSL should start fine and networking should work in mirrored mode

### Actual Behavior

```
wsl: An internal error occurred.
Error code: CreateInstance/CreateVm/ConfigureNetworking/0x8007054f
wsl: Failed to configure network (networkingMode Mirrored), falling back to networkingMode None.
```
Occasionally it is resolved with a reboot, but even running `wsl --shutdown` and restarting just WSL results in the same error then requires a system reboot

### Diagnostic Logs

I was unable to get logs at the time of this failing but I was able to capture this screenshot

Image

Contributor guide

Open the contributing guide

Research direction

Start with the reported WSL 2 configuration using networkingMode=mirrored on Windows 10.0.26100.5074 with WSL 2.5.7.0 and Ubuntu 24.04, then reproduce the ConfigureNetworking/0x8007054f failure and collect diagnostic logs. Done means WSL starts without falling back to networkingMode None and mirrored networking works without requiring a host reboot.

Written by the indexing model from the issue text.

Assessment

Tech stack
ubuntu
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.