-
Notifications
You must be signed in to change notification settings - Fork 834
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
WSL2 Mirrored Networking and Podman macvlan DHCP #11292
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please 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. Thank you! Open similar issues:
Closed similar issues:
|
Hi! Same exactly issue found. For more reference what I did:
When attaching container to network the I find same error that @avlec found:
Output of
|
Please follow the networking diagnostic script. https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues It should create a folder like [WslNetworkingLogs-date_ver.zip] |
Seeing the same issue does anyone have a fix for this? |
@mwoodpatrick if you can reserve a fixed range of IP addresses on the LAN you can work around this with a ipvlan network this is the easiest. e.g., the interface I want to use is eth1 which maps to some windows NIC and I have IP addresses in 192.168.1.64 through 192.168.1.127 I can reserve on the LAN for this podman network.
You can also do this by creating an ipvlan without the |
Can you use docker macvlan normally? |
@jumpjumpb3ar you normally need to add this capability, |
Is your feature request related to a problem? Please describe.
I am trying to use a macvlan podman network with DHCP to dynamically assign IP addresses to my containers via the target. Instructions referenced for setup https://github.com/containers/podman/blob/main/docs/tutorials/basic_networking.md#macvlan
Describe the solution you'd like
For the macvlan podman networks to be able to use the mirrored interface to perform DHCP for the containers.
Describe alternatives you've considered
I have had success using an ipvlan podman network with an IP range to handle the containers addresses which works but is extra configuration unique to the machine and network.
Additional context
Windows 11 WSL2 with mirrored networking configuration. podman rootful machine.
Adding onto this that I've tried all the different podman network types with no difference in results.
The text was updated successfully, but these errors were encountered: