Route - Paradyne 6211 Command Manual

Adsl2+ router command line interface
Table of Contents

Advertisement

route

Name
route
Shows and configures the IP routing table.
Synopsis
route add <ipaddress> <subnetmask> <[<gateway>] [<interface>]>
route delete <ipaddress> <subnetmask>
route show
route --help
Description
The route command lets you add entries to and delete entries from the IP routing table. Its primary use is to
set up static routes to specific hosts or networks via an interface.
When the add or delete options are used, the route modifies the routing table. The show option displays the
current contents of the routing table.
The default gateway route should use another defaultgateway command.
If 0.0.0.0 is entered using the route add command, it is treated the same as a static default gateway where
a subnet mask must be entered.
Commands
Add
Delete
Show
Options
ipaddress
subnetmask
gateway
interface
Adds a new route entry.
Deletes a route entry.
Shows the current content of the routing table, including static and dynamic route
entries.
The destination network or host IP address in dotted-decimal notation. For example:
137.27.51.0.
When adding a network route, the netmask must be specified. The target address
must have a 0 matching with the 0 portion in the subnet mask. Otherwise, the
command will fail and display the message "netmask doesn't match route address."
Route packets via a gateway.
The specified gateway must first be reachable. This usually means that you have to
set up a static route to the gateway beforehand. If you specify the address of one of
your local interfaces, it will be used to select the interface where the packets should be
routed.
Force the route to be associated with the specified device, as the kernel will otherwise
try to determine the device on its own by checking existing routes and devices.
6211-I1 ADSL2+ Router Command Line Interface User's Guide
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

6211-i1

Table of Contents