Now If change the config as follow :
radiusd.conf --------------------
cisco-vsa-nas-hack = yes
ippool my_dial {
range-start = 202.xxx.xxx.30
range-stop = 202.xxx.xxx.59
netmask = 255.255.255.192
session-db = ${raddbdir}/db-MY-DIAL.ippool
ip-index = ${raddbdir}/db-MY-DIAL.ipindex
cache-size = 800
override = yes
}
accounting {
my_dial
}
post-auth {
my_dial
}
-----------------------------
huntgroups --------------------
my_dial NAS-IP-Address = 202.127.99.5
-----------------------------------
clients.conf -------------------------
client 202.xxx.xxx.5 {
secret = mydial
shortname = dial7200
nastype = cisco
Pool-Name := "my_dial"
}
-------------------------------------------
users ----------------------------------
dialme Auth-Type := Local, User-Password == "dialme"
Service-Type = Framed-User,
Framed-Protocol = PPP,
# Framed-IP-Address = 202.xxx.xxx.12,
# Framed-IP-Netmask = 255.255.255.192,
Framed-Routing = Broadcast-Listen,
Framed-MTU = 1500,
Framed-Compression = Van-Jacobsen-TCP-IP
DEFAULT Group = my_dial
Pool-Name := "my_dial",
-------------------------------------------------
Stil It does works either ? Can give all the config file for ip pooling to
work..
Thx
Joko P.
On Sun, Dec 28, 2003 at 12:56:50PM +0700, [EMAIL PROTECTED] wrote:
> 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",
>
> ------------------------------------------------------
> The result is my assigned-ip is always 202.xxx.xx.12 , not between
202.xxx.xx.30 - 202.xxx.xx.59.
As you tell it in the entry for mydial (Framed-IP-Address and
Framed-IP-Netmask).
> Can you help me solved this ?
If you don't give the user mydial a fixed IP via Framed-IP-Address and
Framed-IP-Netmask it should get one from the pool. Through the
DEFAULT entry looks not quite correct... take a look at the sample
radiusd.conf there are examples in the comments before the pool
definition.
Oliver.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html