You configure static routes on each ESXi host in the protected VMware Cloud Foundation instance to the recovery VMware Cloud Foundation instance. For replication traffic to flow in the opposite direction, you must configure reverse routes on the ESXi hosts in the recovery VMware Cloud Foundation instance.
For the protected VMware Cloud Foundation instance procedure, use the VMware Cloud Foundation Planning and Preparation Workbook.
Procedure
- Log in to the first management ESXi host at <host_fqdn>:22 by using a SecureShell (SSH) client as root.
- To create a route to the recovery VMware Cloud Foundation instance for the hosts in the protected VMware Cloud Foundation instance, run the command.
esxcli network ip route ipv4 add --gateway <source_vrms_network_gateway> --network <target_vrms_network_cidr>
Perform this procedure for all management hosts in the protected VMware Cloud Foundation instance by using the values in your VMware Cloud Foundation Planning and Preparation Workbook.
Repeat this procedure for all management hosts in the recovery VMware Cloud Foundation instance by using the values in your VMware Cloud Foundation Planning and Preparation Workbook for the Recovery Instance.
- If you add new ESXi hosts to the management domain by using SDDC Manager, you must follow this procedure to configure static routes on each new ESXi host.