microsoft / microsoft/WSL

Ethernet MAC address can set as a static(fixed) address

Open
#9,011 1 comment 0 reactions 0 assignees View on GitHub
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.**
This is a new feature,which not present now.

**Describe the solution you'd like**
Like raw ubuntu, or other Linux.Mac address can be set to a static value,use command "sudo ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx"

**Describe alternatives you've considered**
No

**Additional context**
In some cases,router configed only transfer eth-packet from the machine who's mac in white list.However, eth-mac changed everytime after system reboot.

Contributor guide

Open the contributing guide

Research direction

Start by comparing WSL's current Ethernet initialization with Linux's ifconfig hw ether behavior and trace where the interface MAC is assigned during reboot. Define how a user-specified fixed MAC would be configured and persisted, then verify that the address remains unchanged after restart and supports the stated whitelist scenario.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.