Coder Social home page Coder Social logo

Comments (5)

kroese avatar kroese commented on June 25, 2024 2

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 macvtap interface, so the VM will be directly connected to the network like a normal device, without any layers in between. As it will get an IP from your router, you can configure your router to put it on a specific VLAN.

from windows.

demimii avatar demimii commented on June 25, 2024 1

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.

from windows.

Matt-CyberGuy avatar Matt-CyberGuy commented on June 25, 2024 1

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.

from windows.

kroese avatar kroese commented on June 25, 2024

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 .

from windows.

Matt-CyberGuy avatar Matt-CyberGuy commented on June 25, 2024

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.

from windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.