Code Monkey home page Code Monkey logo

Comments (2)

eyakubovich avatar eyakubovich commented on May 11, 2024 1

@mrunalp flannel works at IP (L3) layer today so it's not really possible -- the routing table would not know where to route packets. So far we're planning on keeping flannel a L3 technology as it's easier to deal with. It's possible to run multiple instances of flannel and giving them unique etcd-prefix and configuring them to use distinct UDP ports. That will result in multiple interfaces (flannel0, flannel1, ...) but you have to make sure the address ranges that your configured for them in etcd do not overlap. With VxLAN, the same should again be possible except that you can use vxlan ids instead of UDP port for segregation.

Having two containers with same IP but on different vxlans would require flannel to support L2 semantics. The trouble there is that it becomes necessary to support broadcast (for ARP). We're planning on using VxLAN encap but not it's use of multicast for broadcast. We will therefore not have a way of doing broadcast. We may support a limited L2 functionality without broadcast that relies on flannel to do proxy ARP.

from flannel.

tomdee avatar tomdee commented on May 11, 2024

Closing as the question is answered - Flannel is L3 only.

from flannel.

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.