-
Notifications
You must be signed in to change notification settings - Fork 835
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
Please support Docker macvlan #11648
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 |
The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running. Diagnostic information
|
The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running. Diagnostic information
|
/feature |
Diagnostic information
|
Hi. Can you please collect networking logs by following the instructions below? |
Sad news:
Bridged mode works very well as it is now in WSL-Version: 2.4.5.0 |
Oh, no🥲 |
#11292
#11292 (comment)
Same problem here, docker macvlan is not available on win11 WSL2. docker macvlan is available on win11 Hyper-V Ubuntu, two conditions are required: 1. mac address spoofing is turned on for the NIC in Hyper-V Ubuntu
2. Enabled Promiscuous mode for Ubuntu.
The reason macvlan is not available for WSL2 is that mac address spoofing cannot be turned on for WSL2 (the option can be turned on for the NIC in Hyper-V, but there is no place to configure it for the NIC in WSL2)
This problem is actually very easy to solve, just make the WSL2's network interface enable mac address spoofing through the configuration file.
Such as
[wsl2]
memory=8G
[experimental]
networkingMode=bridged
macspoofing=enabled
This is log file
WslLogs-2024-06-03_17-30-06.zip
The text was updated successfully, but these errors were encountered: