Перейти к содержанию

add-static

Использование

net conf routing add-static [-h] [--to_file] -d <dst address> -g <gateway address> [-i <interface>] [-m <metric>]

Описание

Добавляет маршрут.

Аргументы

  • --to_file - Redirect output to file (/tmp/cli-stdout.txt).
  • dst address - Destination ip-address.
  • gateway address - Gateway ip-addresses.
  • interface - Existing internal interface.
  • metric - Route metric