Re: configuring FreeRadius pools
On Fri 21 Jul 2006 14:27, Elie Hani wrote: Well I'm trying to configure 2 pools of IPs, where these pools should be created? can it be done on the radius and this radius will take care of giving the IPs to the users? or should I configure a dhcp and relay it to the radius? I tried to configure on the radius , in the config file file, in the ippools section, 2 pools of IPs, but it didn't work. It is perfectly possible to have more than one ippool on freeradius. It means you didnt configure something currently.. You need to re-read the documentation. -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc pgpMzx8inbUJt.pgp Description: PGP signature - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: configuring FreeRadius pools
Welli The problem is you still haven't exactly explained what you are trying to do with radius. Are you assigning the IP addresses from pools on radius or pools on the patton? Assuming that radius is assigning the pools, you simply need to create 2 of them. (Read the radiusd.conf the comments explain it) Then configure radius to return an address from the first pool by default, and the second pool when the patton sends whatever information it sends to say that the user is authed or valid or whatever. You need to figure that out as I dont have any experience with patton. RADIUS is not magic. It can only respond when asked a question, and it can only give an answer based on what it is asked. You therefore need to make sure that patton is asking 2 different questions, and configure your 2 different replies based on what question it is asking... radiusd -X (debug mode) is your friend in this instance.. Hope that Helps -Peter On Fri 21 Jul 2006 10:16, Elie Hani wrote: Thanks Alan, but this was not my problem. My problem is in configuring the IP pools, I need a way to configure the 2 pools of IPs which are one Fake and the other Real. I don't have a problem in redirection, it's in how to configure the 2 pools of IPs. Thanks Elie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok Sent: Thursday, July 20, 2006 5:16 PM To: FreeRadius users mailing list Subject: Re: configuring FreeRadius pools Elie Hani [EMAIL PROTECTED] wrote: I want to configure 2 pools, the first one is a fake IP pool,where the dial up user on the patton gets an IP from this pool, and then he will enter the necessary information, once all the informations entered are true, he will reconnect with his new username, then he will get an IP from the other pool wich contains real IPs. This is called a captive portal. Please use on of those, which solves most of these problems for you, including IP allocation. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc pgpXWLupMxlKQ.pgp Description: PGP signature - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: configuring FreeRadius pools
Well I'm trying to configure 2 pools of IPs, where these pools should be created? can it be done on the radius and this radius will take care of giving the IPs to the users? or should I configure a dhcp and relay it to the radius? I tried to configure on the radius , in the config file file, in the ippools section, 2 pools of IPs, but it didn't work. Thanks Elie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Nixon Sent: Friday, July 21, 2006 10:44 AM To: FreeRadius users mailing list Subject: Re: configuring FreeRadius pools Welli The problem is you still haven't exactly explained what you are trying to do with radius. Are you assigning the IP addresses from pools on radius or pools on the patton? Assuming that radius is assigning the pools, you simply need to create 2 of them. (Read the radiusd.conf the comments explain it) Then configure radius to return an address from the first pool by default, and the second pool when the patton sends whatever information it sends to say that the user is authed or valid or whatever. You need to figure that out as I dont have any experience with patton. RADIUS is not magic. It can only respond when asked a question, and it can only give an answer based on what it is asked. You therefore need to make sure that patton is asking 2 different questions, and configure your 2 different replies based on what question it is asking... radiusd -X (debug mode) is your friend in this instance.. Hope that Helps -Peter On Fri 21 Jul 2006 10:16, Elie Hani wrote: Thanks Alan, but this was not my problem. My problem is in configuring the IP pools, I need a way to configure the 2 pools of IPs which are one Fake and the other Real. I don't have a problem in redirection, it's in how to configure the 2 pools of IPs. Thanks Elie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok Sent: Thursday, July 20, 2006 5:16 PM To: FreeRadius users mailing list Subject: Re: configuring FreeRadius pools Elie Hani [EMAIL PROTECTED] wrote: I want to configure 2 pools, the first one is a fake IP pool,where the dial up user on the patton gets an IP from this pool, and then he will enter the necessary information, once all the informations entered are true, he will reconnect with his new username, then he will get an IP from the other pool wich contains real IPs. This is called a captive portal. Please use on of those, which solves most of these problems for you, including IP allocation. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: configuring FreeRadius pools
Elie Hani [EMAIL PROTECTED] wrote: Well I'm trying to configure 2 pools of IPs, where these pools should be created? In the server configuration? Using the ippool module? can it be done on the radius and this radius will take care of giving the IPs to the users? or should I configure a dhcp and relay it to the radius? There are no DHCP to RADIUS gateways. I tried to configure on the radius , in the config file file, in the ippools section, 2 pools of IPs, but it didn't work. That's a pretty pointless comment. See the FAQ. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: configuring FreeRadius pools
Hi; I have configured a RAS Patton 2960, it's connected to the FreeRadius Server. The authentication and everything is working great with postgre database. I've been reading in the radiusd.conf file, there's something in it called ippools. I tried to configure 2 different pools, but when I test it, I get the pool configured on the Ras only, this means it's not working. My problem consists in the following: I want to configure 2 pools, the first one is a fake IP pool,where the dial up user on the patton gets an IP from this pool, and then he will enter the necessary information, once all the informations entered are true, he will reconnect with his new username, then he will get an IP from the other pool wich contains real IPs. I don't have a problem in configuring the redirection page or in writing any script, but in configuring the 2 pools of IPs, can it be done on the Radius directly, or should I configure a DHCP server. If so, how can I relay the Radius to the DHCP? Thanks Elie Hani -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Nixon Sent: Wednesday, July 19, 2006 6:18 PM To: FreeRadius users mailing list Subject: Re: configuring FreeRadius pools On Tue 18 Jul 2006 10:24, Elie Hani wrote: Hi I a using FreeRadius with Postgre, I need to know the way to configure a double pool of addresses so the dial up user, while connecting, gets a fake IP Address, then when authenticated, he will redial and gets the real ip address. My problem consists in configuring the pools only, where ae these pools configured in the freeradius? Without more info about what and where you are trying to a) dial into b) authenticate we can't really help you... -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: configuring FreeRadius pools
On Tue 18 Jul 2006 10:24, Elie Hani wrote: Hi I a using FreeRadius with Postgre, I need to know the way to configure a double pool of addresses so the dial up user, while connecting, gets a fake IP Address, then when authenticated, he will redial and gets the real ip address. My problem consists in configuring the pools only, where ae these pools configured in the freeradius? Without more info about what and where you are trying to a) dial into b) authenticate we can't really help you... -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc pgpEz2BprIQKj.pgp Description: PGP signature - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html