Programming
Cisco
Cisco 837 Router
For the past few weeks of testing and playing around with my new router. I have came up with a perfect solution for a dsl connection on AT&T & SBC Connections. Here is my current config running on the router:
Building configuration...
Current configuration : 3787 bytes
!
version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco837
!
boot-start-marker
boot-end-marker
!
memory-size iomem 5
no logging buffered
enable secret 5 ***********************
!
username CRWS_************ privilege 15 password 0 ***********
username Router password 0 **********
username CRWS_********** privilege 15 password 0 **********
no aaa new-model
ip subnet-zero
ip dhcp excluded-address 10.10.10.1 10.10.10.99
ip dhcp excluded-address 10.10.10.99 <-- static address of server or computer
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool POOL1
network 10.10.10.0 255.255.255.0
!
ip dhcp pool CLIENT
import all
default-router 10.10.10.1
lease 0 2
!
!
ip name-server 206.13.31.12 <-- set to your current dns
ip name-server 68.94.157.1 <-- set to your current dns
ip audit notify log
ip audit po max-events 100
ip ssh break-string
no ftp-server write-enable
no scripting tcl init
no scripting tcl encdir
!
!
!
no crypto isakmp enable
!
!
!
!
interface Null0
no ip unreachables
!
interface Ethernet0
ip address 10.10.10.1 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip route-cache same-interface
ip route-cache flow
ip tcp adjust-mss 1452
no ip mroute-cache
arp timeout 60
no cdp enable
hold-queue 4096 in
hold-queue 4096 out
!
interface ATM0
no ip address
atm vc-per-vp 64
no atm ilmi-keepalive
pvc 0/35
pppoe-client dial-pool-number 1
!
dsl operating-mode auto
!
interface FastEthernet1
no ip address
duplex auto
speed auto
!
interface FastEthernet2
no ip address
duplex auto
speed auto
!
interface FastEthernet3
no ip address
duplex auto
speed auto
!
interface FastEthernet4
no ip address
duplex auto
speed auto
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
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
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
ppp chap password 0 myusernamepassword
ppp pap sent-username
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
password 0 myusernamepassword
ppp ipcp dns request
ppp ipcp wins request
!
ip nat translation timeout 900
ip nat translation tcp-timeout 3600
ip nat translation udp-timeout 240
ip nat translation finrst-timeout 30
ip nat translation dns-timeout 45
ip nat inside source list 102 interface Dialer1 overload
ip nat inside source static tcp 10.10.10.99 25 interface Dialer1 25
ip nat inside source static tcp 10.10.10.99 110 interface Dialer1 110
ip nat inside source static tcp 10.10.10.99 21 interface Dialer1 21
ip nat inside source static tcp 10.10.10.99 23 interface Dialer1 23
ip nat inside source static udp 10.10.10.99 53 interface Dialer1 53
ip nat inside source static tcp 10.10.10.99 81 interface Dialer1 81
ip nat inside source static udp 10.10.10.99 2703 interface Dialer1 2703
ip nat inside source static tcp 10.10.10.99 2703 interface Dialer1 2703
ip nat inside source static udp 10.10.10.99 7 interface Dialer1 7
ip nat inside source static tcp 10.10.10.99 7 interface Dialer1 7
ip nat inside source static tcp 10.10.10.99 22 interface Dialer1 22
ip nat inside source static tcp 10.10.10.99 143 interface Dialer1 143
ip nat inside source static udp 10.10.10.99 143 interface Dialer1 143
ip nat inside source static tcp 10.10.10.99 80 interface Dialer1 80
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
no ip http secure-server
!
!
access-list 102 permit ip 10.10.10.0 0.0.0.255 any
access-list 199 permit icmp any any
dialer-list 1 protocol ip permit
route-map BlackHoleICMP permit 10
match ip address 199
set interface Null0
!
!
control-plane
!
!
line con 0
no modem enable
transport preferred all
transport output all
line aux 0
transport preferred all
transport output all
line vty 0 4
exec-timeout 120 0
login local
length 0
transport preferred all
transport input all
transport output all
!
scheduler max-task-time 5000
!
end
Last Updated (Saturday, 29 January 2011 09:18)
Copyright BrianFairchild.com © 2005 - 2011
All Rights Reserved.
Comments
set clock command:
example:
set clock 08:30:30 January 29 2011
Router#show clock detail
09:07:16.679 UTC Sat Jan 29 2011
Time source is user configuration
how to delete crashinfo files:
delete flash:
or
delete flash:crashinfo *
Then hit enter key, not the "y" key as it will show error. Once you are done deleting all the crashinfo files. Do a squeeze command.
example:
type: "squeeze flash"
this command could take a few minutes to complete.
RSS feed for comments to this post