Configure the PPPoA DSL Dialer and Virtual Template Interfaces

The dialer interface is the DSL provider-facing component of the CPE router. Example 6-4 shows how to configure the basic elements of the dialer interface.

Example 6-4 Dialer Interface Configuration interface ATM0/0 no ip address dsl operating-mode auto pvc 8/35

pppoe-client dial-pool-number 1

interface Dialer0 ip address negotiated ip mtu 1492 encapsulation ppp dialer pool 1

This configuration specifies that the dialer interface should get its IP address from the provider's DHCP server while specifying the upstream MTU and setting the interface encapsulation to PPP. Finally, the dialer pool command associates the dialer back to the ATM interface where the pppoe-client dial-pool-number command was issued. This is similar to the PPPoE configuration discussed in Chapter 5, "Configuring DSL Access with PPPoE." The pool numbers must match on the dialer and ATM interfaces in order for the configuration to function.

Virtual templates are logical interfaces that provide characteristics to physical interfaces under their control. This function is similar to the dialer interface in that regard. Like the dialer interface, the virtual-template interface is configured with all relevant PPP characteristics and parameters. Example 6-5 demonstrates the configuration for a virtual template that would function with AAL5SNAP as configured in Example 6-3.

Example 6-5 Virtual-Template Configuration interface virtual-template1 encapsulation ppp ip address negotiated ip nat outside ppp authentication chap ppp chap hostname [email protected] ppp chap password 0 cisco

The PPP CHAP options in Example 6-5 are simply added for demonstrative purposes. They are required only at the discretion of the provider. Note that NAT has also been included in the configuration. This is for demonstrative purposes to show that the virtual-template interface should be treated like any other outside interface.

Was this article helpful?

0 0

Post a comment