Skip to content

Conversation

@sknat
Copy link
Collaborator

@sknat sknat commented Nov 14, 2025

[WIP] cherry-pick of fixes from master for issues on ipv6 enabled clusters

@sknat sknat marked this pull request as draft November 14, 2025 17:06
@aritrbas aritrbas changed the title [v3.29] add mFIB entries for host IPv6 multicast traffic [v3.29] fix for issues on ipv6 enabled clusters Nov 18, 2025
@aritrbas aritrbas marked this pull request as ready for review November 20, 2025 21:23
@aritrbas aritrbas force-pushed the abasu-dhcp6-fix-v329 branch 3 times, most recently from d70ee5c to 326b60f Compare November 25, 2025 01:08
@aritrbas aritrbas marked this pull request as draft December 2, 2025 08:12
@aritrbas aritrbas force-pushed the abasu-dhcp6-fix-v329 branch from 326b60f to cab1a3c Compare December 4, 2025 01:03
@aritrbas aritrbas changed the title [v3.29] fix for issues on ipv6 enabled clusters [draft] [v3.29] fix for issues on ipv6 enabled clusters Dec 4, 2025
@aritrbas aritrbas force-pushed the abasu-dhcp6-fix-v329 branch 4 times, most recently from e828b47 to 825298e Compare December 5, 2025 07:00
@aritrbas aritrbas force-pushed the abasu-dhcp6-fix-v329 branch from 825298e to 93c2486 Compare December 5, 2025 21:47
Aritra Basu and others added 3 commits December 5, 2025 18:57
This patch removes the nodeIP from the tap0 interface in VPP.
With this patch, for each uplink interface eth0 with IP 192.168.0.1/24
we create a corresponding tap0 set up the following way:

* In VRF:0
  * we create the af_packet interface with IP 192.168.0.1/24
  * we receive 192.168.0.1/32 locally, traffic to 192.168.0.1 without listeners
    will end up in punt
* In the punt table
  * we route 192.168.0.1/24 via tap0 192.168.0.1
* In linux
  * tap0 has the 192.168.0.1/24 address
  * tap0 will respond to ARPs as VPP has arp proxy enabled
* In a host-tap-eth0-v4 VRF
  * we place the tap0 interface
  * we give it the 169.254.0.1/32 address, overridable with CALICOVPP_TAP0_ADDR
  * we enable IP6 without setting an address
  * we add a static neighbor for 192.168.0.1 to the MAC of the linux side of the tap
* If we specify a rule in redirectToHostRules (e.g. for DNS in kind)
  * we will have the classifier entry redirect to tap0 192.168.0.1

Signed-off-by: Nathan Skrzypczak <[email protected]>
@aritrbas aritrbas force-pushed the abasu-dhcp6-fix-v329 branch 7 times, most recently from a72d00a to 86f489e Compare December 11, 2025 02:16
@aritrbas aritrbas marked this pull request as ready for review December 11, 2025 20:38
@aritrbas aritrbas marked this pull request as draft December 11, 2025 20:38
@aritrbas aritrbas force-pushed the abasu-dhcp6-fix-v329 branch from dd9f8a6 to 8d985ce Compare December 12, 2025 07:11
IPv6 gateway traffic (DHCPv6/ICMP) fails when VPP takes over the uplink.
- Without gateway ND proxy, host NS for the default gateway is dropped by VPP
  with "neighbor solicitations for unknown targets" error due to missing /128
  target entry in the tap FIB.

Fix:
- Enable ND proxy for the gateway on the tap so the host can resolve the
  gateway via VPP.

Signed-off-by: Aritra Basu <[email protected]>
@aritrbas aritrbas force-pushed the abasu-dhcp6-fix-v329 branch from 8d985ce to 838d59d Compare December 17, 2025 04:28
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