12.6.3. Gateways

This section is located at the network gateway level.

To add a new gateway, use the following command:

Admin@UGOS# create network gateway

Available parameters:

Parameter

Description

enabled

Enable/disable the gateway:

  • on.

  • off.

name

Gateway name.

description

Gateway description.

node-name

Cluster node name where the gateway is created.

interface

Interface used to access the Internet.

virtual-router

Select a virtual router for which the gate is configured.

ip

Gateway IP address.

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@UGOS# set network gateway <gateway-name>

The parameters available to change are the same as those for creating a gateway, except for node-name (you cannot change this parameter value).

To delete a gateway, use the following command:

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

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

Admin@UGOS# show network gateway

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

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