Hi James,
I had have removed all the options in the /etc/ppp/options so that it does
not override.
but still i see that the ppp connection terminates . Also i see that the
ppp seeesion uses the local ip
for tunnel and sends a nak for 10.5.1.1 sent by server .

Please let me know where could be the issue.

/****** client log***********/

rcvd [PAP AuthAck id=0x1 "Login ok"]
Remote message: Login ok
PAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 10.5.1.1>]
sent [IPCP ConfAck id=0x1 <addr 10.5.1.1>]
rcvd [IPCP ConfNak id=0x1 <addr 10.42.176.85>]
sent [IPCP ConfReq id=0x2 <addr 10.42.176.85>]
rcvd [IPCP ConfAck id=0x2 <addr 10.42.176.85>]
local  IP address 10.42.176.85
remote IP address 10.5.1.1
/***************************

If any one has tried openl2tp please share the configuration details.

Thanks
Naveen


On Mon, Sep 23, 2013 at 11:27 PM, James Chapman <[email protected]>wrote:

> Hi Naveen,
>
> Check for local ppp settings in /etc/ppp/options at the client or the
> server. These may be overriding settings used by openl2tp.
>
> James
>
> On 24/09/13 03:15, Naveen Neelakanta wrote:
> >
> > Hi All,
> >
> > I am not able to get the client ip addres assigned from server, Can you
> > please
> > help me figure what exactly is the issue . The server sends a terminate
> > message.
> > The client configuration is
> > /******** client config *************************/
> > ppp profile modify profile_name=default \
> >         auth_eap=no auth_mschapv1=no auth_mschapv2=no
> >
> > tunnel  create tunnel_name=l2tp-nbn dest_ipaddr=10.43.174.56
> > #       persist=yes
> > system modify session_establish_timeout=0
> >
> > system modify deny_remote_tunnel_creates=yes
> >
> > session create tunnel_name=l2tp-nbn \
> >         session_name=test \
> >         user_name=nbn \
> >         user_password=nbn
> > /*******************************************/
> >
> > /************ Server Config *************/
> > system modify session_establish_timeout=0
> >
> > ppp profile create profile_name=l2tp-nbn \
> >         local_ipaddr=10.5.1.1 \
> >         remote_ipaddr=10.5.1.2
> >
> > peer profile create profile_name=l2tp-nbn \
> >         peer_ipaddr=10.42.176.85 \
> >         ppp_profile_name=l2tp-nbn
> > /*************************************************/
> >
> > I don't see that server assigns 10.5.1.2 to the remote client.
> > Please let me know the issue.
> >
> > /********* Server Side log *******/
> > PAP peer authentication succeeded for nbn
> > sent [IPCP ConfReq id=0x1 <addr 10.5.1.1>]
> > rcvd [LCP EchoRep id=0x0 magic=0xbf3ecfcf]
> > rcvd [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
> > sent [IPCP ConfNak id=0x1 <addr 10.42.176.85>]
> > rcvd [IPCP ConfAck id=0x1 <addr 10.5.1.1>]
> > rcvd [IPCP ConfReq id=0x2 <addr 10.42.176.85>]
> > sent [IPCP ConfAck id=0x2 <addr 10.42.176.85>]
> > local  IP address 10.5.1.1
> > remote IP address 10.42.176.85
> > openl2tp send: sent PPP_UPDOWN_IND, 60 bytes
> > FUNC: tunl 19649/60514: using interface ppp0
> > FUNC: tunl 19649/60514: user is nbn
> > Script /etc/ppp/ip-up started (pid 3984)
> > Script /etc/ppp/ip-up finished (pid 3984), status = 0x0
> > XPRT: tunl 19649: set retry interval to 2
> > XPRT: tunl 19649: set retry interval to 4
> > DATA: TX: tunl 19649/25167: resend 36 bytes to peer 10.42.176.85, packet
> > ns/nr 2/4 type 7, retry 1
> > XPRT: tunl 19649: set retry interval to 8
> > DATA: TX: tunl 19649/25167: resend 36 bytes to peer 10.42.176.85, packet
> > ns/nr 2/4 type 7, retry 2
> > DATA: TX: tunl 19649/25167: resend 36 bytes to peer 10.42.176.85, packet
> > ns/nr 2/4 type 7, retry 3
> > DATA: TX: tunl 19649/25167: resend 36 bytes to peer 10.42.176.85, packet
> > ns/nr 2/4 type 7, retry 4
> > DATA: TX: tunl 19649/25167: resend 36 bytes to peer 10.42.176.85, packet
> > ns/nr 2/4 type 7, retry 5
> > /*************************************************/
> >
> > Thanks
> > Naveen
> >
> >
> >
> ------------------------------------------------------------------------------
> > October Webinars: Code for Performance
> > Free Intel webinars can help you accelerate application performance.
> > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> > the latest Intel processors and coprocessors. See abstracts and register
> >
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> >
> >
> >
> > _______________________________________________
> > Openl2tp-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/openl2tp-users
> >
>
>
>
> --
> James Chapman
> Katalix Systems Ltd
> http://www.katalix.com
> Catalysts for your Embedded Linux software development
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Openl2tp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openl2tp-users

Reply via email to