cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2399
Views
23
Helpful
31
Replies

Any help regarding PPPoE with Cisco 1841 router

alaeldien
Level 1
Level 1

Hello everybody

could any one help me in this please.

iam having cisco 1841 router and i want to configure this router for internet connection.

below are the configuration please let me know what is wrong, thank you.

1 Accepted Solution

Accepted Solutions

Hello Ala,

the router can solve

www.google.com

try

ping www.google.com

the URL http://www.google.com is for use on a browser on a PC not sure a router can solve it.

you need the presence of the command

ip domain-lookup

ip name-server 194.170.1.7

I cannot test this in production routers

Hope to help

Giuseppe

View solution in original post

31 Replies 31

alaeldien
Level 1
Level 1

version 12.4

service tcp-keepalives-in

service tcp-keepalives-out

service timestamps debug datetime msec localtime show-timezone

service timestamps log datetime msec localtime show-timezone

service password-encryption

service sequence-numbers

!

hostname tiger

!

boot-start-marker

boot-end-marker

!

logging buffered 51200 debugging

logging console critical

enable secret xxx

enable password xxx

!

no aaa new-model

!

resource policy

!

clock timezone PCTime 4

mmi polling-interval 60

no mmi auto-configure

mmi pvc 0/50

mmi snmp-timeout 180

ip subnet-zero

ip cef

!

!

ip tcp synwait-time 10

no ip dhcp use vrf connected

!

!

vpdn enable

vpdn ip udp ignore checksum

!

vpdn-group pppo

request-dialin

protocol pppoe

!

!

!

!

!

interface FastEthernet0/0

description ADSL LAN Interface$ES_LAN$$ETH-LAN$

ip address 10.10.10.1 255.255.255.248

no ip redirects

no ip unreachables

no ip proxy-arp

ip nbar protocol-discovery

ip nat inside

ip tcp adjust-mss 1452

no ip mroute-cache

duplex auto

speed auto

no cdp enable

no mop enabled

!

interface FastEthernet0/1

description ADSL WAN Interface$ES_WAN$

no ip address

no ip unreachables

no ip proxy-arp

no ip mroute-cache

duplex auto

speed auto

pppoe enable

pppoe-client dial-pool-number 1

no cdp enable

!

interface Dialer1

ip address negotiated

ip mtu 1452

encapsulation ppp

dialer pool 1

dialer-group 1

ppp authentication chap pap callin

ppp chap hostname alaeldien

ppp chap password ***********

ppp pap sent-username alaeldien password ************

!

ip classless

ip route 0.0.0.0 0.0.0.0 FastEthernet0/0

ip route 0.0.0.0 0.0.0.0 Dialer1

!

ip http server

ip nat inside source list 1 interface Dialer1 overload

ip nat inside source list acl1 pool pool1

!

logging trap debugging

access-list 1 permit 0.0.0.0 255.255.255.0

access-list 1 permit 10.10.10.0 0.0.0.255

dialer-list 1 protocol ip permit

snmp-server community public RO

!

Hello Ala,

int dialer 1

ip nat outside

to have NAT to work

access-list 1 :

I don't understand the first line, the second line is enough for nat

use

access-list 2 permit 10.10.10.0 0.0.0.255

no ip nat inside source list acl1 pool pool1

no ip nat inside source list 1 interface Dialer1 overload

ip nat inside source list 2 interface Dialer1 overload

you can use debug ppp neg and debug ppp auth to see if authentication is ok

Hope to help

Giuseppe

hello

thank you for your immediate response

i have tried your suggestion

icome up accross

all interfaces are up

but when iam pinging to the internet

it shows me this msg"Unrecognized host or protocol not running"

what to do please advice

thank you

Hello Ala,

first of all I would issue:

config

ip routing

then try again

Hope to help

Giuseppe

hello

thanks again

i did what you suggest this time when iam issuing the debug ....!!commands it shows me only debugging in on with out showing any information.

suppose if i issue debug auth"debug auth is on"

and so on , so how to deal with it

with lot of thanks

Hello Ala,

thank you very much for your kind remarks.

If you are in a telnet or ssh session you need to use

Router# terminal monitor

to see debug output

Router# terminal no monitor

to remove it

use two sessions one with term mon and another without where you are ready to disable debug if necessary (if cpu goes very high use sh proc cpu | inc util to see this on the second session)

if you like you can also post the sh int dialer 1

check if the ppp state is OPEN this would mean everything is OK.

if not ok you can post the output of debug ppp neg and debug ppp auth here.

Hope to help

Giuseppe

good after

here is out put of the interface dialer1

Dialer1 is up, line protocol is up (spoofing)

Hardware is Unknown

Internet address will be negotiated using IPCP

MTU 1500 bytes, BW 56 Kbit, DLY 20000 usec,

reliability 255/255, txload 1/255, rxload 1/255

Encapsulation PPP, loopback not set

Keepalive set (10 sec)

DTR is pulsed for 1 seconds on reset

Last input never, output never, output hang never

Last clearing of "show interface" counters 01:01:10

Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

Queueing strategy: weighted fair

Output queue: 0/1000/64/0 (size/max total/threshold/drops)

Conversations 0/0/16 (active/max active/max total)

Reserved Conversations 0/0 (allocated/max allocated)

Available Bandwidth 42 kilobits/sec

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

0 packets input, 0 bytes

0 packets output, 0 bytes

and the state is open after issuing debug command

what do you suggest

Hello Ala,

good to hear from you.

Something is not working.

post the output of debug ppp negotiation and debug ppp negotiation so that it is possible to investigate.

You say that the state is open after issuing debug commands.

PPPoE is however a dialup technology so some event has to trigger "the call".

Depending on the client telnet software you are using you have the option to save a log file.

Hope to help

Giuseppe

hello every body

iam opening this case again becasue the last attempts did not work

so here is the running config

vpdn enable

vpdn ip udp ignore checksum

!

vpdn-group pppoe

request-dialin

protocol pppoe

!

!

!

!

!

interface FastEthernet0/0

description ADSL LAN Interface

ip address 10.10.10.1 255.255.255.248

ip nat inside

duplex auto

speed auto

!

interface FastEthernet0/1

description WAN Interface

ip address dhcp

no ip unreachables

shutdown

duplex auto

speed auto

pppoe enable

pppoe-client dial-pool-number 1

no cdp enable

!

interface Dialer1

ip address dhcp client-id FastEthernet0/1

ip nat outside

encapsulation ppp

dialer pool 1

dialer-group 1

ppp authentication pap callin

ppp chap hostname falcon-wimax

ppp chap password xxx

ppp pap sent-username fsecuri password xxx

!

ip classless

!

ip http server

ip nat inside source list 1 interface Dialer1 overload

!

access-list 1 permit 10.10.10.0 0.0.0.255

Hello Ala,

sorry to hear you case is still open

using PPPoE or PPPoA or any other variation the ip address is not provided by DHCP but by IPCP that is part of PPP negotiation.

so config of dialer should contain

int dialer 1

ip address negotiated

! means negotiated by IPCP

so this has to be fixed.

then you need a default static route using dialer1 as output interface

ip route 0.0.0.0 0.0.0.0 Dialer1

After this you can troubleshoot the pppoe session by using the following

terminal monitor

debug ppp negotiation

debug ppp authentication

look for errors in authentication that will stop the PPP negotiation process

you have configured parameters for CHAP and PAP with different username and passwords.

try to use

ppp authentication pap chap

instead of

ppp authenticastion pap callin

collect the output of debugs and if you like post here

to get help in understanding it.

in a working link you will see

sh int dialer1

..

IPCP open

...

Hope to help

Giuseppe

thanks alot for ur help, idid what you suggest and here is out put of debugging commands................................

...........................................

what must be done, please advice.

Hello Ala,

unfortunately I cannot see the file contents this docx file format is not a text file.

May you save the file as an ASCII text file and post it again ?

Thanks for your patience and kind remarks I hope we will find a solution to your issue.

Best Regards

Giuseppe

thank you again and i'm really appreciated.

please do your best to examine the output

if you could not open the file notify me immediatly.

Alaeldien

Hello Ala,

you have an authentication issue:

the other side wants to use CHAP and your side wants to use PAP.

I : input : received on your side

O : output sent from your side

see the following sequence:

*Oct 6 05:03:08.335: Vi1 LCP: I CONFREQ [REQsent] id 248 len 18

*Oct 6 05:02:00.391: Vi1 LCP: AuthProto CHAP (0x0305C223

*Oct 6 05:03:08.335: Vi1 LCP: MRU 1492 (0x010405D4)Oct 6 05:

*Oct 6 05:02:00.391: Vi1 LCP: O CONFREQ [RE

*Oct 6 05:03:08.335: Vi1 LCP: AuthProto PAP (0x0304C023)

*Oct 6 05:01

*Oct 6 05:02:00.391: Vi1 LCP: AuthPr

*Oct 6 05:03:08.335: Vi1 LCP: MagicNumber 0x219

*Oct 6 05:03:08.355: Vi1 LCP: MagicNumber 0x21911AC0 (0x050621911AC0)305)

*Oct 6 05:01:14.

*Oct

*Oct 6 05:03:08.355: Vi1 LCP: O CONFNAK [REQsent] id 249 len 8E3C)

*Oct 6 05:01:14.987: Vi1

*Oct 6 05:03:08.355: Vi1 LCP: MRU 1500 (0x010405DC)[ACKsent] id 8 len 9

*Oct 6 0

*Oct 6 05:03:08.375: Vi1 LCP: I CONFREJ [REQsent] id 2 len 9uthProto CHAP (0x0305C22305)

*Oct 6 05:03:08.375: Vi1 LCP: AuthProto CHAP (0x0305C22305)CONFREQ [ACKsent] id 9 len 14

*Oct 6 05:03:08.375: Vi1 LCP: O CONFREQ [REQsent] id 3 len 14AuthProto PAP (0x0304C023)

*Oct 6 05:03:08.375: Vi1 LCP: MRU 1492 (0x010405D4)15

the key point is that if authentication fails no ip address is assigned and the dialer is torned down

there is also a mismatch in MTU: pppoe uses 8 bytes so mtu -> 1492

use

int dialer1

mtu 1492

ppp authentication chap

and repeat the troubleshooting procedure with

term mon

debug ppp neg

debug ppp auth

this time you should see something different.

Hope to help

Giuseppe

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: