Next: net_bootp, Previous: net_add_dns, Up: The list of networking commands [Contents][Index]

#### 16.4.3 net_add_route

Command: net_add_route shortname ip[/prefix] [interface | ‘`gw`’ gateway] ¶

  Add route to network with address ip as modified by prefix via either local interface or gateway. prefix is optional and defaults to 32 for IPv4 address and 128 for IPv6 address. Route is identified by shortname which can be used to remove it (see net_del_route).