add_default_route
Add a default route on MikroTik RouterOS using a gateway, plus optional distance, comment, and ping-based gateway checking.
Instructions
Adds a default route.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| comment | No | ||
| gateway | Yes | ||
| distance | No | ||
| check_gateway | No | ping |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |