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

Do not exclude dummy devices during local addr detection #572

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

hemanthmalla
Copy link

Processes like nodelocaldns might setup a dummy device and attach a custom IP to them. But these devices aren't always brought up. If nodelocaldns IP isn't recognized as a local address, when bpf host routing is used, traffic to NLD IP would go through fib_lookup. This lookup will fail because fib_lookup doesn't work for local routes.

This is currently a blocker for enabling bpf host routing while using nodelocaldns in host network.

This is a 1.14 variant of cilium#34228 since statedb based node address management is introduced only in 1.15 and above.

Processes like nodelocaldns might setup a dummy device and attach a
custom IP to them. But these devices aren't always brought up. If
nodelocaldns IP isn't recognized as a local address, when bpf host
routing is used, traffic to NLD IP would go through fib_lookup. This
lookup will fail because fib_lookup doesn't work for local routes.

This is currently a blocker for enabling bpf host routing while using
nodelocaldns in host network.

This is a 1.14 variant of cilium#34228

Signed-off-by: Hemanth Malla <hemanth.malla@datadoghq.com>
@hemanthmalla hemanthmalla merged commit 833ff8a into v1.14-dd Aug 15, 2024
28 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants