Configuring the Cisco 827
***Official Disclaimer***
Neither I nor Alltel/Your ISP/Anyone else will be held accountable for what you or anyone else does inside your router or on your computer or any software you download and/or install. If you change/remove/corrupt something up on your computer or router or equipment and someone has to fix it or replace it for you and charge you money/services/beer for fixing it then it's your responsibility not mine nor is it Alltel's or your ISP's or anyone else's. I give you the information that I have learned/found/acquired. What you do with it is up to you. Do not email me with questions or complaints about why your router/computer/equipment/etc. doesn't work. I cannot guarantee that this config or these settings or information on this site will work for everyone. I can't test all solutions possible because I don't know them all and there are not enough hours in the day/week/month/year for me to test every combination possible. I have tested/used these configurations/software and they work for me. I am just letting my findings be open to help others in times of need at no cost. If you do not understand these instructions/configurations/software or are afraid that you will mess up the computer/router/equipment/software then you will want to contact a computer/network technician to help fix/configure/build what you need done.
In this walthru I will show you how to erase the config on your 827 and input the default configuration. Plus i will give you some templates for different configuration types.
First step is to get access to the router through the console cable. Here is my link on setting up hyperterminal
Once you have managed to configure hyperterminal you will need to get into enable mode. If you are at a promt that looks something like this Router> then type in en then hit ENTER. If you are prompted for a password then enter your password. If your router was configured by your ISP you may have to contact them to get the router passwords.
Now that you are in enable mode we will clear the startup config of the router so we can program it to our needs. Type in the command write erase then hit ENTER. Your router will display the message Erasing the nvram filesystem will remove all files! Continue? [confirm] Just type y then hit ENTER a couple of times to get back to the prompt. From here we want to reboot the router. Type in the command reload then hit ENTER. When the router replies with Proceed with reload? [confirm] Hit ENTER again.

What the write erase command does is clear out the startup-config file on the router. Everytime the router is rebooted it takes the startup-config file and copies it to the running-config. Another point to mention is that write erase will clear out any passwords, NAT entries, firewall entries etc.. you will be left with a very basic config that has none of these settings in it.
As the router is booting back up you will see it scroll through several messages. It will finally stop on a message that reads Would you like to enter the initial configuration dialog? [yes/no]:type n and then hit ENTER a few of times. You will see more messages scroll across til the router finally ends up at a Router> prompt. Once again we have to get into enable mode. This time you won't have to put in a password to get into enable mode.
In enable mode you should have a prompt that now looks like this Router#
At this point we need to get into configuration mode. Type in the command config t then hit ENTER. Your prompt should now look like this Router(config)# This is where we will do our router config.
PPPoA NAT Configuration
This would be for dynamically assigned IP address
Printer Friendly Version
PPPoA Static IP Configuration
This would be for statically assigned IP addresses
Printer Friendly Version
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Router
!
logging console
enable secret ENABLE_PASSWORD
!
username Router password ENABLE_PASSWORD
ip subnet-zero
ip name-server PRIMARY_DNS_SERVER
ip name-server SECONDARY_DNS_SERVER
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool CLIENT
network 10.10.10.0 255.255.255.0
default-router 10.10.10.1
dns-server PRIMARY_DNS_SERVER SECONDARY_DNS_SERVER
lease infinite
!
!
!
!
interface Ethernet0
ip address 10.10.10.1 255.255.255.0
ip nat inside
hold-queue 100 out
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
hold-queue 224 in
!
interface ATM0.1 point-to-point
pvc 0/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface Dialer1
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username USER_ID password PASSWORD
!
ip nat inside source list 102 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
!
!
access-list 102 permit ip 10.10.10.0 0.0.0.255 any
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 120 0
password EXEC_PASSWORD
stopbits 1
line vty 0 4
exec-timeout 120 0
password EXEC_PASSWORD
login local
length 0
!
scheduler max-task-time 5000
end
copy run start
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Router
!
logging console
enable secret ENABLE_PASSWORD
!
username Router password ENABLE_PASSWORD
ip subnet-zero
ip name-server PRIMARY_DNS_SERVER
ip name-server SECONDARY_DNS_SERVER
!
!
!
!
interface Ethernet0
ip address ROUTER_IP ROUTER_SUBNET
hold-queue 100 out
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
hold-queue 224 in
!
interface ATM0.1 point-to-point
pvc 0/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface Dialer1
ip unnumbered Ethernet0
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username USER_ID password PASSWORD
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
!
!
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 120 0
password EXEC_PASSWORD
stopbits 1
line vty 0 4
exec-timeout 120 0
password EXEC_PASSWORD
login local
length 0
!
scheduler max-task-time 5000
end
copy run start
PPPoE NAT Configuration
This would be for dynamically assigned IP address
Printer Friendly Version
PPPoE Static IP Configuration
This would be for statically assigned IP addresses
Printer Friendly Version
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Router
!
logging console
enable secret ENABLE_PASSWORD
!
username Router password ENABLE_PASSWORD
ip subnet-zero
ip domain-lookup
ip name-server PRIMARY_DNS_SERVER
ip name-server SECONDARY_DNS_SERVER
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool CLIENT
no import all
network 10.10.10.0 255.255.255.0
default-router 10.10.10.1
dns-server PRIMARY_DNS_SERVER SECONDARY_DNS_SERVER
lease infinite
!
vpdn enable
!
vpdn-group pppoe
request-dialin
protocol pppoe
ip mtu adjust
!
!
!
!
!
interface Ethernet0
ip address 10.10.10.1 255.255.255.0
ip nat inside
ip mtu 1492
ip tcp adjust-mss 1452
hold-queue 100 out
no shutdown
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
hold-queue 224 in
no shutdown
!
interface ATM0.1 point-to-point
pvc 0/35
pppoe-client dial-pool-number 1
!
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip tcp adjust-mss 1452
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username USERID password PASSWORD
!
ip nat inside source list 102 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
!
!
access-list 102 permit ip 10.10.10.0 0.0.0.255 any
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 120 0
password EXEC_PASSWORD
stopbits 1
line vty 0 4
exec-timeout 120 0
password EXEC_PASSWORD
login local
length 0
scheduler max-task-time 5000
end
copy run start
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Router
!
logging console
enable secret ENABLE_PASSWORD
!
username Router password ENABLE_PASSWORD
ip subnet-zero
ip domain-lookup
ip name-server PRIMARY_DNS_SERVER
ip name-server SECONDARY_DNS_SERVER
!
vpdn enable
!
vpdn-group pppoe
request-dialin
protocol pppoe
ip mtu adjust
!
!
!
!
interface Ethernet0
ip address ROUTER_IP ROUTER_SUBNET
ip tcp adjust-mss 1452
hold-queue 100 out
no shutdown
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
hold-queue 224 in
no shutdown
!
interface ATM0.1 point-to-point
pvc 0/35
pppoe-client dial-pool-number 1
!
!
interface Dialer1
ip unnumbered Ethernet0
ip mtu 1492
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username USER_ID password PASSWORD
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
!
!
!
line con 0
exec-timeout 120 0
password EXEC_PASSWORD
stopbits 1
line vty 0 4
exec-timeout 120 0
password EXEC_PASSWORD
login local
length 0
!
scheduler max-task-time 5000
end
copy run start
Once you type in copy run start and hit ENTER on the keyboard, the router will now ask
Destination filename [startup-config]?
Just hit the ENTER key on the keyboard then you should see.
Building configuration...
[OK]
At this point you should now be back to your router prompt, now you can just close out of your console, you are done.
All areas that are colored YELLOW in the configurations are areas of information they you have to supply, such as userid password etc.. The areas that I have labled as EXEC_PASSWORD and ENABLE_PASSWORD are the passwords to get into the router, I suggest using your account password and then tack on #exec or #enable to the end. So if your password is ilovedsl then make your exec password ilovedsl#exec and your enable password ilovedsl#enable.
Configuring the Cisco 827