Cisco Configs - Base ADSL

Return to Main page
Return to Cisco page

Okay one base adsl config, taken from an 827, all relevant details are removed, real IP is dynamically assigned.

AngelX#sh run             
Building configuration...                         

Current configuration : 3024 bytes                                  
! 
version 12.2            
no service pad              
service timestamps debug uptime                               
service timestamps log uptime                             
service password-encryption                           
! 
hostname AngelX               
! 
no logging buffered                   
enable secret 0 password                                              
! 
username username password 0 password                                               
mmi polling-interval 60                       
no mmi auto-configure                     
no mmi pvc          
mmi snmp-timeout 180                    
ip subnet-zero              
ip name-server 61.9.128.14                          
ip name-server 61.9.128.15                          
ip name-server 139.134.2.2                          
ip dhcp excluded-address 10.10.10.1                                   
! 
ip dhcp pool CLIENT                   
   import all             
   network 10.10.10.0 255.255.255.0                                   
   default-router 10.10.10.1                            
   lease 0 2            
! 
ip inspect name myfw cuseeme timeout 3600                                         
ip inspect name myfw ftp timeout 3600                                     
ip inspect name myfw rcmd timeout 3600                                      
ip inspect name myfw realaudio timeout 3600                                           
ip inspect name myfw smtp timeout 3600                                      
ip inspect name myfw tftp timeout 30                                    
ip inspect name myfw udp timeout 15                                   
ip inspect name myfw tcp timeout 3600                                     
ip inspect name myfw h323 timeout 3600                                      
vpdn enable           
! 
vpdn-group 1            
 request-dialin               
  protocol pppoe                
! 
! 
interface Ethernet0                   
 ip address 10.10.10.1 255.255.255.0                                    
 ip nat inside              
 ip tcp adjust-mss 1452                       
! 
interface ATM0              
 no ip address              
 atm vc-per-vp 64                 
 no atm ilmi-keepalive                      
 pvc 8/35         
  pppoe-client dial-pool-number 1                                 
 !  
 dsl operating-mode auto                        
! 
interface Dialer1                 
 ip address negotiated                      
 ip access-group 111 in                       
 ip mtu 1492            
 ip nat outside               
 ip inspect myfw out                    
 encapsulation ppp                  
 ip tcp adjust-mss 1452                       
 dialer pool 1              
 dialer remote-name redback                           
 dialer-group 1               
 ppp authentication pap chap callin                                   
 ppp chap hostname [email protected]                                
 ppp chap password 0 plain-text-password                                       
 ppp pap sent-username [email protected] password 0 plain-text-password                                                        
 ppp ipcp dns request                     
 ppp ipcp wins request                      
! 
ip nat inside source list 102 interface Dialer1 overload                                                        
ip classless            
ip route 0.0.0.0 0.0.0.0 Dialer1                                
ip http server              
! 
! 
access-list 23 permit 10.10.10.0 0.0.0.255                                          
access-list 102 permit ip 10.10.10.0 0.0.0.255 any                                                  
access-list 111 permit icmp any any administratively-prohibited                                                               
access-list 111 permit icmp any any echo                                        
access-list 111 permit icmp any any echo-reply                                              
access-list 111 permit icmp any any packet-too-big                                                  
access-list 111 permit icmp any any time-exceeded                                                 
access-list 111 permit icmp any any traceroute                                              
access-list 111 permit icmp any any unreachable                                               
access-list 111 permit udp any eq bootps any eq bootpc                                                      
access-list 111 permit udp any eq bootps any eq bootps                                                      
access-list 111 permit udp any eq domain any                                    
access-list 111 permit esp any any
access-list 111 permit udp any any eq isakmp
access-list 111 permit udp any any eq 10000
access-list 111 permit tcp any any eq 1723
access-list 111 permit tcp any any eq 139
access-list 111 permit udp any any eq netbios-ns
access-list 111 permit udp any any eq netbios-dgm
access-list 111 permit gre any any
access-list 111 deny   ip any any
dialer-list 1 protocol ip permit
!
line con 0
 exec-timeout 120 0
 stopbits 1
line vty 0 4
 access-class 23 in
 exec-timeout 120 0
 login local
 length 0
!
scheduler max-task-time 5000
end

AngelX#

Hosted by www.Geocities.ws

1