Symptoms
Error : A replication error occurred at the vSphere Replication Server for replication "VM name: test". Details: 'No connection to VR Server for virtual machine "VM name: test" on host "ESXi host : host1" in cluster "Cluster name : cluster1" in "Cluster name : cluster1" : Unknown'.
/var/run/log/vmkernel.log indicates
vmkwarning: cpu69:2137316) WARNING: Hbr: 383: Failed to connect to TARGET_VR_IP (groupID=GID-XXXXXX-XXXX-XXXX-XXXX-XXXXXXXX): Network unreachable
vmkwarning: cpu55:2135354) WARNING: Hbr: 5362: Failed to establish connection to [TARGET_VR_IP]:31031 (groupID=GID-XXXXXX-XXXX-XXXX-XXXX-XXXXXXXX): Network unreachable
VMware Live Recovery 9.X
This issue occurs when the target vSphere Replication appliance is unable to establish communication with the source ESXi host’s VMkernel interface carrying replication traffic, typically due to a missing static route, particularly when the source host resides on a different subnet.
A static route was added on the affected ESXi hosts to ensure proper routing to the target broker.
list existing routes on the ESXi host
#esxcli network ip route ipv4 list
To add a static route:
#esxcli network ip route ipv4 add --gateway <IPv4_gateway_address> --network <destination_network>/<subnet>
esxcli network ip route ipv4 add --gateway xx.xx.xx.xx --network ##.##.##.##/24
Configuring static routes for vmkernel ports on an ESXi host refer https://knowledge.broadcom.com/external/article/308786/configuring-static-routes-for-vmkernel-p.html