Basic PPPoE

From Internetworkpro

Jump to: navigation, search
This page or section provides device configuration instructions
Please note that the information on this page has not been checked for accuracy and is not intended as a replacement to documentation. Please ensure you understand your desired objectives before attempting to apply any examples listed.
See more examples at Category:Configuration

Simple PPPoE configuration for a DSL modem. This config assumes a dynamic IP setup. The last line shows an example of how to port forward.

The pvc is usually 0/35 but it might be 0/34. It also depends on your country. PVC 8/35 is reported to work for a signapore ISP.
PVC 8/35 is reported to work for Australian ISPs.

 vpdn enable
 !
 vpdn-group pppoe
  request-dialin
  protocol pppoe
 !
 interface ATM0/0
  no ip address
  no atm ilmi-keepalive
  dsl operating-mode auto
  pvc 0/35 
   pppoe-client dial-pool-number 1
  !
 !
 interface FastEthernet0/0
  ip address 10.0.0.1 255.255.255.0
  ip nat inside
  duplex auto
  speed auto
 !         
 interface Dialer1
  ip address negotiated
  ip mtu 1492
  ip nat outside
  encapsulation ppp
  dialer pool 1
  dialer watch-group 1
  dialer-group 1
  ppp chap hostname paulius
  ppp chap password 0 passwordpassword
  ppp pap sent-username paulius password 0 passwordpassword
 !
 ip nat inside source list 1 interface Dialer1 overload
 ip nat inside source static tcp 10.0.0.10 80 interface Dialer1 80


Some excellent examples are also found at http://www.dslreports.com/faq/cisco/50.1_PPPoE_PPPoA_DHCP

Personal tools