-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use macvlan on Ubuntu created with WSL2 #11615
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Closed similar issues:
|
This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-file it as a new issue. Thank you! |
Windows Version
Windows 11 22H2
WSL Version
2.0
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
[wsl2]
networkingMode=bridged
vmSwitch=WSLBridge
I used this configuration and then created an Ubuntu for WSL2 and installed the docker engine on the Ubuntu and then created the macvlan NIC and I found that when I configured this NIC to the container, the container could not access
I actually use Hyper-V to create Ubuntu to get macvlan working. Two points are needed: 1. Hyper-V with mac address spoofing turned on 2. Ubuntu with network mixing turned on. But the problem with Ubuntu created by WSL2 is that there is no place to turn on mac address spoofing in WSL2, which is the key to macvlan not working!
Expected Behavior
I can access this container using the IP, just like on the real Ubuntu
Actual Behavior
The container cannot be accessed
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: