Support for multiple ethernet virtual adaptors in WSL2
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
I want to start my Linux distribution with two ethernet adaptors; eth0 and eth1. AFAIK the eth0 device is connected to the vEternet (WSL) virtual adaptor and I managed to create another vEthernet (WSL-TEST) adaptor through "Virtual Switch Manager" in windows:
Ethernet adapter vEthernet (WSL-TEST):
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::2479:f92d:8abf:5e96%38
Autoconfiguration IPv4 Address. . : 169.254.94.150
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
I have restarted my WSL instance, but lshw and ifconfig does not show the new virtual adaptor. How do I add my newly created "vEthernet (WSL-TEST)" adaptor ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the setup in WSL2 and checking the interfaces with lshw and ifconfig, then investigate how the Windows vEthernet (WSL-TEST) adaptor is exposed to the Linux distribution. Done means a distribution starts with both eth0 and eth1 visible and usable.
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
- Needs clarification
- Newbie friendliness
- 20/100