To manage replication traffic by using an additional VM NIC, you must configure a static route for the VM NIC.

Prerequisites

  • Verify that you have added a new VM NIC.
  • Make a note of the number of the new VM NIC.

Procedure

  1. Establish an SSH connection to the vSphere Replication аppliance.
  2. To locate the network configuration file, navigate to /etc/systemd/network.
  3. Open the 10-eth<NIC_Number>.network file in a text editor and update it.
    1. Navigate to the [Route] section.
      If you are unable to locate this section in the configuration file, you can manually add it.
    2. Set the Gateway parameter to the IP address of the next gateway through which the target network can be reached.
    3. Set the Destination parameter to Classless Inter-Domain Routing (CIDR) notation for the IP range of the target network.
  4. Restart the systemd-networkd service by running the systemctl restart systemd-networkd command.
  5. Validate the static route by running the ip r command for IPv4 or the ip -6 r command for IPv6.
    1. (Optional) If you are not able to validate the route, the network is inaccessible. To force the kernel routing table to accept the network, set the GatewayOnLink parameter to yes in the [Route] section.
    2. (Optional) Restart the systemd-networkd service by running the systemctl restart systemd-networkd command.

Example

[Route]
Gateway=10.71.239.253
Destination=10.71.232.0/21