I've problems on configuring freeradius to be dynamically assign ip address using pool-name,
 
Here's my recent conf. files :
 
radiusd.conf ----------------------------
 
        ippool my_dial {
                range-start = 202.xx.xx.20
                range-stop = 202.xx.xx.50
                netmask = 255.255.255.128
                session-db = ${raddbdir}/db-my_dial.ippool
                ip-index = ${raddbdir}/db-my_dial.ipindex
                cache-size = 800
                override = yes
        }
---------------------------------------------------
 
users file -----------------------------------------
 
mydial Auth-Type := Local, User-Password == "dial"
         Service-Type = Framed-User,
         Framed-Protocol = PPP,
         Framed-IP-Address = 202.xxx.xx.12,
         Framed-IP-Netmask = 255.255.255.192,
         Framed-Routing = Broadcast-Listen,
         Framed-MTU = 1500,
         Framed-Compression = Van-Jacobsen-TCP-IP
 
DEFAULT Group = radius
        Pool-Name := "my_dial",
 
------------------------------------------------------
etc\group file ------------------------------------
 
radius:x:507:mydial
--------------------------------------------------------
 
The result is my assigned-ip is always 202.xxx.xx.12 , not between 202.xxx.xx.30 - 202.xxx.xx.59.
 
I'm current using freeradius 0.9.1, mysql-2.23 and cisco2600 on linux redhat 7.3.
 
Can you help me solved this ?
 
Thx
 
Joko P.

Reply via email to