Re: Different IP Pool per proxied realm

2008-02-12 Thread Alan DeKok
Tony Spencer wrote: > The only place I found reference to the IP Pool is in the site-enabled > config file. So I added: > > if ("%{proxy_reply:Framed-IP-Address}" == "255.255.255.254") { Sorry, that should be "proxy-reply", not "proxy_reply". > There is an error in the debug when a user

RE: Different IP Pool per proxied realm

2008-02-12 Thread Tony Spencer
VALUES ( '[EMAIL PROTECTED]', 's3cr3t', 'Access-Accept', '2008-02-12 13:22:36') rlm_sql (sql): Reserving sql socket id: 2 rlm_sql_mysql: query: INSERT INTO radpostauth (user, pass, reply, date) VALUES ( '[EMA

RE: Different IP Pool per proxied realm

2008-02-12 Thread Tony Spencer
"man unlang" if not then I maybe posting back. Sorry... Tony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok Sent: 12 February 2008 12:41 To: FreeRadius users mailing list Subject: Re: Different IP Pool per proxied realm Tony Spence

Re: Different IP Pool per proxied realm

2008-02-12 Thread Alan DeKok
Tony Spencer wrote: > > I currently have this in radiusd.conf. That is NOT the only reference to the "ippool" module. The IP's get allocated *somewhere* via a reference to the "main_pool" module. You must have edited the configuration files to do this, because it is *not* enabled in the defau

RE: Different IP Pool per proxied realm

2008-02-12 Thread Tony Spencer
EMAIL PROTECTED] On Behalf Of Alan DeKok Sent: 12 February 2008 11:17 To: FreeRadius users mailing list Subject: Re: Different IP Pool per proxied realm Tony Spencer wrote: > Where do I put this statement Where is your current "ippool" module referenced? > and does override

Re: Different IP Pool per proxied realm

2008-02-12 Thread Alan DeKok
Tony Spencer wrote: > Where do I put this statement Where is your current "ippool" module referenced? > and does override have to be yes or no? "yes" Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: Different IP Pool per proxied realm

2008-02-12 Thread Tony Spencer
Where do I put this statement and does override have to be yes or no? Thanks in advance Tony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok Sent: 12 February 2008 10:33 To: FreeRadius users mailing list Subject: Re: Different IP Pool per

Re: Different IP Pool per proxied realm

2008-02-12 Thread Alan DeKok
Tony Spencer wrote: > Is there a way to tell Freeradius to only assign from the pool for the user > if the Framed-IP-Address comes back as 255.255.255.254? $ man unlang In 2.0.1: if ("%{proxy_reply:Framed-IP-Address}" != "255.255.255.254") { ippool } It's pretty much that easy..

RE: Different IP Pool per proxied realm

2008-02-12 Thread Tony Spencer
ssage- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok Sent: 11 February 2008 20:42 To: FreeRadius users mailing list Subject: Re: Different IP Pool per proxied realm Tony Spencer wrote: > Right I've now managed to get v2.0.1 working on our radius server. > A

Re: Different IP Pool per proxied realm

2008-02-11 Thread Alan DeKok
Tony Spencer wrote: > Right I've now managed to get v2.0.1 working on our radius server. > Although for some reason its not logging to radiusd.log. > Previously we have logged accounting to the log file and the radacct table. > If anyone can spare a thought on why this isn't now logging to the > ra

RE: Different IP Pool per proxied realm

2008-02-11 Thread Tony Spencer
lto:[EMAIL PROTECTED] On Behalf Of Alan DeKok Sent: 11 February 2008 13:39 To: FreeRadius users mailing list Subject: Re: Different IP Pool per proxied realm Tony Spencer wrote: > We are running freeradius on Centos and the most supported package that gets > installed by "yum update"

Re: Different IP Pool per proxied realm

2008-02-11 Thread Alan DeKok
Tony Spencer wrote: > We are running freeradius on Centos and the most supported package that gets > installed by "yum update" is freeradius-1.0.1-3.RHEL4.5, which I now have > installed. Ugh. > I've tried to upgrade by downloading the latest version, 2.0.1. > Although it builds and installs it

RE: Different IP Pool per proxied realm

2008-02-11 Thread Tony Spencer
rt 2548) Sending Access-Accept of id 245 to 192.168.1.88:1645 Class = 0x5342522d434c20444e3d22323032343331222041543d22323030222055533d2053493d 22323839302200 Session-Timeout = 0 Framed-IP-Address = 255.255.255.254 Framed-IP-Netmask = 255.255.255.255 Acct-I

Re: Different IP Pool per proxied realm

2008-02-09 Thread Alan DeKok
Tony Spencer wrote: > We are using FreeRADIUS Version 1.0.1 Why? I would suggest upgrading. The newer versions have a LOT more features, and make this kind of configuration much easier. > But when the user logs in they get assigned an IP from the NAS and not from > the IP Pool. > Am I doing

Different IP Pool per proxied realm

2008-02-07 Thread Tony Spencer
Hi all I’m trying to assign a different IP Pool per realm, instead of the IP being assigned by the NAS. However after reading some postings and doing some searching I can’t get this to work. The realms we want to assign different IP Pools to, we proxy to different customers. So we don’t do the aut