route
Verified for current stable LTS
Route Command: Add Route To Destination Through Gateway
Use for add route to destination through gateway with Route. Exact CLI syntax to add route to destination through gateway using Route.
When to use this: Use for add route to destination through gateway with Route.
Command Syntax
sudo route add "<destination_ip_address>" "<gateway_address>" sudo route add "<destination_ip_address>" "<gateway_address>" Live Command Builder
Final Command
sudo route add "<destination_ip_address>" "<gateway_address>" Command Breakdown
sudo is the base executable for this command.
FAQ
Purpose: Exact syntax to add route to destination through gateway using Route.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Route Command: Add Route Rule
sudo route add -net <ip_address> netmask <netmask_address> gw <gw_address> Route Command: Add Route To Subnet Through Gateway sudo route add "<subnet_ip_address>/24" "<gateway_address>" Route Command: Delete Route Rule sudo route del -net <ip_address> netmask <netmask_address> dev <gw_address> Route Command: Delete Specific Route sudo route delete "<destination_ip_address>/24" Route Command: Display Route Table Information route -n