Setting Up Network Interfaces and Static Routing (CLI)

To ensure the appropriate network interfaces are used for the replication connections between source and target appliances, configure IPv4 static /32 or IPv6 static /128 (host-specific) routes.

If you are setting up replication for a cluster configuration, select a singleton (unlocked) network interface so that following a cluster takeover or failback, the interface will move to the node where the replication work is being done.

  1. Source appliance: Go to configuration services routing. Define the static route to the target appliance using the appropriate example:

    IPv4 Configuration Example

    Use a static /32 (host-specific) route to the target system IPv4 address via the dedicated network interface. In the following example, mask=32 means that this is a host-specific route.

    host_source:configuration services routing> create
    
        host_source:configuration services route (uncommitted)> get
                family = (unset)
           destination = (unset)
                  mask = (unset)
               gateway = (unset)
             interface = (unset)
      host_source:configuration services route (uncommitted)> set family=IPv4
      host_source:configuration services route (uncommitted)> set destination=203.34.56.78
      host_source:configuration services route (uncommitted)> set mask=32
      host_source:configuration services route (uncommitted)> set gateway=203.34.56.254
      host_source:configuration services route (uncommitted)> set interface=nge3
      host_source:configuration services route (uncommitted)> commit
      host_source:configuration services routing> show
      route-000  0.0.0.0/0         203.24.30.254  nge0  static
      route-001  203.24.30.0/32    203.24.30.28   nge0  dynamic
      route-002  203.24.150.0/32   203.24.150.10  ibd0  dynamic
      route-003  203.24.101.65/32  203.24.30.254  nge1  inactive
      route-005  203.34.56.78/32   203.34.56.254  nge3  static

    IPv6 Configuration Example

    Use a static /128 (host-specific) route to the target system IPv6 address via the dedicated network interface. In the following example, mask=128 means that this is a host-specific route.

    host_source:configuration services routing> create
    
        host_source:configuration services route (uncommitted)> get
                family = (unset)
           destination = (unset)
                  mask = (unset)
               gateway = (unset)
             interface = (unset)
      host_source:configuration services route (uncommitted)> set family=IPv6
      host_source:configuration services route (uncommitted)> set destination=2606:b400:418:27c2:4000::102
      host_source:configuration services route (uncommitted)> set mask=128
      host_source:configuration services route (uncommitted)> set gateway=2606:b400:418:27c2:4000::102
      host_source:configuration services route (uncommitted)> set interface=ixgbe0
      host_source:configuration services route (uncommitted)> commit
      host_source:configuration services routing> show
      route-000 0.0.0.0/0         203.24.30.254  nge0   static
      route-001 203.24.30.0/32    203.24.30.28   nge0   dynamic
      route-002 203.24.150.0/32   203.24.150.10  ibd0   dynamic
      route-003 203.24.101.65/32  203.24.30.254  nge1   inactive
      route-005 203.34.56.78/32   203.34.56.254  nge3   static
      route-006 2606:b400:418:27c2:4000::102/128 2606:b400:418:27c2:4000::102 ixgbe0 static active
  2. After defining the static route from the source appliance to the target appliance, repeat these steps on the target appliance to define the static route from the target back to the source.
  3. To ensure traffic is routed through the correct source and target interfaces, use the traceroute command.

    For information about using traceroute, see Configuring Network Routing.

    Note:

    When an interface is deleted, all routes associated with the interface are also removed.