2514 # shrunBuildingconfiguration... Currentconfiguration: 982 bytes! Version12.2servicetimestampsdebuguptimeservicetimestampsloguptimenoservicepassword-encryption! Hostnamep2r3 !! Ipsubnet-zero! Vpdnenable (enable vpdn
2514 # sh run Building configuration... Current configuration: 982 bytes! Version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption! Hostname p2r3! ! Ip subnet-zero! Vpdn enable
2514 # sh run
Building configuration...
Current configuration: 982 bytes
!
Version 12.2:
Service timestamps debug uptime
Service timestamps log uptime
No service password-encryption
!
Hostname p2r3
!
!
Ip subnet-zero
!
Vpdn enable (enable vpdn)
!
Vpdn-group tyl
Request-dialin
Protocol pppoe (enabling pppoe protocol)
!
!
!
!
Interface Ethernet0
No ip address
Pppoe enable
Pppoe-client dial-pool-number 1 (bind the physical port to the virtual dialing port)
!
Interface Ethernet1
Ip address 192.168.1.254 255.255.255.0
Ip nat inside
!
Interface Dialer1
Ip address negotiated
Ip mtu 1492 (change the original mtu1500 to 1492, because the pppoe header is 8 bytes)
Ip nat outside
Encapsulation ppp
Dialer pool 1 (bind the physical port to the virtual dialing port through the dialing pool)
Ppp pap sent-username ****** @ 163.gd password 0 ******* (one-way verification of ppp pap)
!
Ip nat inside source list 1 interface Dialer1 overload (NAT translation)
Ip classless
Ip route 0.0.0.0 0.0.0.0 Dialer1 (set Static Routing)
Ip http server
Ip pim bidir-enable
!
!
Access-list 1 permit 192.168.1.0 0.0.255
!
!
Line con 0
Exec-timeout 0 0
Logging synchronous
Line aux 0
Line vty 0 4
!
End