User Guide

13 PPP Commands
221 / 260
3EC 16982 AFAA TCZZA Ed. 01
ppp rtadd
Automatically add a route configuration to the routing table in case the specified PPP interface 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.
Execute the ppp ifdetach command for this interface prior to configuring routes.
SYNTAX:
ppp rtadd intf = <ifname>
dst = <ip-address>
[dstmsk = <ip-mask(dotted or cidr)>]
[src = <ip-address>]
[srcmsk = <ip-mask(dotted or cidr)>]
[metric = <number{0-100}>]
intf The name of the PPP interface. REQUIRED
dst The destination IP 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, i.e. 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 VLSM.
OPTIONAL
[src] The source IP address specification for the route to be added when
the link comes up.
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
[metric] The route metric, i. e. the cost factor of the route.
Practically, the cost is determined by the hop count.
It is recommended not to use this parameter.
OPTIONAL