Technicolor - Thomson ST546 Network Router User Manual


 
E-DOC-CTC-20061027-0003 v2.0
PPP Commands
600
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 = <intfname>
dst = <ip-address>
[dstmsk = <ip-mask(dotted or cidr)>]
[label = <string>]
[src = <ip-address>]
[srcmsk = <ip-mask(dotted or cidr)>]
[metric = <number{0-100}>]
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