This topic describes how to add a static route.

Procedure

  1. Log in to the Delphix Engine as the sysadmin user and switch to the network route context.

    delphix network route> list
    DESTINATION      GATEWAY       OUTINTERFACE
    default          172.16.0.1    vmxnet3s0
    10.1.2.0/24      -             vmxnet3s1
    172.16.0.0/24    -             vmxnet3s0
  2. Run the add command to add a new route.

    delphix network route> add
    delphix network route add *> set destination=192.168.11.0/24
    delphix network route add *> set gateway=10.1.2.1
    delphix network route add *> get
        type: NetworkRoute
        destination: 192.168.11.0/24 (*)
        gateway: 10.1.2.1 (*)
        outInterface: (unset)
  3. Optional outInterface Property

    Setting the outInterface property is optional, as the system will automatically determine the output interface based on the gateway address provided, as shown below.

  4. Committhe operation.

    delphix network route add *> commit
    delphix network route> list
    DESTINATION      GATEWAY       OUTINTERFACE
    default          172.16.0.1    vmxnet3s0
    10.1.2.0/24      -             vmxnet3s1
    172.16.0.0/24    -             vmxnet3s0
    192.168.11.0/24  10.1.2.1      vmxnet3s1