Skip to content

VPP: Fix VLAN SVI LCP address sync and OSPF MTU - #3730

Open
jbemmel wants to merge 1 commit into
ipspace:devfrom
jbemmel:fix/vpp-vlan-svi-lcp-mtu
Open

VPP: Fix VLAN SVI LCP address sync and OSPF MTU#3730
jbemmel wants to merge 1 commit into
ipspace:devfrom
jbemmel:fix/vpp-vlan-svi-lcp-mtu

Conversation

@jbemmel

@jbemmel jbemmel commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

BVI addresses were set before lcp create, so lcp-sync never mirrored them into the dataplane netns and BIRD/FRR had no SVI IPs. Also set Linux TAP MTU on SVIs (BVI packet MTU is not changeable) so OSPF DBD MTU matches peers, and run post-VPP setup once inside the netns.

Fixes #3724

Tested: ./device-module-test -d vpp -p clab initial and netlab up ospf/ospfv2/06-vlan-mtu.yml -d vpp -p clab

ipspace added a commit that referenced this pull request Aug 2, 2026

@ipspace ipspace left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works ;)) Thank you!

Will run complete integration tests for BIRD and VPP just to be on the safe side, but I don't expect any surprises.

@ipspace ipspace left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouch, we have a merge conflict, and I don't know enough about VPP to confidently resolve it. Please fix it, and I'll merge the PR.

@ipspace ipspace added the needs changes Use for PRs that need heavy changes before it's ready to be merged. label Aug 2, 2026
@jbemmel
jbemmel marked this pull request as draft August 2, 2026 13:11
BVI addresses were set before lcp create, so lcp-sync never mirrored
them into the dataplane netns and BIRD/FRR had no SVI IPs. Also set
Linux TAP MTU on SVIs (BVI packet MTU is not changeable) so OSPF DBD
MTU matches peers, and run post-VPP setup once inside the netns.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jbemmel
jbemmel force-pushed the fix/vpp-vlan-svi-lcp-mtu branch from 236c20e to 001686c Compare August 2, 2026 13:16
@jbemmel
jbemmel marked this pull request as ready for review August 2, 2026 13:17
@jbemmel
jbemmel requested a review from ipspace August 2, 2026 13:18
@jbemmel

jbemmel commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator Author

Ouch, we have a merge conflict, and I don't know enough about VPP to confidently resolve it. Please fix it, and I'll merge the PR.

I restructured the startup script to run the whole thing inside the netns instead of every separate command - it looks more complicated than it is, and should be a one-time thing. Try now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs changes Use for PRs that need heavy changes before it's ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] VPP OSPFv2/OSPFv3 does not work over VLANs

2 participants