-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Feature Request: VLAN Tagging #64
Comments
I have no experience with VLANs, but this sounds like something that Docker should support on the container level, not something I can provide in my code. In any case its possible to put the container inside a Docker macvlan network, and there is even a DHCP mode that allows Windows to get an IP from your DHCP server, its documented here . |
No worries... I figured since the VM's were somehow getting an IP way outside the range of the containers bridge network, and different than the host network, you were doing something fancy with the network stack of the VM. If I figure out a simple work around for this, I'll post it. |
All the traffic to the container IP is tunneled to the (dummy) VM IP 20.20.20.21 via a tuntap interface. If you want to avoid this tunnel/NAT you can enable DHCP=Y, and it will use a |
I have been following this topic with interest. Is it possible to activate this retrospectively or does it have to be done initially? Many thanks for this container, I love it. |
Ya, it will definitely be able to be done in post... I use portainer to orchestrate my containers, once I figure out how to do it, I'll post how to do it. |
I don't know much much work it would be to implement... but for our use case for spinning up throw away lab environments, being able to add a VLAN tag would be really useful.
The text was updated successfully, but these errors were encountered: