I am using l2tpd to terminate l2 tunnels for ADSL in australia.

some of our clients have static ip addresses, the rest use the default lns
ip-range

here is my config:

[global]                                                                ;
Global parameters:
port = 1701                                                     ; * Bind to
port 1701
auth file = /etc/l2tpd/l2tp-secrets     ; * Where our challenge secrets are
rand source = dev                     ; Source for entropy for random
[lns default]                                                   ; Our
fallthrough LNS definition
exclusive = no                                          ; * Only permit one
tunnel per host
ip range = 210.8.120.129-210.8.120.169  ; * Allocate from this IP range
local ip = 210.8.120.210                        ; * Our local IP to use
ppp debug = yes                                         ; * Turn on PPP
debugging

[lac bur-cor5]
lns = bur-cor5.connect.com.au
require authentication = yes
name = terminator.getonit.com

[lac can-cor3]
lns = can-cor3.connect.com.au
require authentication = yes
name = terminator.getonit.com

[lac hay-cor7]
lns = hay-cor7.connect.com.au
require authentication = yes
name = terminator.getonit.com

[lac for-cor3]
lns = for-cor3.connect.com.au
require authentication = yes
name = terminator.getonit.com

[lac ade-cor4]
lns = ade-cor4.connect.com.au
require authentication = yes
name = terminator.getonit.com

[lac per-cor3]
lns = per-cor3.connect.com.au
require authentication = yes
name = terminator.getonit.com

my static ip addresses start from 170 up to 191

the problem is this:

the l2tpd allocates an ip on connect (out of the dynamic pool) then pppd
issues them the static address. thats fair enough. but l2tpd doesnt appear
to deallocate the ip once the client finishes. so we end up running out of
IP addresses.

ive ran through the source and cant see where it frees up the ip?

is there a way of having it do it, and even allocate static ip addresses to
users?

Thanks
Tim Warnock

ISP Technical Manager
GetOnIt.Net.Au Pty Ltd. Local Internet in Townsville
(07) 4723 6244
[EMAIL PROTECTED]


Reply via email to