Binding FreeRadius to the DHCP Server

Alan DeKok aland at
Tue Jul 25 12:22:48 CEST 2006

"Elie Hani" <ehani at> wrote:
> I have a patton RAS, when a dial up user connects to this server, he should
> get a faked IP and he will be redirected to a site where he should enter all
> the necessary information. 

  Sounds like a captive portal to me.

> So I have to configure a DHCP server and bind it to the FreeRadius in a
> manner that when the user dials in to the RAS for the first time, he will be
> using a common username and password (user: guest pass: guest for example),
> he will get a fake IP from a pool configured on the DHCP server.

  Write a script.  The server doesn't normally interact with DHCP.

> Once he enteres all the necessary informations, he will reconnect using the
> desired authentication entered previousely, and he will get a real IP from
> another pool also configured on the DHCP.

  What you're saying is a very convoluted way of:

  a) some users get IP's from pool X
  b) other users get IP's from pool Y

  Alan DeKOk.

More information about the Freeradius-Users mailing list