Support unique MAC addresses for multiple WSL instances

Open
#42,111 3 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp, linux

Research direction

Start by locating where WSL creates or configures each instance’s network interface; the issue does not name a file, test, or entry point. Determine how MAC addresses are currently assigned and what keeps that assignment stable across restarts. Done means each WSL instance has a distinct MAC address that remains unchanged after restarting.

Written by the indexing model from the issue text.

Description

feature

Is your feature request related to a problem? Please describe.
Multiple WSL instances share the same MAC address, making it difficult to distinguish them on the network.

Describe the solution you'd like
Assign a unique and stable MAC address to each WSL instance.

Describe alternatives you've considered
Manually configuring MAC addresses for each instance.

Additional context
MAC addresses should remain unchanged across restarts.

Dominant language
C++
Stars
34.4k
Forks
1.9k
Avg merge
1d 23h
Merged PRs (30d)
166

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/WSL

All issues in microsoft/WSL

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.