Skip to content

Windows sets virtual network adapter down #13960

@cpebble

Description

@cpebble

Windows Version

Microsoft Windows [Version 10.0.26100.7392]

WSL Version

2.6.2.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.87.2-microsoft-standard-WSL2

Distro Version

Arch Linux

Other Software

Vagrant: 2.4.9
With provider:
Oracle VirtualBox: 7.2.4

Repro Steps

Using mirrored networking
Starting a VM, using virtualbox "Host-Only Adapter" which assigns addresses on 192.168.56.1/24

By default this adapter is mirrored but not assigned an ip or enabled. Looking through ipconfig.exe /all the physical address can be found. Looking in ip link the interface can be determined.
Assume eth3 is the interface, enable the interface like so:

sudo ip addr add dev eth3 192.168.56.1/24
sudo ip link set eth3 up

Then connectivity works between vms and wsl.

Expected Behavior

  1. That this adapter is enabled automatically. At least i expect this is what "mirrored" implies
  2. That the adapter stays up

Actual Behavior

The adapter goes down at random intervals(seconds or minutes). In linux, with the errors:

systemd-networkd[93]: eth3: Link DOWN
systemd-networkd[93]: eth3: Lost carrier

From what i see in logs this seems to be as a result of some dns change reapplying the network state before adapter is set up

Diagnostic Logs

I managed to catch a pretty clean log file
WslLogs-2025-12-22_08-39-43.zip

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