Gateways

This section is located at the network gateway level.

To add a new gateway, use the following command:

Admin@nodename# create network gateway

Available parameters:

Parameter

Description

enabled

Enable/disable the gateway:

  • on

  • off

name

Gateway name.

description

Gateway description.

interface

Interface used to access the Internet.

virtual-router

Select a virtual router for which the gate is configured.

ip

Gateway IP address.

node-name

Select the cluster node for which the gateway is configured.

weight

Gateway weight (the greater the weight, the greater the share of traffic goes through the gateway).

balancing

Balancing mode: all traffic to the Internet will be distributed between the gateways according to their weights:

  • on

  • off

default

Use this gateway as the default gateway:

  • on

  • off

To update gateway parameters, use the following command:

Admin@nodename# set network gateway <gateway-name>

You can use the same set of parameters as when creating a gateway.

To delete a gateway, use the following command:

Admin@nodename# delete network gateway <gateway-name>

To display information about all gateways, use the following command:

Admin@nodename# show network gateway

To display information about a single gateway, use the following command:

Admin@nodename# show network gateway <gateway-name>