[j-nsp] junos PAP confusion

Chris Adams cmadams at hiwaay.net
Wed Sep 9 13:34:47 EDT 2009

Once upon a time, Joe Abley <jabley at hopcount.ca> said:
> PAP configuration on JUNOS, or at least its documentation, seems very  
> confusing.
> This router is a PPPoE client sitting on a regular (around here,  
> anyway) DSL connection. It's a J2320 running 9.6R1.13.
> I never want to send PAP requests. I only want to respond to PAP  
> requests from the other end of a PPP link. The two pieces of  
> information I have to configure are a username and a password.
> This seems to be the state of things:
> pap {
>     default-pap-password "some secret";
>     local-name "some username";
>     local-password "nother secret, wtf";
>     passive;
> }
> Why do I need to define two passwords? I need to define both default- 
> pap-password and local-password, or I can't commit anything.
> The documentation suggests that the local-name is only used when  
> originating PAP requests. I don't want to originate any PAP requests.  
> However, there's no other place to configure a username that I can see.
> Needless to say it doesn't work :-)

I have a PPPoE (to ADSL) connection running on a J2300.  It does use the
local-name when responding to PAP requests, and the default-password
(not default-pap-password, at least in 9.1) in the PAP response.

Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

More information about the juniper-nsp mailing list