Re: only 2 dynamic IPs are allocated even the ip pool has many IPs

2013-07-30 Thread Alan DeKok
Koka Krishna wrote: I am using the freeradius 2.2.0 on ubuntu. When I try to use the dynamic IP pool allocation, RADIUS server is allocating only 2 IPs . afterwards those 2 IPs repeated for other subscribers as well. So that I am not able to create more than 2 sessions. May I know how

Re: Understanding the IP Pool module

2013-02-13 Thread Phil Mayers
On 02/13/2013 07:23 AM, Бен Томпсон wrote: One thing I still don't understand though is how best to use ippool for DHCP. I don't understand where and how I should call the module during a DHCP transaction. For example I can call it during DHCP-Discover, but it seems that if I call it again

Re: Understanding the IP Pool module

2013-02-13 Thread Alan DeKok
Бен Томпсон wrote: One thing I still don't understand though is how best to use ippool for DHCP. As Phil said, don't. Use the SQL IP pool module. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Understanding the IP Pool module

2013-02-12 Thread Бен Томпсон
of sites-available/default there is the following comment :- # Return an address to the IP Pool when we see a stop record. Does this mean that the ippool module sets active to 0 when it sees an accounting Stop from the same Key? Also, I noticed that this module can be used for DHCP which

Re: Understanding the IP Pool module

2013-02-12 Thread Alan DeKok
Бен Томпсон wrote: I am hoping to use rlm_ippool and I would like to understand a bit about how it works. Firstly I want to understand the format of the database. The best approach is to look at the documentation, followed by the code. Could anyone explain to me what the columns cli and

Re: Understanding the IP Pool module

2013-02-12 Thread Бен Томпсон
Thanks Alan 2013/2/12 Alan DeKok al...@deployingradius.com: Бен Томпсон wrote: I am hoping to use rlm_ippool and I would like to understand a bit about how it works. Firstly I want to understand the format of the database. The best approach is to look at the documentation, followed by the

mysql ip pool guide or documentation

2012-10-19 Thread Sebastien Boucher
hello, Sorry for asking a question that was probably asked and answered before but i could not find anything. Can anyone direct me to a guide or some sort of documentation on how to configure ip pool for freeradius using a mysql database ? thank you for your help. Sebastien. - List info

Re: mysql ip pool guide or documentation

2012-10-19 Thread Phil Mayers
Sebastien Boucher cannibal...@gmail.com wrote: hello, Sorry for asking a question that was probably asked and answered before but i could not find anything. Can anyone direct me to a guide or some sort of documentation on how to configure ip pool for freeradius using a mysql database ? thank

Re: mysql ip pool guide or documentation

2012-10-19 Thread Sebastien Boucher
that was probably asked and answered before but i could not find anything. Can anyone direct me to a guide or some sort of documentation on how to configure ip pool for freeradius using a mysql database ? thank you for your help. Sebastien

Re: Problem in configuring multiple IP pool

2012-09-13 Thread Fajar A. Nugraha
On Thu, Sep 13, 2012 at 4:55 PM, ranjan kumar ranjankumar...@gmail.com wrote: Hi, I have created two ip pool in radiusd.conf which looks like below: === In radiusd.conf ippool myippool { Which version is this? IIRC in 2.x ippool

Re: how to add two ip pool

2012-09-13 Thread Fajar A. Nugraha
On Thu, Sep 13, 2012 at 7:25 PM, ranjan kumar ranjankumar...@gmail.com wrote: Hi All, I am trying to add two default entries in users file for two ip pool. Why? Most likely you're trying to solve a problem the wrong way. What EXACTLY do you want to do? Allocate IPs from two range

Re: How fast can IP Pool SQL be? :) *a Shocker*

2012-04-23 Thread Phil Mayers
very bad? Standard schema with standard queries? I assumed the stable code would be released with the best possible SQL indexes on the schema etc? It is released with safe defaults, that work in common cases i.e. using select ... for update to prevent duplicate IP assignment. Hundreds or

Re: How fast can IP Pool SQL be? :) *a Shocker*

2012-04-22 Thread Timmy
On 2012-04-22 02:53 AM, Christiaan Rademan wrote: Greetings everyone, I previously had a post concerning authenticate over 2 million+ mobile subscriber users on FreeRadius. We did performance testing yet, failed but due to pressure from client we went a head with the migration. The migration

Re: How fast can IP Pool SQL be? :) *a Shocker*

2012-04-22 Thread Fajar A. Nugraha
On Sun, Apr 22, 2012 at 1:08 PM, Timmy moon...@netscape.net wrote: On 2012-04-22 02:53 AM, Christiaan Rademan wrote: Greetings everyone, I previously had a post concerning authenticate over 2 million+ mobile subscriber users on FreeRadius. We did performance testing yet, failed but due to

Re: How fast can IP Pool SQL be? :) *a Shocker*

2012-04-22 Thread Christiaan Rademan
was all such a great idea. Yes I recoded my own version of SQLIPPool, its running a whole lot faster than the one with standard queries. 25/s to 5000/s, same hardware, same database. I tried to optimise the queries with the original IP Pool but it never really didn't help much. So what I

Re: How fast can IP Pool SQL be? :) *a Shocker*

2012-04-22 Thread Alan DeKok
Christiaan Rademan wrote: So what I am actually trying to determine here is whether I stumbled across a great solution or something meaningless that worked around a problem with my specific configuration. If you want us to review what you've done, then describe what you've done. If I did

How fast can IP Pool SQL be? :) *a Shocker*

2012-04-21 Thread Christiaan Rademan
Greetings everyone, I previously had a post concerning authenticate over 2 million+ mobile subscriber users on FreeRadius. We did performance testing yet, failed but due to pressure from client we went a head with the migration. The migration failed at this point, since the Radius Server

Re: Problems using SQL IP Pool

2012-01-30 Thread Fajar A. Nugraha
On Mon, Jan 30, 2012 at 7:43 PM, Nataniel Klug listas.n...@cnett.com.br wrote:     I’ve been using Freeradius for a long time and about 5 months ago I made a change in my default layout so I could use Freeradius SQL-IPPool running over PostgreSQL. So you have ONLY one instance of

RES: Problems using SQL IP Pool

2012-01-30 Thread Nataniel Klug
Hello Fajar, Thank you for your reply. I will answer bellow: So you have ONLY one instance of sqlipool, backed by postgresql? If you don't use mysql for sqlpipool then it's not relevant for this discussion. Focus on what you use for sqlippool [Nataniel Klug] It's true, I

RES: Problems using SQL IP Pool

2012-01-30 Thread Nataniel Klug
And what does freeradius debug log say? -- Fajar [Nataniel Klug] I've set my debug_level to 2 and now it's recording in radius.log. I will look into it when the problem appears. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Problems using SQL IP Pool

2012-01-30 Thread Fajar A. Nugraha
On Mon, Jan 30, 2012 at 8:47 PM, Nataniel Klug listas.n...@cnett.com.br wrote: And what does freeradius debug log say? [Nataniel Klug] This is a production server and I can't run it in debug mode (-X) and as it's not been a common problem it appear just once or twice during a day I can't be

RES: Problems using SQL IP Pool

2012-01-30 Thread Nataniel Klug
[mailto:freeradius-users- bounces+listas.nata=cnett.com...@lists.freeradius.org] Em nome de Fajar A. Nugraha Enviada em: segunda-feira, 30 de janeiro de 2012 09:53 Para: FreeRadius users mailing list Cc: Agner Vainer [ CNett ] Assunto: Re: Problems using SQL IP Pool On Mon, Jan 30, 2012 at 8

Re: SQL IP Pool Not Accepting Redundant SQL

2011-10-12 Thread Det Det
...@yahoo.com Sent: Tuesday, October 4, 2011 6:24 PM Subject: Re: SQL IP Pool Not Accepting Redundant SQL You can't, 'redundant_sql' is not an sql-instance. You need to create two instances of sqlippool, then wrap them in a redundant block... If you're using FR = 2.1.11 or 3.* Overload the sqlippool

SQL IP Pool Not Accepting Redundant SQL

2011-10-04 Thread Det Det
Hi, How to make sqlippool accept redundant SQL as below? sqlippool {  sql-instance-name = redundant_sql  ippool_table = radippool ... } radiusd.conf ...     redundant redundant_sql {         sql1         sql2     } ... if I use  sql-instance-name = sql1 or sql-instance-name = sql2,

Re: SQL IP Pool Not Accepting Redundant SQL

2011-10-04 Thread Arran Cudbard-Bell
On 4 Oct 2011, at 12:08, Det Det wrote: Hi, How to make sqlippool accept redundant SQL as below? sqlippool { sql-instance-name = redundant_sql ippool_table = radippool ... } radiusd.conf ... redundant redundant_sql { sql1 sql2 } ... if

Re: SQL IP Pool Not Accepting Redundant SQL

2011-10-04 Thread Arran Cudbard-Bell
You can't, 'redundant_sql' is not an sql-instance. You need to create two instances of sqlippool, then wrap them in a redundant block... If you're using FR = 2.1.11 or 3.* Overload the sqlippool module policy.conf policy { sqlippool { redundant {

SQL IP Pool Control Attribute Placement

2011-09-07 Thread Det Det
Hi, For the sqlippool, http://wiki.freeradius.org/Rlm_sqlippool, which table should the below control attribute be placed on? It says, it is not a reply attribute, does it then go to radcheck/radgroupcheck table? DEFAULT Pool-Name := main_pool Fall-Through = Yes thanks, det - List

Re: SQL IP Pool Control Attribute Placement

2011-09-07 Thread Fajar A. Nugraha
On Wed, Sep 7, 2011 at 2:45 PM, Det Det det.explo...@yahoo.com wrote: Hi, For the sqlippool, http://wiki.freeradius.org/Rlm_sqlippool, which table should the below control attribute be placed on? It says, it is not a reply attribute, does it then go to radcheck/radgroupcheck table? DEFAULT

Freeradius GGSN-Postgresql Based upon a SELECT it will trigger a specific IP Pool

2011-05-24 Thread Pedro Costa
/User has stored in the database, the Freeradius will then use the language (ex.: French or German) and choose the specific IP Pool for that Language. I'm currently trying to connect to Postgresql but i'm having doubt on how can i acheive this purpose of selecting a ip pool based upon the output

Re: Freeradius GGSN-Postgresql Based upon a SELECT it will trigger a specific IP Pool

2011-05-24 Thread Phil Mayers
and will receive a Language that the IMSI/User has stored in the database, the Freeradius will then use the language (ex.: French or German) and choose the specific IP Pool for that Language. I'm currently trying to connect to Postgresql but i'm having doubt on how can i acheive this purpose

IP Pool for Ethernet

2011-03-01 Thread Groebl, Laurence (Laurence)
client. However I'd like the RADIUS server to assign this IP address and send it within the Access-Accept in the Framed-IP-Address attribute (to avoid configuring the IPsec Gateway with the tunnel address). I saw that FreeRADIUS has several IP Pool modules which have the ability to assign

Re: IP Pool for Ethernet

2011-03-01 Thread Alan DeKok
Groebl, Laurence (Laurence) wrote: However I’d like the RADIUS server to assign this IP address and send it within the Access-Accept in the Framed-IP-Address attribute (to avoid configuring the IPsec Gateway with the tunnel address). Does the gateway *understand* what it means to have an

RE: IP Pool for Ethernet

2011-03-01 Thread Groebl, Laurence (Laurence)
=alcatel-lucent@lists.freeradius.org] On Behalf Of Alan DeKok Sent: Dienstag, 1. März 2011 10:00 To: FreeRadius users mailing list Subject: Re: IP Pool for Ethernet Groebl, Laurence (Laurence) wrote: However I'd like the RADIUS server to assign this IP address and send it within the Access-Accept

Re: IP Pool for Ethernet

2011-03-01 Thread Phil Mayers
On 01/03/11 10:39, Groebl, Laurence (Laurence) wrote: Hello Alan, Yes, according to the documentation of the Juniper Gateway, the gateway should be able to understand the Radius attribute 8 Framed-IP-Address in the Access-Accept message, but it seems that it also need the attribute 88

RE: IP Pool for Ethernet

2011-03-01 Thread Groebl, Laurence (Laurence)
[mailto:freeradius-users-bounces+laurence.groebl=alcatel-lucent@lists.freeradius.org] On Behalf Of Phil Mayers Sent: Dienstag, 1. März 2011 11:56 To: freeradius-users@lists.freeradius.org Subject: Re: IP Pool for Ethernet On 01/03/11 10:39, Groebl, Laurence (Laurence) wrote: Hello Alan, Yes

Re: IP Pool for Ethernet

2011-03-01 Thread Alan DeKok
Groebl, Laurence (Laurence) wrote: Hello Alan, Yes, according to the documentation of the Juniper Gateway, the gateway should be able to understand the Radius attribute 8 Framed-IP-Address in the Access-Accept message, but it seems that it also need the attribute 88 Framed-Pool. This

Re: Framed-IP-Address cant override NAS ip pool

2010-01-29 Thread EasyHorpak.com
Tevfik Ceydeliler wrote: Because still I don't know why but When I dont use pool, and I use onle framed-ip-address and mask, user can get Access-Accept but cant get IP address and mask. Agai I don't know why but radius can't send to user Framed-IP-Address and Netmask. I sniff the client

Framed-IP-Address cant override NAS ip pool

2010-01-28 Thread Tevfik Ceydeliler
Hi list, Still I try to assign statci Ip for my users. And still I can't achive. I try to use all ways . Now I try to assign particularIP to my users from pool. But it is not satisfied. I read some mail and modify suggested confiuration according to my tolopogy. Do I have to add some additional

Re: Framed-IP-Address cant override NAS ip pool

2010-01-28 Thread Bjørn Mork
Tevfik Ceydeliler tevfik.ceydeli...@astron.yasar.com.tr writes: ##Users conf: Tevfikceydeliler Proxy-To-Realm := SecOvid, Pool-Name := STATICPOOL Service-Type := Framed-User, Framed-Protocol == PPP, Framed-MTU = 576,

Framed-IP-Address cant override NAS ip pool

2010-01-28 Thread Tevfik Ceydeliler
Because still I don't know why but When I dont use pool, and I use onle framed-ip-address and mask, user can get Access-Accept but cant get IP address and mask. Agai I don't know why but radius can't send to user Framed-IP-Address and Netmask. I sniff the client side and I see that there is no

Cisco NAS and server side ip pool management

2009-02-13 Thread Sebastian Krieger
Hi, for many hours now I am trying to configure a Cisco router as a NAS to authenticate dialup users against freeradius and provide the ip address dynamically from a server based ip pool. The authentication part works fine and the ip address also gets selected from the pool and sent

Re: Cisco NAS and server side ip pool management

2009-02-13 Thread Thoralf Freitag
-standard key secret A local ip pool is not used, if your radius sends a FRAMED_IP-ADRESS. There is no difference if it is configured or not. Radius wins. -- Thoralf Freitag Manager Health Services System Administration Phone: +49 (0) 30 68905-4611 Cellular:+49 (0) 151 1631-4611 Fax:+49

ip pool

2008-11-26 Thread sugiarto tjahyono
Dear all, I have a few problem. i use ip pool and it's works fine if i define ip pool in mysql. 779084,test,password,=,test123 779085,test,Pool-Name,:=,main_pool1 779086,test,Called-Station-Id,=,hostpot1 The problem happened if i have 2 access point in the same area and IP the different

Re: ip pool

2008-11-26 Thread thoralf . freitag
: sugiarto tjahyono [EMAIL PROTECTED] To: freeradius-users@lists.freeradius.org Date: 26.11.08 10:30 Subject: ip pool Sent by: [EMAIL PROTECTED] Dear all, I have a few problem. i use ip pool and it's works fine if i define ip pool in mysql. 779084,test,password,=,test123 779085,test,Pool-Name

Re: Assign Ip-Pool based on NAS-Ip-Address

2008-05-29 Thread Alan DeKok
Giovanni Lovato wrote: I would like to assign IP addresses from pools based on which NAS the request comes from. Can I achieve this? Users are stored in LDAP and NAS on SQL. See the sqlippool module. Alan DeKok. - List info/subscribe/unsubscribe? See

Assign Ip-Pool based on NAS-Ip-Address

2008-05-29 Thread Giovanni Lovato
I would like to assign IP addresses from pools based on which NAS the request comes from. Can I achieve this? Users are stored in LDAP and NAS on SQL. smime.p7s Description: S/MIME Cryptographic Signature - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Assign Ip-Pool based on NAS-Ip-Address

2008-05-29 Thread Alan DeKok
Giovanni Lovato wrote: What key on sqippool table should I set to make FR choose a pool based on NAS-IP-Address? Read the sqlippool.conf file? This IS documented. The scenario is: 1. a NAS requires access for a user; 2. if FR doesn't find a Framed-IP-Address on user attributes, it

Re: Assign Ip-Pool based on NAS-Ip-Address

2008-05-29 Thread Giovanni Lovato
Alan DeKok wrote: Giovanni Lovato wrote: I would like to assign IP addresses from pools based on which NAS the request comes from. Can I achieve this? Users are stored in LDAP and NAS on SQL. See the sqlippool module. What key on sqippool table should I set to make FR choose a pool based

Re: Assign Ip-Pool based on NAS-Ip-Address

2008-05-29 Thread Ivan Kalik
Users file: DEFAULT NAS-IP-Address == a.b.c.d, Pool-Name := thatNASpool Ivan Kalik Kalik Informatika ISP Dana 29/5/2008, Giovanni Lovato [EMAIL PROTECTED] piše: Alan DeKok wrote: Giovanni Lovato wrote: I would like to assign IP addresses from pools based on which NAS the request comes

Re: Trouble SQL Based IP Pool

2008-05-08 Thread Alan DeKok
it. ## ## ippool main_pool { # range-start,range-stop: The start and end ip # addresses for the ip pool # range-start = 192.168.1.1 # range-stop = 192.168.3.254 # netmask: The network mask used

Re: Trouble SQL Based IP Pool

2008-05-07 Thread Leander S.
Ivan Kalik schrieb: From your previous post: PostgreSQL: CREATE TABLE radippool ( id BIGSERIAL PRIMARY KEY, pool_name text NOT NULL, FramedIPAddress INET,

Re: Trouble SQL Based IP Pool

2008-05-07 Thread Leander S.
: The start and end ip # addresses for the ip pool # range-start = 192.168.1.1 # range-stop = 192.168.3.254 # netmask: The network mask used for the ip's # netmask = 255.255.255.0 # cache-size: The gdbm cache

Re: Trouble SQL Based IP Pool

2008-05-07 Thread Ivan Kalik
^^ It's not ippool.sql - we're talking about the RADIPPOOL table - No I haven't changed this - go and check it by yourself:/freeradius-1.1.7/freeradius-1.1.7/doc/examples/postgresql And besides that I'm not using ippool.sql but instead of I'm using postgresqlippool.conf because I'm using

Re: Trouble SQL Based IP Pool

2008-05-06 Thread Ivan Kalik
-Routing = Broadcast-Listen, Framed-Filter-Id = std.ppp, Framed-MTU = 1492, Framed-Compression = Van-Jacobsen-TCP-IP, Pool-Name = mypool, ## ^^ WTF goes wrong here ??? ; )) 1. Pool-Name is a check not a reply item

Re: Trouble SQL Based IP Pool

2008-05-06 Thread Leander S.
= 255.255.255.255, Framed-Routing = Broadcast-Listen, Framed-Filter-Id = std.ppp, Framed-MTU = 1492, Framed-Compression = Van-Jacobsen-TCP-IP, Pool-Name = mypool, ## ^^ WTF goes wrong here ??? ; )) 1. Pool-Name is a check

Re: Trouble SQL Based IP Pool

2008-05-06 Thread Leander S.
This is my actual output for a user who has attribute: Pool-Name = mypool root ~ # radtest leander 123456 10.1.10.80:1812 2 schaefer Sending Access-Request of id 79 to 10.1.10.80 port 1812 User-Name = leander User-Password = 123456 NAS-IP-Address = 255.255.255.255

Re: Trouble SQL Based IP Pool

2008-05-06 Thread Ivan Kalik
I'm actually not using regular users conf file anymore because it's SQL based and Dialup Admin is handling my SQL DB tables - so the User-Password thing shouldn't be my problem I only pasted it here because the rest of the attributes look like that in my Dialup Admin. Hm, asking for help and

Re: Trouble SQL Based IP Pool

2008-05-06 Thread Ivan Kalik
From your previous post: PostgreSQL: CREATE TABLE radippool ( id BIGSERIAL PRIMARY KEY, pool_name text NOT NULL, FramedIPAddress INET, NASIPAddresstext

can't get SQL Based IP Pool running

2008-05-05 Thread Leander S.
Hi, I'm running *FreeRADIUS Version 1.1.7* on *FreeBSD 7.0* with *Postgresql-Server-8.3beta2*. I got everything working fine so far except *SQL Based IP Pool* -- /http://wiki.freeradius.org/Rlm_sqlippool/; -- ; ) I changed the config like the how to told me to - looks good so far until I

Re: can't get SQL Based IP Pool running

2008-05-05 Thread Leander S.
I'm sorry, this is my radippool table again ... I made an failure by pasting it ;) id bigint NOT NULLnextval('radippool_id_seq'::regclass) [PrimaryKey] pool_name text NOT NULL framedipaddress inet nasipaddress text NOT NULL calledstationid

Trouble SQL Based IP Pool

2008-05-05 Thread Leander S.
Can't get my SQL Based IP Pool running ; ( running FreeRADIUS Version 1.1.7 on FreeBSD 7.0 with Postgresql-Server-8.3beta2. I got everything working fine so far except SQL Based IP Pool -- /http://wiki.freeradius.org/Rlm_sqlippool/; -- ; ) PostgreSQL

RE: Different IP Pool per proxied realm

2008-02-12 Thread Tony Spencer
Everything seems to be working fine with the new upgraded version of Freeradius. I've also made progress in assigning from an IP pool for a realm. However it seems to be all or nothing, if the reply comes back with a Framed-IP-Address already set it gets ignored if I set: override = yes

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 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 tries

RE: Different IP Pool per proxied realm

2008-02-12 Thread Tony Spencer
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) { main_pool } Since it should only assign from the pool if the Framed-IP-Address we get back is 255.255.255.254

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 default

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 Tony Spencer
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 have to be yes or no? yes

RE: Different IP Pool per proxied realm

2008-02-12 Thread Tony Spencer
The only other place the main ip pool is mentioned is in the site-enabled file. Within post-auth. post-auth { main_pool sql Post-Auth-Type REJECT { attr_filter.access_reject sql } } I'll try and see if I can work it out by man

RE: Different IP Pool per proxied realm

2008-02-11 Thread Tony Spencer
appreciate it. Onto the different IP pool per realm... This still doesn't seem to work. The debug doesn't show the IP pool being loaded. Does this still need to be put into radiusd.conf or the sites-enabled file? Thanks Tony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

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
a different IP pool per realm. Here is the section that shows that radius is loading the IP pool: Module: Loaded IPPOOL ippool: session-db = /etc/raddb/db.ippool ippool: ip-index = /etc/raddb/db.ipindex ippool: range-start = 85.92.168.1 IP address [85.92.168.1] ippool: range-stop

Re: Different IP Pool per proxied realm

2008-02-11 Thread Alan DeKok
to the radiusd.log file I would appreciate it. File permissions? Also see the log{} configuration in radiusd.conf. Onto the different IP pool per realm... This still doesn't seem to work. The debug doesn't show the IP pool being loaded. Does this still need to be put into radiusd.conf or the sites

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

ip pool problem

2008-02-06 Thread Luis Galan
reject = return userlock = 4 invalid = 5 handled = 6 } } } post-auth { # Get an address from the IP Pool. poolJazDialup reply_log group

Re: ip pool problem

2008-02-06 Thread Ivan Kalik
Could it be a problem from the NAS params sent to radius? It could - if NAS-Port parameter is the same for all users. If user C logs out IP adresses will be released from the pool and B will be able to get A's IP address. Ivan Kalik Kalik Informatika ISP - List info/subscribe/unsubscribe? See

Re: ip pool problem

2008-02-06 Thread Luis Galan
thanks. I think that's the problem. Luis Ivan Kalik escribió: Could it be a problem from the NAS params sent to radius? It could - if NAS-Port parameter is the same for all users. If user C logs out IP adresses will be released from the pool and B will be able to get A's IP address. Ivan

Re: IP Pool defined, but radius does not hand out an IP address.

2008-01-25 Thread Alan DeKok
Andrew D Kirch wrote: You might try putting it at the top of radiusd.conf Done. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

IP Pool defined, but radius does not hand out an IP address.

2008-01-24 Thread Andrew D Kirch
When I connect a client to freeradius the client authenticates, gets an accept/accept, but does not get an IP address. I've tried it with the Group and Pool-Name directives in each client's block, and I've tried it with them in a DEFAULT by themselves. Neither has handed out an IP address.

Re: IP Pool defined, but radius does not hand out an IP address.

2008-01-24 Thread Kevin Bonner
On Thursday 24 January 2008 13:10:09 Alan DeKok wrote: And with all of the information you posted, you didn't include the most important, which is requested in the FAQ, README, INSTALL, man page, and daily on this list: radiusd -X. Is there some other place in the documentation where this

Re: IP Pool defined, but radius does not hand out an IP address.

2008-01-24 Thread Andrew D Kirch
Alan DeKok wrote: Andrew D Kirch wrote: When I connect a client to freeradius the client authenticates, gets an accept/accept, but does not get an IP address. I've tried it with the Group and Pool-Name directives in each client's block, and I've tried it with them in a DEFAULT by

Re: IP Pool defined, but radius does not hand out an IP address.

2008-01-24 Thread tnt
It's all in black and white: # for different users. The Pool-Name attribute is a *check* item not # a reply item. # # Example: # radiusd.conf: ippool students { [...] } # users file : DEFAULT Group == students, Pool-Name := students #

Re: IP Pool defined, but radius does not hand out an IP address.

2008-01-24 Thread Alan DeKok
Andrew D Kirch wrote: When I connect a client to freeradius the client authenticates, gets an accept/accept, but does not get an IP address. I've tried it with the Group and Pool-Name directives in each client's block, and I've tried it with them in a DEFAULT by themselves. Neither has

Re: ip assignment without ip pool

2007-12-12 Thread hadi golestani
PROTECTED] piše: Hello, I need to assign static ips to serveral users but not all of theme, and I feel it's a bad way to define an ip pool for each of theme. how to assign a specific ip address to a user? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list

Re: ip assignment without ip pool

2007-12-12 Thread tnt
PROTECTED] piše: Hello, I need to assign static ips to serveral users but not all of theme, and I feel it's a bad way to define an ip pool for each of theme. how to assign a specific ip address to a user? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list

ip assignment without ip pool

2007-12-11 Thread hadi golestani
Hello, I need to assign static ips to serveral users but not all of theme, and I feel it's a bad way to define an ip pool for each of theme. how to assign a specific ip address to a user? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: ip assignment without ip pool

2007-12-11 Thread tnt
Framed-IP-Address Just make sure that address is not in the pool. Ivan Kalik Kalik Informatika ISP Dana 11/12/2007, hadi golestani [EMAIL PROTECTED] piše: Hello, I need to assign static ips to serveral users but not all of theme, and I feel it's a bad way to define an ip pool for each of theme

Re: ip assignment without ip pool

2007-12-11 Thread hadi golestani
Just make sure that address is not in the pool. Ivan Kalik Kalik Informatika ISP Dana 11/12/2007, hadi golestani [EMAIL PROTECTED] piše: Hello, I need to assign static ips to serveral users but not all of theme, and I feel it's a bad way to define an ip pool for each of theme. how

Re: ip assignment without ip pool

2007-12-11 Thread tnt
/2007, hadi golestani [EMAIL PROTECTED] piše: Hello, I need to assign static ips to serveral users but not all of theme, and I feel it's a bad way to define an ip pool for each of theme. how to assign a specific ip address to a user? - List info/subscribe/unsubscribe? See http

IP Pool

2007-12-06 Thread Marcelus Trojahn
Hi folks, I have a PPPoE server which authenticates the user on freeradius... Right now, the PPPoE server is in charge of assigning the IPs to the users but I want to do that via radius because I'm adding another PPPoE server on the network and OSPF routing... Problem is, I had a look on

Re: IP Pool

2007-12-06 Thread tnt
How about multiple pools - one for each subnet. If I recall well, you add all the ippools to post-auth section of radiusd.conf and use Pool-Name := DEFAULT. That worked some years ago. Haven't tried it lately. Ivan Kalik Kalik Informatika ISP Dana 6/12/2007, Marcelus Trojahn [EMAIL PROTECTED]

Re: NAS-Port and IP pool

2007-10-29 Thread Peter Nixon
On Tue 16 Oct 2007, Dánial Olsen wrote: Hi, I'm hoping someone can assist me with my problem with assigning ip addresses with freeradius 1.1.6 on OpenBSD 4.1. I'm using freeradius to with an Ericsson CGSN and now I'm trying to assign ip addresses to my Mobile Stations. The problem is that

R: Ip pool lease migration

2007-10-24 Thread Francesco Cristofori
Is it a good idea to use rlm_ippool_tool to extract leases from radA and then inserting them in radB with rlm_ippool_tool -n ? Why? Because I thought radrelay would send only accounting records and not ip lease information. :-) If you need to copy information from one server to

R: Ip pool lease migration

2007-10-24 Thread Francesco Cristofori
I'm going to try it, thanks for the suggestion. Is it correct to set up two servers radA relaying to radB and radB relaying to radA ? I'd like to have an active/active radius server setup. Sorry, I didn't read the docs. :-) I have both servers using the same sql backend for accounting (not

Re: R: Ip pool lease migration

2007-10-24 Thread Alan DeKok
Francesco Cristofori wrote: I have both servers using the same sql backend for accounting (not sql_ippool at the moment), so I have a doubt: Then there's a lot less reason to run two servers. You still have one central point of failure: the SQL server. If you're insistent on running just

R: R: Ip pool lease migration

2007-10-24 Thread Francesco Cristofori
Then there's a lot less reason to run two servers. You still have one central point of failure: the SQL server. The sql server is actually a mysql master/master replication cluster with one virtual IP address I pointed the servers to. I think this solution avoids s.p.o.f., isn't it? If

Re: R: R: Ip pool lease migration

2007-10-24 Thread Alan DeKok
Francesco Cristofori wrote: The sql server is actually a mysql master/master replication cluster with one virtual IP address I pointed the servers to. I think this solution avoids s.p.o.f., isn't it? You didn't say that... H... But ip pools are managed through local files on each

R: R: R: Ip pool lease migration

2007-10-24 Thread Francesco Cristofori
You didn't say that... Sorry, I thought it wasn't so relevant. :-) Use sqlippool. It's the easiest way to get what you want. Ok, thanks for helping. Francesco. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

  1   2   3   >