route
Gets or sets the IPv4 network routes.
If the gateway is unreachable, the routing entry will be added to the configuration file, but it will not be added in the kernel routing table.
Display all existing route entries:
route
Add a new route entry:
route addr=0.0.0.0 masklen=0 gateway=0.0.0.0
Change an existing route entry:
route entry=0 [addr=0.0.0.0] [masklen=0] [gateway=0.0.0.0]
Delete a route entry:
route entry=0 delete
Option | Description |
---|---|
|
Routable IPv4 address block. |
|
Index of the route entry to be displayed or modified. |
|
Route gateway’s IPv4 address. |
|
Number of leading |