Giter VIP home page Giter VIP logo

Comments (4)

denisSal avatar denisSal commented on June 16, 2024

Hello,

There is no support for VLANs on l2 switches in IMUNES (ng_bridge doesn't support it, to be precise). There is ng_vlan on FreeBSD which might be of use (I am not exactly sure if it can do what you need) but there are no plans to experiment with it just yet.

Denis

from imunes.

keith-gray-powereng avatar keith-gray-powereng commented on June 16, 2024

Understood, thanks for the response. You can close this if you want.

from imunes.

gornjas avatar gornjas commented on June 16, 2024

Sorry for chiming in late... Actually, we have a patch to ng_bridge bit-rotting in a private branch, which provides certain VLAN manipulation capabilities. I'd have to dig up additional docs to recall what exactly have we implemented, it was like a decade ago...
Keith: could you provide an example what exactly you'd like to be able accomplish, like receive a packet on link A tagged with VLAN X, and forward it on link B tagged as VLAN Y, while forwarding it on link C untagged? Or did you have more advanced configs in mind?

from imunes.

keith-gray-powereng avatar keith-gray-powereng commented on June 16, 2024

We typically use the following functionality:

  • Assign native port VLAN
  • Set port as either Trunk or Edge port
  • Use forbidden ports to limit the VLANs transmitted over a Trunk port

When a packet arrives without a VLAN tag, it is tagged with the switch port's native VLAN prior to traversing the switch using the ports' native VLAN and trunk ports with forbidden ports settings.
When a packet arrives with a VLAN tag, the packet traverses the switch using the ports' native VLAN and trunk ports with forbidden ports settings.

Does that help? Let me know if I was unclear about anything or you need more information.

from imunes.

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.