[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-users
Subject: Is Dynamic IP Address allocation possible in freeradius ?
From: "Harish Kumar" <hkumar () bplitl ! com>
Date: 2003-04-30 13:16:02
[Download RAW message or body]
Hi,
I am a newbie to freeradius. I have just about managed to install
freeradius and integrate it with mysql database for User Authentication. The
database configuration details are as below:
mysql> select * from radcheck;
+----+----------+----------------+----+---------------+
| id | UserName | Attribute | op | Value |
+----+----------+----------------+----+---------------+
| 1 | radius | Crypt-Password | == | /MM/KLyPphZ1U |
| 2 | Harish | Crypt-Password | == | /0GrlKWT8qNF. |
+----+----------+----------------+----+---------------+
2 rows in set (0.00 sec)
mysql> select * from radgroupcheck;
+----+-----------+-----------+----+-------+
| id | GroupName | Attribute | op | Value |
+----+-----------+-----------+----+-------+
| 3 | abc | Auth-Type | := | Local |
+----+-----------+-----------+----+-------+
1 row in set (0.00 sec)
mysql> select * from radgroupreply;
+----+-----------+-------------------+----+-----------+------+
| id | GroupName | Attribute | op | Value | prio |
+----+-----------+-------------------+----+-----------+------+
| 1 | abc | Framed-IP-Address | = | 10.0.3.1+ | 0 |
+----+-----------+-------------------+----+-----------+------+
1 row in set (0.00 sec)
mysql> select * from usergroup;
+----+----------+-----------+
| id | UserName | GroupName |
+----+----------+-----------+
| 1 | radius | abc |
| 2 | Harish | abc |
+----+----------+-----------+
2 rows in set (0.00 sec)
But each time an Authentication-Request is sent to the Radius Server, the
same Framed-IP-Address ie. 10.0.3.2 is being allocatted.
Could anybody help me out on this? Is there anything else missing in my
configuration to enable Dynamic IP Address allocation?
Thanks,
Harish
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.00.2919.6307" name=GENERATOR></HEAD>
<BODY>
<P><FONT face="Courier New" size=2><SPAN
class=766084912-30042003>Hi,</SPAN></FONT></P>
<P><FONT face="Courier New" size=2><SPAN
class=766084912-30042003> I am a newbie to freeradius. I have
just about managed to install freeradius and integrate it with mysql database
for User Authentication. The database configuration details are as
below:</SPAN></FONT></P>
<P><FONT face="Courier New" size=2><SPAN class=766084912-30042003>mysql>
select * from
radcheck;<BR>+----+----------+----------------+----+---------------+<BR>| id |
UserName | Attribute | op |
Value
|<BR>+----+----------+----------------+----+---------------+<BR>| 1 |
radius | Crypt-Password | == | /MM/KLyPphZ1U |<BR>| 2 |
Harish | Crypt-Password | == | /0GrlKWT8qNF.
|<BR>+----+----------+----------------+----+---------------+<BR>2 rows in set
(0.00 sec)</SPAN></FONT></P>
<P><FONT face="Courier New" size=2><SPAN class=766084912-30042003>mysql>
select * from radgroupcheck;<BR>+----+-----------+-----------+----+-------+<BR>|
id | GroupName | Attribute | op | Value
|<BR>+----+-----------+-----------+----+-------+<BR>| 3
| abc | Auth-Type | := | Local
|<BR>+----+-----------+-----------+----+-------+<BR>1 row in set (0.00
sec)</SPAN></FONT></P>
<P><FONT face="Courier New" size=2><SPAN class=766084912-30042003>mysql>
select * from
radgroupreply;<BR>+----+-----------+-------------------+----+-----------+------+<BR>|
id | GroupName | Attribute | op
| Value | prio
|<BR>+----+-----------+-------------------+----+-----------+------+<BR>| 1
| abc | Framed-IP-Address | = |
10.0.3.1+ | 0
|<BR>+----+-----------+-------------------+----+-----------+------+<BR>1 row in
set (0.00 sec)</SPAN></FONT></P>
<P><FONT face="Courier New" size=2><SPAN class=766084912-30042003>mysql>
select * from usergroup;<BR>+----+----------+-----------+<BR>| id | UserName |
GroupName |<BR>+----+----------+-----------+<BR>| 1 | radius
| abc |<BR>| 2 |
Harish | abc
|<BR>+----+----------+-----------+<BR>2 rows in set (0.00 sec)</SPAN></FONT></P>
<DIV><FONT face=Arial size=2><SPAN class=766084912-30042003>But each time an
Authentication-Request is sent to the Radius Server, the same Framed-IP-Address
ie. 10.0.3.2 is being allocatted.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=766084912-30042003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=766084912-30042003>Could anybody help
me out on this? Is there anything else missing in my configuration to enable
Dynamic IP Address allocation?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=766084912-30042003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=766084912-30042003>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=766084912-30042003>Harish</SPAN></FONT></DIV></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic