User guide

TCP/IP command reference IP
4-53
iMG/RG Software Reference Manual (IPNetwork Functions)
4.1.8.2.61 IP SET ROUTE INTERFACE
Syntax IP SET ROUTE {<name>|<number>} INTERFACE {<interface>|NONE}
Description This command sets the interface used by a route previously created by the IP ADD
ROUTE command. If you want the existing route to route to an address via a gateway
device, use none so that no interface is set.
Options The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example --> ip set route r1 interface eth1
See also IP LIST INTERFACES
IP LIST ROUTES
4.1.8.2.62 IP SET TTL
Syntax IP SET TTL {<number>}
Description This command sets the default time-to-live (ttl) value in the IP header of a generated IP
packet. To display the current state of ttl, use the ip show command.
Note: This command is avalable on FIBER B,D,E MODULAR and ADSL B,C models only.
Options The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Option Description Default Value
name An existing route. To display route names, use the IP
LIST ROUTES command.
N/A
number An existing route. To display route numbers, use the
IP LIST ROUTES command. The number appears in
the first column under the heading ID.
N/A
interface The name of the existing interface that the IP routes
through, displayed in the following format:
192.168.102.3 To display interface names, use the IP
LIST INTERFACES command.
N/A
none No interface is set. This is used for routes that route
via a gateway device instead of an interface.
N/A
Option Description Default Value
number A number that specifies the time-to-live (ttl) value
for the IP header of all transmitted packets
128