Skip to content

No interfaces in Ubuntu when using networkingMode=mirrored #11002

Description

Windows Version

10.0.22621.2861

WSL Version

2.0.14.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-1

Distro Version

20.04

Other Software

N/A

Repro Steps

%UserProfile%\.wslconfig

[wsl2]
networkingMode=mirrored
dnsTunneling=true

When I connect to our corporate network via GlobalProtect VPN client, which was recently re-configured from split-tunnel to full-tunnel VPN, I have no Internet (whereas it works fine while disconnected). When not using the above networkingMode=mirrored, connectivity to the Internet does not work due to GlobalProtect taking priority over all routes on the host workstation. Anything like "sudo apt update" or other things that will hit the Internet will fail. DNS resolution works just fine with the "dnsTunneling=true" setting set to true and all lookups work fine.

Once I set "networkingMode=mirrored" in the .wslconfig file, all interfaces within the Ubuntu VM disappear except for the "lo" interface. I and several others in our organization are seeing the same thing. We do have one individual in the organization that seems to be operating fine with "networkingMode=mirrored", but we have been unable to determine what is different about this individual's configuration.

Expected Behavior

With "networkingMode=mirrored", I would expect to see my host workstation interfaces mirrored into my Ubuntu instance.

Actual Behavior

All interfaces except "lo" get removed when "networkingMode=mirrored" is configured.

Diagnostic Logs

Have emailed to wsl-gh-logs@microsoft.com

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