Where is the IP range in your config file?
Look in the archive for one of my post
(RE: force LNS to give an IP address requested by LAC.)
where I've already answered that question

Dom

-----Original Message-----
From: Thierry Coutelier [mailto:[EMAIL PROTECTED]]
Sent: 22 November 2002 17:16
To: [EMAIL PROTECTED]
Subject: Configuring l2tpd to have ppp assign the IP address.


Greetings,

I'm trying to set-up a tunnel between an L2TP connection between an 
Ascend system (from an ISP) to an LNS server runing l2tpd on linux 
(RH-7.2 w/ 2.4.18-kernel).

I want the l2tpd to call my ppp process which then would assign the 
IP address for the end-user.

I got the radius part to send the correct tunnel parameters (using 
free-radius).

But no I get an out of IP adresses (see attached debug log).

Here is my config:


/etc/l2tp/l2tpd.conf
[global]                                ; Global parameters:
port = 1701                             ; * Bind to port 1701
auth file = /etc/l2tp/l2tp-secrets      ; * Where our challenge secrets are
access control = no                     ; * Refuse connections

[lns default]                           ; Our fallthrough LNS definition
exclusive = no                          ; * Only permit one tun
lac = 194.7.201.18 - 194.7.201.24       ; * These can connect as
name = pptp4                            ; * Report this as our
ppp debug = yes                 ; * Turn on PPP debugging
pppoptfile = /etc/ppp/options
flow bit = yes                          ; * Include sequence numbers
challenge = yes                 ; * Challenge authenticate peer ;

(Tried with challenge = no too  but it seems peers wants it)

And my secret file:


/etc/l2tp/l2tp-secrets

pptp4   l2tpte   blabla
l2tpte  *               blabla
*       l2tpte  blabla
*       *       ""



And the resulting debug log:










-- 
Thierry Coutelier      /'\ ASCII Ribbon Campaign
http://www.linux.lu    \ / No HTML/RTF in email
.                       �  No Word docs in email
.                      / \ Respect for open standards


Reply via email to