11-20-2009 09:21 PM
I am trying to setup a system where an AS5350 would be used for dial out and internet access through ISPs which still provide dial up access for PCs.
So, I have a system configured and am trying to connect to Earthlink. The prob,me is that even LCP fails to negotiate:
*Jan 6 05:26:47.248: As2/85 PPP: Using dialer call direction
*Jan 6 05:26:47.248: As2/85 PPP: Treating connection as a callout
*Jan 6 05:26:47.248: As2/85 PPP: Session handle[130000EA] Session id[26]
*Jan 6 05:26:47.248: As2/85 PPP: Phase is ESTABLISHING, Active Open
*Jan 6 05:26:47.248: As2/85 PPP: Authorization required
*Jan 6 05:26:47.248: As2/85 PPP: No remote authentication for call-out
*Jan 6 05:26:47.248: As2/85 LCP: O CONFREQ [Closed] id 56 len 20
*Jan 6 05:26:47.248: As2/85 LCP: ACCM 0x000A0000 (0x0206000A0000)
*Jan 6 05:26:47.248: As2/85 LCP: MagicNumber 0x25DF15B5 (0x050625DF15B5)
*Jan 6 05:26:47.248: As2/85 LCP: PFC (0x0702)
*Jan 6 05:26:47.248: As2/85 LCP: ACFC (0x0802)
*Jan 6 05:26:47.408: As2/85 LCP: I CONFREQ [REQsent] id 1 len 39
*Jan 6 05:26:47.408: As2/85 LCP: VendorSpecific OUI (0x00040000)
*Jan 6 05:26:47.408: As2/85 LCP: MRU 1524 (0x010405F4)
*Jan 6 05:26:47.408: As2/85 LCP: ACCM 0x000A0000 (0x0206000A0000)
*Jan 6 05:26:47.408: As2/85 LCP: AuthProto PAP (0x0304C023)
*Jan 6 05:26:47.408: As2/85 LCP: PFC (0x0702)
*Jan 6 05:26:47.408: As2/85 LCP: ACFC (0x0802)
*Jan 6 05:26:47.408: As2/85 LCP: MRRU 1524 (0x110405F4)
*Jan 6 05:26:47.412: As2/85 LCP: EndpointDisc 3 00d0.5204.172d (0x13090300D05204172D)
*Jan 6 05:26:47.412: As2/85 LCP: O CONFREJ [REQsent] id 1 len 12
*Jan 6 05:26:47.412: As2/85 LCP: VendorSpecific OUI (0x00040000)
*Jan 6 05:26:47.412: As2/85 LCP: MRRU 1524 (0x110405F4)
*Jan 6 05:26:47.420: As2/85 LCP: I CONFACK [REQsent] id 56 len 20
*Jan 6 05:26:47.420: As2/85 LCP: ACCM 0x000A0000 (0x0206000A0000)
*Jan 6 05:26:47.420: As2/85 LCP: MagicNumber 0x25DF15B5 (0x050625DF15B5)
*Jan 6 05:26:47.420: As2/85 LCP: PFC (0x0702)
*Jan 6 05:26:47.420: As2/85 LCP: ACFC (0x0802)
*Jan 6 05:26:47.544: As2/85 LCP: I CONFREQ [ACKrcvd] id 2 len 31
*Jan 6 05:26:47.544: As2/85 LCP: MRU 1524 (0x010405F4)
*Jan 6 05:26:47.544: As2/85 LCP: ACCM 0x000A0000 (0x0206000A0000)
*Jan 6 05:26:47.544: As2/85 LCP: AuthProto PAP (0x0304C023)
*Jan 6 05:26:47.544: As2/85 LCP: PFC (0x0702)
*Jan 6 05:26:47.548: As2/85 LCP: ACFC (0x0802)
*Jan 6 05:26:47.548: As2/85 LCP: EndpointDisc 3 00d0.5204.172d (0x13090300D05204172D)
*Jan 6 05:26:47.548: As2/85 LCP: O CONFNAK [ACKrcvd] id 2 len 9
*Jan 6 05:26:47.548: As2/85 LCP: AuthProto CHAP (0x0305C22305)
*Jan 6 05:26:47.680: As2/85 LCP: I CONFREQ [ACKrcvd] id 2 len 31
*Jan 6 05:26:47.684: As2/85 LCP: MRU 1524 (0x010405F4)
*Jan 6 05:26:47.684: As2/85 LCP: ACCM 0x000A0000 (0x0206000A0000)
*Jan 6 05:26:47.684: As2/85 LCP: AuthProto PAP (0x0304C023)
*Jan 6 05:26:47.684: As2/85 LCP: PFC (0x0702)
*Jan 6 05:26:47.684: As2/85 LCP: ACFC (0x0802)
*Jan 6 05:26:47.684: As2/85 LCP: EndpointDisc 3 00d0.5204.172d (0x13090300D05204172D)
*Jan 6 05:26:47.684: As2/85 LCP: O CONFNAK [ACKrcvd] id 2 len 9
*Jan 6 05:26:47.684: As2/85 LCP: AuthProto CHAP (0x0305C22305)
*Jan 6 05:26:47.808: As2/85 LCP: I CONFREQ [ACKrcvd] id 2 len 31
*Jan 6 05:26:47.808: As2/85 LCP: MRU 1524 (0x010405F4)
*Jan 6 05:26:47.808: As2/85 LCP: ACCM 0x000A0000 (0x0206000A0000)
*Jan 6 05:26:47.808: As2/85 LCP: AuthProto PAP (0x0304C023)
*Jan 6 05:26:47.808: As2/85 LCP: PFC (0x0702)
*Jan 6 05:26:47.808: As2/85 LCP: ACFC (0x0802)
*Jan 6 05:26:47.808: As2/85 LCP: EndpointDisc 3 00d0.5204.172d (0x13090300D05204172D)
*Jan 6 05:26:47.808: As2/85 LCP: O CONFNAK [ACKrcvd] id 2 len 9
*Jan 6 05:26:47.808: As2/85 LCP: AuthProto CHAP (0x0305C22305)
*Jan 6 05:26:47.932: As2/85 LCP: I CONFREQ [ACKrcvd] id 2 len 31
*Jan 6 05:26:47.932: As2/85 LCP: MRU 1524 (0x010405F4)
*Jan 6 05:26:47.932: As2/85 LCP: ACCM 0x000A0000 (0x0206000A0000)
*Jan 6 05:26:47.932: As2/85 LCP: AuthProto PAP (0x0304C023)
*Jan 6 05:26:47.932: As2/85 LCP: PFC (0x0702)
*Jan 6 05:26:47.932: As2/85 LCP: ACFC (0x0802)
*Jan 6 05:26:47.936: As2/85 LCP: EndpointDisc 3 00d0.5204.172d (0x13090300D05204172D)
*Jan 6 05:26:47.936: As2/85 LCP: O CONFNAK [ACKrcvd] id 2 len 9
*Jan 6 05:26:47.936: As2/85 LCP: AuthProto CHAP (0x0305C22305)
*Jan 6 05:26:48.060: As2/85 LCP: I CONFREQ [ACKrcvd] id 2 len 31
*Jan 6 05:26:48.060: As2/85 LCP: MRU 1524 (0x010405F4)
*Jan 6 05:26:48.060: As2/85 LCP: ACCM 0x000A0000 (0x0206000A0000)
*Jan 6 05:26:48.060: As2/85 LCP: AuthProto PAP (0x0304C023)
*Jan 6 05:26:48.060: As2/85 LCP: PFC (0x0702)
*Jan 6 05:26:48.060: As2/85 LCP: ACFC (0x0802)
*Jan 6 05:26:48.060: As2/85 LCP: EndpointDisc 3 00d0.5204.172d (0x13090300D05204172D)
*Jan 6 05:26:48.060: As2/85 LCP: O CONFNAK [ACKrcvd] id 2 len 9
*Jan 6 05:26:48.060: As2/85 LCP: AuthProto CHAP (0x0305C22305)
*Jan 6 05:26:48.192: As2/85 LCP: I CONFREQ [ACKrcvd] id 2 len 31
*Jan 6 05:26:48.192: As2/85 LCP: MRU 1524 (0x010405F4)
*Jan 6 05:26:48.192: As2/85 LCP: ACCM 0x000A0000 (0x0206000A0000)
*Jan 6 05:26:48.192: As2/85 LCP: AuthProto PAP (0x0304C023)
*Jan 6 05:26:48.192: As2/85 LCP: PFC (0x0702)
*Jan 6 05:26:48.192: As2/85 LCP: ACFC (0x0802)
*Jan 6 05:26:48.192: As2/85 LCP: EndpointDisc 3 00d0.5204.172d (0x13090300D05204172D)
*Jan 6 05:26:48.192: As2/85 LCP: O CONFREJ [ACKrcvd] id 2 len 8
*Jan 6 05:26:48.192: As2/85 LCP: AuthProto PAP (0x0304C023)
*Jan 6 05:26:48.320: As2/85 LCP: I TERMREQ [ACKrcvd] id 3 len 4
*Jan 6 05:26:48.320: As2/85 LCP: O TERMACK [ACKrcvd] id 3 len 4
*Jan 6 05:26:48.320: As2/85 PPP: Authorization required
*Jan 6 05:26:48.324: As2/85 PPP: No remote authentication for call-out
Solved! Go to Solution.
11-22-2009 02:20 AM
Router trigger dialers on backup condition, dialer watch, or traffic going out an interface.
Thank you for the nice rating and good luck!
11-21-2009 03:22 AM
They want PAP, but your router is insisting on CHAP.
11-21-2009 10:13 AM
Yes, I figured that much, but setting 'ppp authentication pap' in the interface profile was causing problems when the ISP was required to authenticate with the RAS, which was clearly not the right thing to expect.
So, the solution turned out to be adding
ppp pap sent-username
to the interface profile.
I wonder if anyone can tell me what are the ways to trigger the dialout action. I understand that I can create a route and associate it with this interface so attempts to access the destination net would trigger a dialout. I wonder if there is any other way to have the RAS dial and establish PPP connection before the actual traffic starts.
TIA,
Vadim
11-22-2009 02:20 AM
Router trigger dialers on backup condition, dialer watch, or traffic going out an interface.
Thank you for the nice rating and good luck!
11-22-2009 12:59 PM
I actually have a follow up question (not sure what's the rules here - am I supposed to open a separate topic?). So, I have the outgoing ppp connection established, and I have the box configured such that the ISP provides the IP address/mask of the interface and the DNS server address.
Is there a way to scrape this information from the box CLI once the connection is up? (For now the only way to get this info I see is to watch the NPCP negotiations debugs).
11-22-2009 01:01 PM
To scrape ???
Please explain what problem are you trying to solve.
11-22-2009 01:27 PM
Maybe 'scrape' is not an accepted term here.
I need to be able to find out the IP configuration parameters (interface address, subnet mask and DNS servers' addresses) as issued by the ISP when the PPP connection was brought up.
So, say I have a 5350 with 20 PPP sessions running to 20 different ISPs, how do I find out all these IP parameters for all active PPP connections.
11-22-2009 02:08 PM
You can write a script that telnet to the router and issues the show commands.
Note, there is no subnet mask with PPP negotiated address.
Still not clear what you're actually trying to do, as you did not explain.
Please remember to rate useful posts with the scrollbox below.
11-22-2009 05:27 PM
That's exactly my question: what show commands are there to list all active PPP connections and their negotiated IP parameters?
Sorry if this is an obvious RTFM kind of question - I tried and could not fine anything.
11-23-2009 03:33 AM
show ip interface brief
show ip name-server
11-23-2009 11:00 AM
p.bevilacqua, thanks a lot for your replies.
p.bevilacqua wrote:
show ip interface brief
show ip name-server
Indeed,
show ip interface brief | exclude unassigned
11-23-2009 11:42 AM
There is no command to show which interface assigned which DNS server.
You can know the address on the other side with show ip route connected, these are the /32.
Still not sure what you're trying to do with this.
11-23-2009 01:02 PM
p.bevilacqua wrote:
There is no command to show which interface assigned which DNS server.
You can know the address on the other side with show ip route connected, these are the /32.
Still not sure what you're trying to do with this.
Basically I am trying to create a system where some IP experiments could be run with directing traffic to different interfaces, and the ISP dial up is a perfect setting for this.
It looks like I am almost there and I really appreciate your help (BTW, why does it complain that I am not rating the answers - I presume these reminders are included automatically).
So, I have a system with two ISP connections up:
ras5350#show ip interface brief | exclude unassigned
Interface IP-Address OK? Method Status Protocol
Dialer1 66.81.243.116 YES IPCP up up
Dialer2 66.2.20.6 YES IPCP up up
FastEthernet0/0 10.245.12.173 YES NVRAM up up
ras5350#show ip route connected
69.0.0.0/32 is subnetted, 1 subnets
C 69.19.217.21 is directly connected, Dialer1
66.0.0.0/32 is subnetted, 2 subnets
C 66.2.20.6 is directly connected, Dialer2
C 66.81.243.116 is directly connected, Dialer1
67.0.0.0/32 is subnetted, 1 subnets
C 67.95.10.27 is directly connected, Dialer2
10.0.0.0/26 is subnetted, 1 subnets
C 10.245.12.128 is directly connected, FastEthernet0/0
ras5350#show ip route connected | include directly
C 69.19.217.21 is directly connected, Dialer1
C 66.2.20.6 is directly connected, Dialer2
C 66.81.243.116 is directly connected, Dialer1
C 67.95.10.27 is directly connected, Dialer2
C 10.245.12.128 is directly connected, FastEthernet0/0
ras5350#
what puzzles me is that the endpoints of the PPP connection are on different IP subnets. Aren't they supposed to be on the same subnet?
11-23-2009 02:33 PM
No, RAS PPP address can be anything and do not matter.
If you want to experiment with routing, get some cheap router and connect them in lab.
Multiple dial-up interfaces is not a real situation and is not in any certification.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide