CONFIGURE PPPOE CONNECTION ON CISCO ROUTER 1841

Cisco 1841- erase everything on the router’s configuration and start from scratch.

router# configure terminal
router(config)# config-register 0x2102
router(config)# end
router#

router#write erase
router#reload

System configuration has been modified. Save? [yes/no]: n
Proceed with reload? [confirm]


Would you like to enter the initial configuration dialog? [yes/no]: n
Show the running config
Router#show run


Copy and Paste the following configuration into your router

no parser cache
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname cisco
!
boot-start-marker
boot-end-marker
!
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
no aaa new-model
ip subnet-zero
ip cef
!
!
ip dhcp excluded-address 172.17.0.1 172.17.0.50
!
ip dhcp pool 172.17.0.0/21
network 172.17.0.0 255.255.248.0
default-router 172.17.0.1
dns-server 213.42.20.20 195.229.241.222 8.8.8.8


Note:- 
  • If the DHCP Server is on different switch or firewall, remove the above-      given DHCP pool commands.
  • f0/1 IP address and access list, be same as that DHCP Server.
  • Don't forget to give this f0/1 IP Address as default router address on that DHCP Server.



!
!
no ip domain lookup
vpdn enable
!
vpdn-group 1
request-dialin
protocol pppoe
!
no ftp-server write-enable
!
interface FastEthernet0/0
description Physical_Internet_Interface
no ip address
no ip mroute-cache
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
no cdp enable
!
interface FastEthernet0/1
description Internal_LAN_Interface
ip address 172.17.0.1 255.255.248.0
ip nat inside
no ip mroute-cache
duplex auto
speed auto
no cdp enable
!
interface Dialer1
description Logical_Internet_Interface
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452
no ip mroute-cache
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication pap callin
ppp pap sent-username xxxxxxxx password xxxxxxxx
ppp ipcp dns request
ppp ipcp route default
ppp ipcp address accept
!
ip classless
!
!
no ip http server
no ip http secure-server
ip nat inside source list 10 interface Dialer1 overload
!
access-list 10 permit 172.17.0.0 0.0.7.255
dialer-list 1 protocol ip permit
no cdp run
!
!
control-plane
!
line con 0
exec-timeout 120 0
stopbits 1
line aux 0
line vty 0 4
exec-timeout 0 0
login local
length 0
!
scheduler max-task-time 5000
---------------------------------------------

Don't forget no shutdown command on interface f0/0 and f0/1

interface fastEthernet 0/0
no shut
interface fastEthernet 0/1
no shut
exit

Save the configuration after the test.

write memory



No comments: