router#sh run
Building Configuration...done
! Current configuration : 1386 bytes
!
! Last configuration change at UTC THU JAN 01 00:08:55 1970
! Flash config last updated at UTC THU JAN 01 00:17:55 1970
! Configuration version 0.20
!
!software version 6.1.25(REL)(integrity)
!software p_w_picpath file flash0: /flash/rpl-c-6.1.25(REL).bin
!compiled on Nov 14 2008, 19:02:51
hostname router
no service password-encrypt
no service new-encrypt
service login-secure
           
ip mef
ip load-sharing per-destination
ip access-list standard 888
 10 permit any
 exit
            

                               
interface dialer0
 encapsulation ppp
 ppp chap password 2292523
 ppp chap hostname  zz15959608008@cmcc
 ppp pap sent-username  zz15959608008@cmcc password 2292523
 ip address negotiated
 mtu 1492
 dialer in-band
 dialer pool 1
 dialer-group 1
 ip tcp adjust-mss 1452
 ip nat outside
 exit

interface fastethernet0
 description wan
 pppoe-client dial-pool-number 1
 pppoe-client auto-dial always
 exit       

interface fastethernet1
 description lan
 ip address 192.168.0.1 255.255.255.0
 ip nat inside
 exit

interface serial0
 physical-layer sync
 encapsulation hdlc
 exit

interface null0
 exit
                                    
ip nat inside source list 888 interface dialer0 overload
ip route 0.0.0.0 0.0.0.0 dialer0

            
ip dhcp pool test
 range 192.168.0.2 192.168.0.254 255.255.255.0
 dns-server 211.138.151.161 211.138.156.66
 default-router 192.168.0.1
 exit
 
!end

标签: none