Configuration example for accessing the Internet through an ADSL interface
Network requirements
As shown in Figure 16, ATM 1/0 on Router is used as an ADSL interface, through which Router can access the Internet directly without an ADSL modem.
Figure 16: Network diagram
![](images/image14.png)
Configuration procedure
# Configure a dialer interface.
<Router> system-view [Router] dialer-rule 1 ip permit [Router] interface dialer 1 [Router-Dialer1] dialer user mypppoe [Router-Dialer1] dialer-group 1 [Router-Dialer1] dialer bundle 1 [Router-Dialer1] ip address ppp-negotiate
# Configure interface VE 1.
[Router-Dialer1] interface virtual-ethernet 1 [Router-Virtual-Ethernet1] mac-address 0001-0002-0003 [Router-Virtual-Ethernet1] quit [Router] interface atm 1/0.1 [Router-atm1/0.1] pvc to_adsl_a 0/60 [Router-atm-pvc-atm1/0.1-0/60-to_adsl_a] map bridge virtual-ethernet 1 [Router-atm-pvc-atm1/0.1-0/60-to_adsl_a] quit [Router-atm1/0.1] quit
# Configure a PPPoE session.
[Router] interface virtual-ethernet 1 [Router-Virtual-Ethernet1] pppoe-client dial-bundle-number 1 idle-timeout 120 [Router-Virtual-Ethernet1] quit
# Configure a default route.
[Router] ip route-static 0.0.0.0 0.0.0.0 dialer 1