Hey Guys, I’ve a problem where I’m trying to embed...
# general
n
Hey Guys, I’ve a problem where I’m trying to embed some custom tenant -specific information to network packets which are flowing in an overlay network (VXLAN) while using Cilium CNI in the K8s cluster. I’m new to the networking area and might use some expert advice 🙂 Has anyone embedded some custom information in network packets in an overlay network at L2 layer before? TIA!
Also, please excuse me if this isn’t the right forum for this problem! I’m working on a Multi Tenant Network Isolation Problem.
g
It is absolutely the right forum, but it doesn't mean that anyone knows the answer 🙂 It is pretty specific and probably requires a Cilium expert...
❤️ 1
Let me try something: @Bill Tarr AFAIK, AWS has a relationship with Isovalent (the Cilium company). Any chance there is an expert on multi-tenancy and Cilium in your network? Maybe someone talked about this on your Twitch? 🙂
n
Thankyou @Gwen Shapira! I’ve actually messed around on cilium slack with this problem but didn’t find anyone who had done this before. Cilium uses eBPF to encode such information in the VXLAN packets (and for many other things) but no one on cilium slack channel has tried to mess around with that part of the code which creates the VXLAN packets 😂 Hence I took a random stab here out of engineering curiosity :p
g
@NIKHIL SRIVASTAVA (B16CS020) Confluent networking team has amazing experts. @Dan LaMotte if he's still around... If you guys discover the solution internally, I'd really appreciate if you can circle back and share it with the community. It is a challenging and important question.
n
Sounds good. I’m already working with him 🙂
g
LOL. Tell him that I said he's amazing then 🙂
n
🙌🏼
b
Hi @NIKHIL SRIVASTAVA (B16CS020) would be happy to chat and see if I can find an answer for you. I think my team has more calico experience, but always willing to learn a new trick too
n
Hi @Bill Tarr - thanks a lot for your response! Is my use case clear from what I have described on this thread?
b
In general, I THINK I understand the what here. Putting some tenant info into packets passed over VXLAN, so Layer 2. Definitely not my area, but I'm asking in a couple places.
Not sure I understand the why of it yet, but not sure if you can share here. I'd guessing you are trying to create tenant isolation in UDP traffic? Just trying to understand if there is anything else we could delve into by way of ideation on what you are trying to achieve....
n
Yeah, I want to make sure that tunnels are created in a way that we have isolation baked into L2. If we look at how VXLAN works, it typically has VXLAN Tunnel Endpoints (acting as switches) at the 2 ends of the tunnel. I wanna make sure that a specific end sends packet to a very specific another end, instead of multicasting you all other end points. It’s not a typical case that we run into usually 🥲