microsoft / microsoft/WSL

Start a distro with fixed MAC address on WSL2

Open
#5,291 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

Is your feature request related to a problem? Please describe.
The MAC address of distro changes every time it is started.. Some software license is based on MAC address. Changes will make license unusable.

Describe the solution you'd like
I wish we can have similar option like wsl -d distro --mac xxx.xxx

Contributor guide

Open the contributing guide

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.

Research direction

Start by locating the command-line handling for wsl -d distro and the WSL2 distro startup networking path. Determine how a user-supplied MAC address should be validated and applied; done means the distro starts with the requested address consistently without breaking existing startup behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, networking, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.