Title: IP Pool Question

Hello Radius Gurus,

I need your help. I have just downloaded and installed freeradius 7 with rlm_ippool. I have following situation:
We have defined an ip pool on Cisco 5300 from x.x.x.195 to x.x.x.254 with mask 255.255.255.192.
We want IP from x.x.x.195 to x.x.x.214 statically to the privilege dial-in users and IP from x.x.x.215 to x.x.x.254 dynamically to other normal users. For normal users duplicate users ID is allowed.

To achieve this I am doing following.

1. In radiusd.conf I have added following:
                usercollide = yes
                compat = cistron

                Ippool    {
                    Range-start = x.x.x.215
                        Range-stop = x.x.x.254
                        Netmask = 255.255.255.192
                        Cache-size = 800
                        Session-db = ${raddbdir}/db.ippool
                        Ip-index = ${raddbdir}/db.ip-index
                }

2. In users file I have added following:
 
        Privilegeuser           Auth-Type :=local, passwoed =="xxxxx"
                              Framed-IP-Address = x.x.x.195
                              Framed-IP-netmask = 255.255.255.255
                                Fall-through = yes

        Normaluser                      Auth-Type :=local, passwoed =="yyyyy"
                              Service-type = framed
                              Framed-protocol = PPP
                              Session-timeout =1800

 

The whole idea is that mormaluser should get IP starting from x.x.x.215 till x.x.x.254 only and after that which ever is unused in range from 215 - 254. In my existing RADIUS server for normal users I have configured Framed-IP-Address = x.x.x.215+ and user may get IP beyond our subnet.

Seeing the configuration, please confirm following:

 

1    Will this work OK
2.   The normaluser will get IP from range x.x.x.215 - x.x.x.254

Thanks

Rakesh Jha
Kuwait


Disclaimer:
Any non official business related views, opinions or other information presented in this electronic mail are solely those of the sender/author. Burgan Bank does not endorse or accept responsibility for these opinions, views or conclusion.

If you are not the addressee indicated in this electronic mail or responsible for delivering this electronic message to the intended recipient, you should delete this message and notify the sender immediately.

Burgan Bank


Reply via email to