SmartNode | 5 • G.SHDSL Basic Configuration |
|
|
Next, you will need to create a WAN profile, create a WAN interface, and create a subscriber. Then, you can configure the DSL port (port dsl 0 0) for PPPoE.
Follow this example:
profile napt WAN
context ip router interface WAN
ipaddress unnumbered
use profile napt WAN tcp
subscriber ppp MySubscriber dial out authentication chap
identification outbound <username> password <password> bind interface WAN router
port dsl 0 0
pvc vpi 8 vci 35 pppoe
session MyISP
bind subscriber MySubscriber no shutdown
The line - use profile napt WAN - defines that the NAPT profile <profile> will be used on the ip interface <name>. For PPPoE, you will only use outbound for identification. You will want to use authentication, which is why you bind to a subscriber. You can use authentication chap or authentication pap. The line - bind sub- scriber MySubscriber - binds the PPPoE session to the PPP subscriber, in case authentication is required. If you do not use authentication, then you will not have a subscriber and you will bind directly to the interface.
Configuration Summary
The modems offer multiple bridged Ethernet connections through logical channels within the DSL link. A logical connection is called a Permanent Virtual Circuit (PVC) and is identified by a VPI/VCI number pair. Consult your provider's configuration instructions for connections used on your DSL link. You define those PVCs inside "port dsl 0 0":
port dsl 0 0
pvc vpi 8 vci 35
Iin the mode "pvc", you define what to do with the bridged Ethernet connection it offers:
•Bind one or more IP interfaces when your providers uses fixed ip addresses or DHCP in the network
•Enter PPPoE mode and define a PPP session if the provider is using PPPoE.
Note PPPoA is not supported.
Configuration Summary | 38 |