On Mon, 4 Apr 2005, eDoS wrote:
thank you kostas, but i have another problem if there is 1 network of public ip, ippool public { range-start = 223.xxx.xxx.xxx range-stop = 223.xxx.xxx.xxx netmask = 255.255.255.0 cache-size = 62 session-db = ${raddbdir}/db.ippublic ip-index = ${raddbdir}/db.ippublic_idx }
and i want to separate my public users and my private users, if i use DEFAULT value for Pool-Name it will be including public ip.
is there a way that just give pool1 and pool2 to my private users ?
You can also use the Post-Auth attribute. Use the public ippool module for public users and put pool1 and pool2 in a Post-Auth section available only to private users:
users (example!!):
#private DEFAULT Group == private, Pool-Name := DEFAULT, Post-Auth := private
#public DEFAULT Pool-Name := public
postauth { public Post-Auth private { pool1 pool2 } }
Hope you get the picture.
regards eDoS
----- Original Message ----- From: "Kostas Kalevras" <[EMAIL PROTECTED]> To: <freeradius-users@lists.freeradius.org> Sent: Monday, April 04, 2005 6:32 PM Subject: Re: Give 2 ip pools to the clients
any more ip.On Fri, 1 Apr 2005, eDoS wrote:
Hi,
i get alocation 2 network of ip, the range is : 192.168.2.1 - 192.168.2.14 192.168.5.1 - 192.168.5.14
my conf : ippool pool1 { range-start = 192.168.2.1 range-stop = 192.168.2.14 netmask = 255.255.255.0 cache-size = 14 session-db = ${raddbdir}/db.ippool1 ip-index = ${raddbdir}/db.ipindex1 }
ippool pool2 { range-start = 192.168.5.1 range-stop = 192.168.5.14 netmask = 255.255.255.0 cache-size = 14 session-db = ${raddbdir}/db.ippool2 ip-index = ${raddbdir}/db.ipindex2 }
i want to give all ip alocation to all of clients. i have use just 1 network of ip but sometimes my clients couldn't getis there any way to give 2 attribute pool-name (pool1 & pool2) ?
You can set Pool-Name to DEFAULT to match all ippool modules.
best regards,
eDoS
-- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf
- List info/subscribe/unsubscribe? Seehttp://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html