add_static_route
Add a static route to a MikroTik router by specifying destination subnet and gateway, with optional administrative distance and comment.
Instructions
Tambah route statis. BUTUH MIKROCLAW_ALLOW_WRITE=true.
Args: dst_address: subnet tujuan, mis. '10.20.0.0/24' atau '0.0.0.0/0' (default route). gateway: gateway/next-hop, mis. '192.168.88.1' atau nama interface. distance: (opsional) administrative distance, mis. '1'. comment: catatan pada route.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | added-by-mikroclaw | |
| gateway | Yes | ||
| distance | No | ||
| dst_address | Yes |