PPP Over farme-relay

Answered Question
Nov 21st, 2007

Hi Team,

I was working on PPP over FR other day and somehow, I couldnt get it setup and working properly.

here is the setup :

R1 --- FR---R2, using physical interfaces.

R1 config:

username R2 password cisco

int virtual-template 1

ip add 10.1.1.1 255.255.255.0

encap ppp

ppp auth chap

int s 0/0

encap frame

frame int-dlci 102 ppp virtual-temp 1

R2 config:

username R1 password cisco

int virtual-template 1

ip add 10.1.1.2 255.255.255.0

encap ppp

ppp auth chap

int s 0/0

encap frame

frame int-dlci 201 ppp virtual-temp 1

Fr PVC status= UP

Virtualtemplate= Down, Which is OK as it will always be down/down

Virtual access 2 = Down

PPP status: LCP down, Closed.

Any inputs on this would be appreciated.

Regards,

-amit singh

I have this problem too.
0 votes
Correct Answer by Edison Ortiz about 9 years 1 month ago

If it doesn't work, turn debugging on ppp authentication.

Rack1R1#debug ppp authen

PPP authentication debugging is on

Rack1R1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Rack1R1(config)#int s1/0

Rack1R1(config-if)#shut

Rack1R1(config-if)#end

Rack1R1#

*Mar 1 00:22:30.887: %LINK-5-CHANGED: Interface Serial1/0, changed state to administratively down

*Mar 1 00:22:30.895: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to down

Rack1R1#

*Mar 1 00:22:31.087: %SYS-5-CONFIG_I: Configured from console by console

*Mar 1 00:22:31.887: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to down

*Mar 1 00:22:31.895: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to down

Rack1R1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Rack1R1(config)#int s1/0

Rack1R1(config-if)#no shut

Rack1R1(config-if)#end

Rack1R1#

*Mar 1 00:22:42.271: %SYS-5-CONFIG_I: Configured from console by console

*Mar 1 00:22:43.047: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up

*Mar 1 00:22:43.075: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to up

*Mar 1 00:22:43.079: Vi2 PPP: Using default call direction

*Mar 1 00:22:43.083: Vi2 PPP: Treating connection as a dedicated line

*Mar 1 00:22:43.087: Vi2 PPP: Session handle[7000023] Session id[40]

*Mar 1 00:22:43.087: Vi2 PPP: Authorization required

*Mar 1 00:22:43.335: Vi2 CHAP: O CHALLENGE id 40 len 23 from "R1"

*Mar 1 00:22:43.439: Vi2 CHAP: I CHALLENGE id 40 len 23 from "R2"

*Mar 1 00:22:43.451: Vi2 CHAP: Using hostname from interface CHAP

*Mar 1 00:22:43.451: Vi2 CHAP: Using password from AAA

*Mar 1 00:22:43.455: Vi2 CHAP: O RESPONSE id 40 len 23 from "R1"

*Mar 1 00:22:43.459: Vi2 CHAP: I RESPONSE id 40 len 23 from "R2"

Rack1R1#

*Mar 1 00:22:43.467: Vi2 PPP: Sent CHAP LOGIN Request

*Mar 1 00:22:43.475: Vi2 PPP: Received LOGIN Response PASS

*Mar 1 00:22:43.483: Vi2 PPP: Sent LCP AUTHOR Request

*Mar 1 00:22:43.487: Vi2 PPP: Sent IPCP AUTHOR Request

*Mar 1 00:22:43.495: Vi2 LCP: Received AAA AUTHOR Response PASS

*Mar 1 00:22:43.499: Vi2 IPCP: Received AAA AUTHOR Response PASS

*Mar 1 00:22:43.503: Vi2 CHAP: O SUCCESS id 40 len 4

*Mar 1 00:22:43.623: Vi2 CHAP: I SUCCESS id 40 len 4

*Mar 1 00:22:43.635: Vi2 PPP: Sent IPCP AUTHOR Request

Rack1R1#

*Mar 1 00:22:44.047: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

*Mar 1 00:22:44.623: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to up

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Edison Ortiz Wed, 11/21/2007 - 22:08

If the router's hostname isn't R1 and R2, you must send the hostname in chap with

ppp chap hostname

command.

BTW, I copied and pasted your config and worked here - the only thing I changed was adding the ppp chap hostname since my router's hostname wasn't R1 and R2.

Amit Singh Wed, 11/21/2007 - 22:15

Thanks Edison for the reply.

I think my hostname was the same as used in the UN/PW. let me go ahead check it right away and will rate the post. Thanks buddy !!

-amit singh

Correct Answer
Edison Ortiz Wed, 11/21/2007 - 22:23

If it doesn't work, turn debugging on ppp authentication.

Rack1R1#debug ppp authen

PPP authentication debugging is on

Rack1R1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Rack1R1(config)#int s1/0

Rack1R1(config-if)#shut

Rack1R1(config-if)#end

Rack1R1#

*Mar 1 00:22:30.887: %LINK-5-CHANGED: Interface Serial1/0, changed state to administratively down

*Mar 1 00:22:30.895: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to down

Rack1R1#

*Mar 1 00:22:31.087: %SYS-5-CONFIG_I: Configured from console by console

*Mar 1 00:22:31.887: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to down

*Mar 1 00:22:31.895: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to down

Rack1R1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Rack1R1(config)#int s1/0

Rack1R1(config-if)#no shut

Rack1R1(config-if)#end

Rack1R1#

*Mar 1 00:22:42.271: %SYS-5-CONFIG_I: Configured from console by console

*Mar 1 00:22:43.047: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up

*Mar 1 00:22:43.075: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to up

*Mar 1 00:22:43.079: Vi2 PPP: Using default call direction

*Mar 1 00:22:43.083: Vi2 PPP: Treating connection as a dedicated line

*Mar 1 00:22:43.087: Vi2 PPP: Session handle[7000023] Session id[40]

*Mar 1 00:22:43.087: Vi2 PPP: Authorization required

*Mar 1 00:22:43.335: Vi2 CHAP: O CHALLENGE id 40 len 23 from "R1"

*Mar 1 00:22:43.439: Vi2 CHAP: I CHALLENGE id 40 len 23 from "R2"

*Mar 1 00:22:43.451: Vi2 CHAP: Using hostname from interface CHAP

*Mar 1 00:22:43.451: Vi2 CHAP: Using password from AAA

*Mar 1 00:22:43.455: Vi2 CHAP: O RESPONSE id 40 len 23 from "R1"

*Mar 1 00:22:43.459: Vi2 CHAP: I RESPONSE id 40 len 23 from "R2"

Rack1R1#

*Mar 1 00:22:43.467: Vi2 PPP: Sent CHAP LOGIN Request

*Mar 1 00:22:43.475: Vi2 PPP: Received LOGIN Response PASS

*Mar 1 00:22:43.483: Vi2 PPP: Sent LCP AUTHOR Request

*Mar 1 00:22:43.487: Vi2 PPP: Sent IPCP AUTHOR Request

*Mar 1 00:22:43.495: Vi2 LCP: Received AAA AUTHOR Response PASS

*Mar 1 00:22:43.499: Vi2 IPCP: Received AAA AUTHOR Response PASS

*Mar 1 00:22:43.503: Vi2 CHAP: O SUCCESS id 40 len 4

*Mar 1 00:22:43.623: Vi2 CHAP: I SUCCESS id 40 len 4

*Mar 1 00:22:43.635: Vi2 PPP: Sent IPCP AUTHOR Request

Rack1R1#

*Mar 1 00:22:44.047: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

*Mar 1 00:22:44.623: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to up

Amit Singh Wed, 11/21/2007 - 22:31

It has worked for me without the "PPP Chap hostname ". I dont know what I missed out earlier, but its working for me now. :-)

-amit singh

Actions

This Discussion