openl2tp.org
http://forums.openl2tp.org/

Make session trouble
http://forums.openl2tp.org/viewtopic.php?f=3&t=82
Page 1 of 1

Author:  Rom1 [ Fri Nov 04, 2011 5:44 am ]
Post subject:  Make session trouble

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 -

Author:  jchapman [ Thu Nov 10, 2011 10:23 pm ]
Post subject:  Re: Make session trouble

Have you enabled debug and looked at the output?

Author:  Rom1 [ Fri Nov 11, 2011 5:16 am ]
Post subject:  Re: Make session trouble

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

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/