-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-9.4.z
-
No
-
Moderate
-
1
-
rhel-sst-network-management
-
ssg_networking
-
2
-
False
-
-
None
-
NMT SST - Future releases
-
-
None
-
None
-
None
What were you trying to do that didn't work?
When setting up a /128 to /64 ipsec tunnel, NetworkManager fail the connection activation with:
Dec 02 10:50:08 sabina-worker-0.karmalabs.local NetworkManager[1299715]: nm-libreswan[1299715] <warn> IPsec/Pluto Right Peer (VPN Gateway) is missing
What is the impact of this issue to you?
That’s for the OpenShift telco use case, no client is currently waiting for a fix but they might start working on it soon
Please provide the package NVR for which the bug is seen:
NetworkManager-libreswan-1.2.18-3.el9_4.x86_64
How reproducible is this bug?:
100%
Steps to reproduce
- Setup ipsec PKI
- On the IPSec server side, create /etc/ipsec.d/test.conf
conn sabina-worker-0.karmalabs.local
hostaddrfamily=ipv6
clientaddrfamily=ipv6
left=2001:db8:d::b
leftid=%fromcert
leftrsasigkey=%cert
leftsubnet=fc00::1/7
leftcert=server01.cnf.com
rightrsasigkey=%cert
right=2001:db8:d::c
rightid=%fromcert
ikev2=insist
auto=start
ike=aes_gcm256-sha2_256
esp=aes_gcm256
leftmodecfgserver=no
rightmodecfgclient=no
- Run `nmstatectl apply` to this YAML file:
interfaces: - name: hosta_conn type: ipsec libreswan: hostaddrfamily: ipv6 clientaddrfamily: ipv6 left: 2001:db8:d::c leftid: '%fromcert' leftcert: client01.cnf.com leftmodecfgclient: false leftrsasigkey: '%cert' right: 2001:db8:d::b rightid: '%fromcert' rightrsasigkey: '%cert' rightsubnet: fc00::1/7 ikev2: insist type: tunnel
- Check ipsec connection by `ip x p` command.
Expected results
The ipsec connection been established with `ip x p` output:
src fc00::/7 dst 2001:db8:d::c/128 dir out priority 1765889 ptype main tmpl src 2001:db8:d::b dst 2001:db8:d::c proto esp reqid 16389 mode tunnel src 2001:db8:d::c/128 dst fc00::/7 dir fwd priority 1765889 ptype main tmpl src 2001:db8:d::c dst 2001:db8:d::b proto esp reqid 16389 mode tunnel src 2001:db8:d::c/128 dst fc00::/7 dir in priority 1765889 ptype main tmpl src 2001:db8:d::c dst 2001:db8:d::b proto esp reqid 16389 mode tunnel
Actual results
NetworkManager fail the activation of ipsec connection.