Configurazione adatta per ADSL con encapsulazione PPPoE.
service timestamps debug datetime msec service timestamps log datetime msec service password-encryption no service dhcp ! hostname NomeRouter ! enable password PASSWORDROUTER ! ip subnet-zero ! ! vpdn enable vpdn-group 1 request-dialin protocol pppoe ! interface Ethernet0 ip address 10.0.0.138 255.255.255.0 ip nat inside ! interface ATM0 no ip address pvc 8/35 pppoe-client dial-pool-number 1 ! bundle-enable dsl operating-mode auto ! interface Dialer1 ip address negotiated ip nat outside encapsulation ppp ip tcp header-compression passive dialer pool 1 dialer-group 1 no cdp enable ppp pap sent-username NOMEUTENTE password PAROLACHIAVE ! ip nat inside source list 9 interface Dialer1 overload ip classless ip route 0.0.0.0 0.0.0.0 Dialer1 no ip http server ! access-list 9 permit 10.0.0.0 0.0.0.255 dialer-list 1 protocol ip permit ! line con 0 stopbits 1 line vty 0 4 password TELNETPASSWORD login !
end