Open chuwza opened 1 month ago
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.
The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.
Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs
/feature
Hi. Can you please collect networking logs by following the instructions below? https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues
11292
https://github.com/microsoft/WSL/issues/11292#issuecomment-2142728474
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![屏幕截图(413)zz](https://github.com/microsoft/WSL/assets/30049891/44861583-545e-4bcf-93af-fcb5c08b9513)
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