Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to figure out how to assign IP addresses from an ippool to mobile units. Ideally, I would like a unit to receive the same IP at each request. There is no data source to use to populate static entries for each unit, so I would prefer each unit to get an IP assigned from a pool first time it connects and then keep that address.

Currently, I have the following pool:

ippool dapool {
    range-start = X.X.0.5
    range-stop = X.X.0.254
    netmask =
    # should have room for all IPs:
    cache-size = 260
    session-db = ${db_dir}/db.ippool
    ip-index = ${db_dir}/db.ipindex
    override = yes
    maximum-timeout = 0
    key = "%{Calling-Station-Id}"

I thought that choosing a key that is unique for the requesting unit would do the trick, but apparently not.

1) Is it possible to achieve what I want?

2) Is there any good documentation that I should have read instead of pestering serverfault? I can't seem to find much useful documentation on FreeRadius beyond what is listed in the config files.

share|improve this question
up vote 0 down vote accepted

I failed to find an answer to this problem and in the end accepted random the semi-random IP assignment that above config resulted in.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.