Skip to content
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

Calico eBPF mode: support VLAN-based traffic #9401

Open
e-nikolaev opened this issue Oct 28, 2024 · 1 comment · May be fixed by tigera/docs#1742
Open

Calico eBPF mode: support VLAN-based traffic #9401

e-nikolaev opened this issue Oct 28, 2024 · 1 comment · May be fixed by tigera/docs#1742

Comments

@e-nikolaev
Copy link

According to Calico eBPF documentation "VLAN-based traffic not supported".
I need clarification: does this mean that if a Calico node is connected to a physical network via a sub-interface, the eBPF mode will not be activated?
Is this true for both overlay and non-overlay modes?
What is the limitation of the lack of vlan support?
Which specific Calico component does not support vlan?
I quickly looked through the source code, but didn't find any restrictions.

@tomastigera
Copy link
Contributor

The documentation means that we cannot have calico attached to a device that sees VLAN traffic. The code does not support it. Such traffic would be dropped as corrupted packets.

It is ok, to have your nodes connected to the network via a vlan device and configure calico using bpfDataIfacePattern to exclude the main device and include the vlan device from its control. Say you exclude bond0 but you include bond0.1010 from that pattern.

We are working on automating that process.

@tomastigera tomastigera linked a pull request Oct 28, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants