Tutorial on setting up host to host ipsec and macsec between an almalinux and Rockylinux host. Of Course the same configs will work on a redhat host.
Please install wpa_supplicant before following the macsec instructions.
Link1: https://docs.redhat.com/en/documentat...
Link2: https://libreswan.org/wiki/Host_to_ho...
Link3: https://bootlin.com/blog/network-traf...