two or more ippool

Roberto Gonzalez Azevedo rgonzalez at censanet.com.br
Fri Oct 6 16:22:14 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm having some trouble with ippool.
I have some ip pools who need to be distributed
for my clients.

There is a example, my radiusd.conf:
...
ippool p0 {
  range-start = xx.xx.xx.1
  range-stop = xx.xx.xx.20
  netmask = 255.255.255.0

  cache-size = 32
  session-db = ${raddbdir}/ippool/db.ippool.p0
  ip-index = ${raddbdir}/ippool/db.ipindex.p0

  override = yes
  maximum-timeout = 0
}

ippool p1 {
  range-start = xx.xx.xx.21
  range-stop = xx.xx.xx.40
  netmask = 255.255.255.0

  cache-size = 32
  session-db = ${raddbdir}/ippool/db.ippool.p1
  ip-index = ${raddbdir}/ippool/db.ipindex.p1

  override = yes
  maximum-timeout = 0
}
...

In accounting:
accounting {
	...
	group mypools {
		p0
		p1
	}
	...
}

In post-auth:
post-auth {
	...
	group mypools {
		p0
		p1
	}
	...
}


In (mysql) radgroupcheck :

+-----+-------------------+------------------+----+-------------+------+
| id  | GroupName         | Attribute        | op | Value       | prio |
+-----+-------------------+------------------+----+-------------+------+
|  30 | mygroup           | Pool-Name        | := | p0          |    1 |

|  31 | mygroup           | Pool-Name        | := | p1          |    1 |

...


It's working, but my clients only catch IP from the first pool (p0).
They never catch from others pools (p1, p2 ...).

Somebody already had a problem like this?

Thanks !!!
- --
- ----------------------------
Roberto Gonzalez Azevedo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFJmaWF+EMwkXLsEwRAt+jAJ45YW7n1JkYxje54bNCtsRs5rmwXgCfUnf/
NFDvR7t4usmdljxm/xB26XQ=
=xMzx
-----END PGP SIGNATURE-----



More information about the Freeradius-Users mailing list