-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
FRR nhrpd not able to communicate with strongswan vici #11967
Comments
Hello, I encountered a problem similar to yours. My environment is NHRP cooperating with bgp, but I found the possible cause of the problem. You can check the link I sent. This is the problem I released to see if it can help you |
Unfortunately, I don't think it's similiar - I'm not having any trouble with the routing, that works fine. The routes are also in the routing table of the local system. |
Unfortunately, my environment does not work with ipsec... |
This issue is stale because it has been open 180 days with no activity. Comment or remove the |
Describe the bug
After a fresh installation FRR is not able to communicate with strongswan vici.
I installed FRR via official repository (see version below). Strongswan was installed in version 5.9.5 and patched successfully with patches from the mentioned maintained repo in FRR docs.
Please find the config of strongswan and FRR below in the screenshot section.
If no 'tunnel protection' is used within the gre1 interface everything works fine - I see nhrp neighbors, as well as my routing information via BGP. If I enable the 'tunnel protection' (and ofc I want and need that..), FRR shows the following error:
Sep 19 17:23:25 spoke.domain.tld nhrpd[4295]: [YJY20-VM0HB][EC 117440513] VICI: strongSwan: CHILD_SA config 'dmvpn' not found
In strongswan I see:
Sep 19 17:23:25 spoke.domain.tld charon-systemd[4177]: vici initiate CHILD_SA 'dmvpn'
at the same time, so it looks like it's trying to initiate the session correctly?
On the HUB I don't see any errors, but also no attempts.
I'm a little bit confused why FRR is saying it doesn't find the config for my "dmvpn" profile.
Hopefully someone can help me out, and if I can provide further info - please let me know.
Thanks in advance! :-)
To Reproduce
Expected behavior
Tunnel(s) in FRR up and running.
Routing information exchanged like they're without tunnel protection.
Working setup with encryption.
Screenshots
FRR configuration of HUB:
FRR configuration of SPOKE:
strongswan config on both:
Versions
Debian GNU/Linux 11 (bullseye)
Linux 5.10.0-18-amd64 1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux
frr/stable,now 8.3.1-0~deb11u1 amd64
Additional context
Unfortunately, I tried it months ago with the same result and stopped working on it due to that issue.
Now I want to fix it, but it looks like I definitely need help - I hope someone out there knows what's going on here and can tell me what I'm doing wrong.
I am talking about two VPS, different providers and I want to create a full-meshed "dmvpn" setup with all my other locations (VPS, road-warrior, homes, etc.). The two test VPS have a dedicated internet access, a loopback which is announced via BGP and ofc a GRE interface for the tunneling.
Thanks in advance for your assistance. 👍
The text was updated successfully, but these errors were encountered: