It is currently Thu Oct 18, 2018 1:21 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Make session trouble
PostPosted: Fri Nov 04, 2011 5:44 am 

Joined: Fri Nov 04, 2011 5:40 am
Posts: 2
Debian / Linux, make a openl2tpd server.
The problem is this:
Create a tunnel to itself - everything is normal.
After that, create a session and nothing is created.
Who experienced what I did not tweaking?

Code:
# /etc/init.d/openl2tp start
Loading L2TP kernel modules....
Starting openl2tpd....
# l2tpconfig

l2tp> system show version
OpenL2TP V1.8, built Nov 22 2010 [14:16:48],
        (c) Copyright 2004-2010 Katalix Systems Ltd.
  Features: LAC LNS CONF

l2tp> system show configuration
L2TP configuration:
  UDP port: 1701
  max tunnels: 0 (unlimited), max sessions: 0 (unlimited)
  drain tunnels: NO
  tunnel establish timeout: 120 seconds
  session establish timeout: 120 seconds
  tunnel persist pend timeout: 300 seconds
  session persist pend timeout: 60 seconds
  deny local tunnel creation: NO, deny remote tunnel creation: NO
  trace flags: NONE

l2tp> tunnel create tunnel_name=one dest_ipaddr=127.0.0.1
Created tunnel 32536

l2tp> tunnel list
   TunId             Peer            Local  PeerTId ConfigId            State
   32536        127.0.0.1        127.0.0.1    37805        1      ESTABLISHED
*  37805        127.0.0.1        127.0.0.1    32536        2      ESTABLISHED

l2tp> ppp profile create profile_name=one local_ipaddr=10.3.1.1 remote_ipaddr=10.3.1.2 auth_none=yes
Created ppp profile one

l2tp> ppp profile show profile_name=one
Ppp profile one
  trace flags: NONE
  mru: 1460, mtu: 1460, mode: SYNC|ASYNC
  allowed authentications: CHAP MSCHAP MSCHAPv2 NOAUTH
  max connect time: 0, max failure count: 10, idle timeout: 0
  multilink: NO, proxy arp: NO
  IP parameters:-
    local address: 10.3.1.1, peer address: 10.3.1.2
    dns addresses: NOT SET / NOT SET
    wins addresses: NOT SET / NOT SET
    ip pool name: default
    use radius: NO
  PAP parameters:-
    max auth requests: 10, restart interval: 3, timeout: 0
  CHAP parameters:-
    interval: 10, max challenge: 10, restart: 3
  LCP parameters:-
    echo failure count: 0, echo interval: 0
    max config requests: 10, max config naks: 10
    max terminate requests: 3, retransmit interval: 3
  IPCP parameters:-
    max config requests: 10, max config naks: 10
    max terminate requests: 3, retransmit interval: 3

l2tp> session create tunnel_name=one session_name=one ppp_profile_name=one
Created session 13216 on tunnel one

l2tp> session list tunnel_name=one
l2tp> - empty result -


Top
 Profile  
 
 Post subject: Re: Make session trouble
PostPosted: Thu Nov 10, 2011 10:23 pm 
Site Admin

Joined: Sun Jul 27, 2008 1:39 pm
Posts: 122
Have you enabled debug and looked at the output?


Top
 Profile  
 
 Post subject: Re: Make session trouble
PostPosted: Fri Nov 11, 2011 5:16 am 

Joined: Fri Nov 04, 2011 5:40 am
Posts: 2
jchapman wrote:
Have you enabled debug and looked at the output?

Problem solved!
I tested it on a VM under XEN - it did not work pppd.
On the physical machine it worked fine.
Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group