how to add two ip pool

ranjan kumar ranjankumar077 at gmail.com
Thu Sep 13 14:25:51 CEST 2012


Hi All,

I am trying to add two default entries in users file for two ip pool.

can it is possible to add two entries of default in users file ? If yes
then how ?

Please help me its very critical.

I have configured two ippool which looks like:
===================================================================
In Users file:

DEFAULT Auth-Type := aag, Service-Type == Framed-User, Framed-Protocol ==
7, Pool-Name := myippool
        Service-Type == Framed-User,
        Framed-Protocol == 7,
        Fall-Through == no,
        Acct-Interim-Interval = 500

DEFAULT Auth-Type := aag, Service-Type == Framed-User, Framed-Protocol ==
7, Pool-Name := my_sec_ippool
        Service-Type == Framed-User,
        Framed-Protocol == 7,
        Acct-Interim-Interval = 500


In radiusd.conf

ippool myippool {
                 range-start = 192.168.2.129
                 range-stop = 192.168.182.254
                 netmask = 255.255.255.0
                 cache-size = 800
                 session-db = ${raddbdir}/db.ippool
                 ip-index = ${raddbdir}/db.ipindex
                 override = no
                 maximum-timeout = 0
                #key = "%{NAS-IP-Address} %{NAS-Port}"
}

ippool my_sec_ippool {
                 range-start = 192.168.1.1
                 range-stop = 192.168.182.254
                 netmask = 255.255.255.0
                 cache-size = 800
                 session-db = ${raddbdir}/db.ippool1
                 ip-index = ${raddbdir}/db.ipindex1
                 override = no
                 maximum-timeout = 0
                #key = "%{NAS-IP-Address} %{NAS-Port}"
}

====================================================================

When i am executing ./radiusd -X always getting IPs for only one ggsn.

Please help me its very critical.

Thanks in Advance.

Regards
Ranjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120913/26740968/attachment.html>


More information about the Freeradius-Users mailing list