Skip to content

Juniper cRPD improvements#3141

Merged
ipspace merged 7 commits intoipspace:devfrom
leec-666:crpd-more
Feb 24, 2026
Merged

Juniper cRPD improvements#3141
ipspace merged 7 commits intoipspace:devfrom
leec-666:crpd-more

Conversation

@leec-666
Copy link
Contributor

@leec-666 leec-666 commented Feb 24, 2026

Added and fixed a few things:

  • junos.mplsvpn.j2 template failed in some cases due to absent vrfs data. Added check.
  • Can't ping from JunOS shell so it uses Linux /etc/hosts file scripts so pinging other nodes by hostname from the Linux shell is possible
  • Uses Linux ping validation module for the same reason
  • Enabled EVPN but only tested on a BGP route reflector with EVPN address family
  • Tested and added VRRP support
  • Tested and added VRF support. Route leaking does not work correctly.

@leec-666
Copy link
Contributor Author

leec-666 commented Feb 24, 2026

VRRP integration tests revealed that cRPD doesn't work with EOS or FRR due to cb2359c. Peering with IOL also fails: packet captures from IOL show the same checksum errors.

I cannot find the same knob in cRPD and CRPD<->CRPD works.

@ipspace
Copy link
Owner

ipspace commented Feb 24, 2026

Thank you! A few minor details:

  • I will have to fix the "hosts file" bit (planned to do it anyway, but never got around to doing it)
  • The "license file" caveat is probably incorrect (it was copied over from vMX), I think the parameter should be clab.license
  • ruff is complaining about unused imports in validate plugin 🤷‍♂️ I'll see what I can do.

@@ -1,12 +1,13 @@
{% if vrfs is defined %}
Copy link
Owner

Choose a reason for hiding this comment

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

Now I know why the Junos MPLS/VPN RR tests were failing ;) Thank you!

* Modified 'gateway' documentation as cRPD does not support anycast
  gateway
* Use a separate cRPD template for gateway configuration to avoid
  cluttering the Junos template with 'unit 0' tricks, particularly
  since cRPD only supports VRRP and not anycast gateway
* Optimize the /etc/hosts template
* Add 'show command' group var to enable 'netlab connect --show'
  functionality
* Make Ruff happy ;)
ipspace added a commit that referenced this pull request Feb 24, 2026
Copy link
Owner

@ipspace ipspace left a comment

Choose a reason for hiding this comment

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

Did a bit of cleanup and added device quirks.

New integration tests pass, we still have to deal with unnumbered interface configuration and VRF loopbacks. Will open issues for those two.

If you're OK with my changes we're good to merge ;)

@leec-666
Copy link
Contributor Author

Looks good, thanks!

@ipspace ipspace merged commit c73df39 into ipspace:dev Feb 24, 2026
6 checks passed
@leec-666 leec-666 deleted the crpd-more branch February 25, 2026 02:54
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