Справочник Пользователя для Alcatel-Lucent speedtouch 500
325
PPPoE Commands
pppoe rtadd
Automatically add a route configuration to the routing table in case the specified PPPoE 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.
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.
Note
Execute the pppoe ifdetach command for this interface prior to configuring routes.
SYNTAX:
pppoe rtadd
intf = <intfname>
dst = <ip-address>
[dstmsk = <ip-mask(dotted or cidr)>]
[label = <{}>]
[src = <ip-address>]
[srcmsk = <ip-mask(dotted or cidr)>]
[metric = <number{0-100}>]
dst = <ip-address>
[dstmsk = <ip-mask(dotted or cidr)>]
[label = <{}>]
[src = <ip-address>]
[srcmsk = <ip-mask(dotted or cidr)>]
[metric = <number{0-100}>]
intf
The name of the PPPoE interface.
REQUIRED
dst
The destination IP address for the route to be added when the link comes
up.
up.
REQUIRED
dstmsk
The destination IP mask.
Depending on the destination netmask:
Depending on the destination netmask:
•
Any remote destination is reachable, i.e. the PPPoE connection acts
as default route (dstmsk=0)
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
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).
Masking (VLSM).
OPTIONAL
label
The name of the label
OPTIONAL
src
The source IP address specification for the route to be added when the
link comes up.
link comes up.
OPTIONAL