The following section outlines steps to add a static route to your service point.
- Log in to the service point using the
operationsuser and the password provided when configuring the service point in the Edge CI. - Create a static route using the following
command:
nic eth<n> route add -dst <destination_cidr> -gw <gateway_ip>Where the parameters are as follows:eth<n>—the name of the ethernet interface that you would like to configure. By default, when configuring the IP address in the Edge CI for provisioning the service point, the IP address is associated to theeth0interface. When adding an interface using theniccommand line tool, the ethernet interface should start frometh1and greater.-dst <ip_address_cidr>—the IP address of the destination network that you would like to create a static route to, in CIDR format. For example,192.168.2.0/24-gw <gateway_ip>—the IP address of the default gateway. For example,192.168.1.1
Example
nic eth1 route add -dst 192.168.2.0/24 -gw 192.168.1.1