cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10530
Views
0
Helpful
10
Replies

Cisco 1941/K9 PPPoE Configuration

fcholayil
Level 1
Level 1

Hi,

Can you please advise me how to configure the Cisco 1941 router for PPPOE with dynamic IP

10 Replies 10

paolo bevilacqua
Hall of Fame
Hall of Fame

Have you considered searching either in this forum, or in the many configuration examples on cisco.com?

That would give you an immediate solution, instead of having to wait for others to answer.

Dear,

I did the configuration but the internet in not working, please advise me

My Task is Configure PPPOE -ISP Dynamic IP

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip http server
Router(config)#vpdn enable
Router(config)#vpdn-group ppoe
Router(config-vpdn)#request-dialin
Router(config-vpdn-req-in)#protocol LPT12
Router(config-vpdn-req-in)#exit
Router(config-vpdn)#exit
Router(config)#interface ethernet0
Router(config-if)#ip address 10.10.10.1 255.255.255.0
Router(config-if)#ip nat inside
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface Dialer 0
Router(config-if)#pvc
Router(config-if)#no shutdown
Router(config-if-atm-vc)#pppoe-client dial-pool-number 1
Router(config-if-atm-vc)#exit
Router(config-if)#exit
Router(config)#int dialer 0


Router(config-if)#ip address negotiated

Continue with the rest of command
Router(config-if)#ip mtu 1492
Router(config-if)#ip nat outside
Router(config-if)#dialer pool 0
Router(config-if)#ppp authentication pap callin
Router(config-if)#ppp pap sent-username password
Router(config-if)#exit
Router(config)#ip nat inside source list 1 interface dialer 0 overload
Router(config)#ip classless


If you are assigned a dynamic IP address by your ISP, then follow this command
Router(config)#ip route 0.0.0.0 0.0.0.0 dialer 1

Continue with the rest of command
Router(config)#no ip http server
Router(config)#access-list 1 permit 10.10.10.1 0.0.0.255
Router(config)#exit

Appriciated if some one can help on this issue

Post configuration, not console log.

vpdn commands are not needed.

Hi Faisal,

I assume you are trying to configure the 1941 as PPPoE client, is that correct?

The configuration you pasted below doesn't make much sense to me, you are trying to configure L2TP protocol instead of PPPoE.

This is a basic configuration that you can use on a PPPoE client:

interface fa0/0   <<< your link to the ISP
pppoe enable
pppoe-client dial-pool-number 1

interface Dialer1
ip address negotiated
encapsulation ppp
dialer pool 1
dialer-group 1
ppp chap hostname user@test.com
ppp chap password 0 test

ip route 0.0.0.0 0.0.0.0 Dialer1
dialer-list 1 protocol ip permit

Hope this helps

Marco

Thanks Marco,

your right, here my current conf, is right?


!
no ip bootp server
ip domain name Gargash_1941
ip name-server 213.42.20.20
ip name-server 195.229.241.222
multilink bundle-name authenticated
!
!

!
interface GigabitEthernet0/0
description $ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$$ES_WAN$
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/1
description $ES_LAN$
ip address 192.168.2.99 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip flow ingress
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
duplex auto
speed auto
!
interface Dialer0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
ip mtu 1452
ip flow ingress
ip virtual-reassembly

!
interface Dialer1
ip address negotiated
encapsulation ppp
dialer pool 1
dialer-group 1
ppp chap hostname pass@domain.com
ppp chap password 7 08324F41191C0C19112322
!
ip forward-protocol nd
!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip nat inside source list 1 interface Dialer0 overload
ip route 0.0.0.0 0.0.0.0 Dialer1
!
access-list 23 permit 10.10.10.0 0.0.0.7
access-list 23 permit 192.168.2.0 0.0.0.255
access-list 23 permit 192.168.1.0 0.0.0.255
dialer-list 1 protocol ip permit
!
!
!

Kind regards

faisal

1. If gigaeth0/0 is your WAN interface, then configure it in this way:

interface GigabitEthernet0/0

pppoe enable
pppoe-client dial-pool-number 1

2. Remove dialer 0 ("no interface dialer 0")

3. Add "ip nat outside" to dialer 1

4. Correct the nat statement to use dialer 1 instead of dialer 0

Thank you, let me try this way

Dear Marco,

Thank you for the great support, appriciated

once agian i did all thos conguration but still i cannot access,

I'm attaching the current configuration,

Please help me

Regards,

Faisal Cholayil

hi,

may i know that for this router Cisco 1941/K9, existing already have 2 GigabitEtherface, if i want to connect to modem port which use to dial up to static IP, with pppoe username and password, do i really need to purchase HWIC-1FE?

Can i use the existing GigabitEtherface rather than purchase HWIC-1FE card?

nobody reply me

anyway, i found out the answer, yes, it can, as both HWIC and Gigabitethernet card can support same command, just one support up to 100Mbps, one support up to 1000Mbps

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card