beautypg.com

Ppp rtadd, Ppp commands – Technicolor - Thomson ST585 V6 User Manual

Page 620

background image

E-DOC-CTC-20061027-0004 v1.0

PPP Commands

596

ppp rtadd

Add a route to the routing table when the PPP link comes up.

This route configuration will determine which local hosts are allowed to use this link and/or which remote
destinations should be or should not be reachable.

SYNTAX:

where:

i

The interface must not be connected when a route configuration is added. If this should be the case,
use the command

:ppp ifdetach for this interface prior to configuring routes.

ppp rtadd

intf =
dst =
[dstmsk = ]
[label = ]
[src = ]
[srcmsk = ]
[metric = ]

intf

The name of the PPP interface.

REQUIRED

dst

The IP destination address specification for the route to be added
when the link comes up.

REQUIRED

dstmsk

The destination IP mask.
Depending on the destination netmask:

>

Any remote destination is reachable, in other words, the PPP
connection acts as default route (

dstmsk=0

)

>

Only the remote (sub)net is reachable (

dstmsk=1

)

>

The actual destination mask will be the default netmask
applicable for destination IP address

>

Only the single remote host is reachable (

dstmsk=32

)

>

Any valid (contiguous) netmask in case of Variable Length
Subnet Masking (VLSM).

OPTIONAL

label

The name of the label.

OPTIONAL

src

The IP source address specification for the route (in other words,
who can use this link).

OPTIONAL

srcmsk

The source IP mask.
Depending on the source netmask:

>

Everybody is allowed to use this PPP connection (

dstmsk=0

)

>

Only members of the same subnet as the host which opened the
PPP connection are allowed to use the PPP connection
(

dstmsk=1

)

>

The actual destination mask will be the netmask applicable for
the IP address of the host which opened the PPP connection

>

Only the host which opened the PPP connection is allowed to
use the PPP connection (

dstmsk=32

)

>

Any valid (contiguous) netmask in case of VLSM.

OPTIONAL