Skip to content

How to use 'mirrored' mode since 'bridged' networking mode stopped working with 23H2 (WSL 2.1.5) #11291

@Boilerplate4u

Description

@Boilerplate4u

Windows Version

Microsoft Windows [Version 10.0.22631.3155]

WSL Version

2.1.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.2.7

Distro Version

Alpine Linux 3.17.3

Other Software

No response

Repro Steps

Config file .wslconfig

networkingMode = bridged
vmSwitch = WSL-Switch

Expected Behavior

The "bridged" networking mode as in the config below ceased to function with the 23H2 update, likely due to the introduction of the new "mirrored" mode.

networkingMode = bridged
vmSwitch = WSL-Switch

However, regarding the "mirrored" mode, the documentation only states that "Enabling this changes WSL to an entirely new networking architecture which aims to 'mirror' the network interfaces you have on Windows into Linux, to add new networking features and improve compatibility." Unfortunately, there are no manuals available explaining the technical details of how to use "mirrored" mode!

Question:

  1. How can I re-enable functionality using "networkingMode = bridged" and "vmSwitch = WSL-Switch" ?
  2. Or how to achieve the same effect using "networkingMode = mirrored"?
  3. If possibe, please provide en example and where to find tech docs regarding how to use "mirrored" mode

Thanks in advance!

Actual Behavior

Config file .wslconfig

networkingMode = bridged
vmSwitch = WSL-Switch

Doesn't work anymore and eth0 is not available in bridge mode.

Diagnostic Logs

No response

### Tasks

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