[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-users
Subject: Re: sqlippool, same username, give different pool IP addresses
From: Alan DeKok <aland () deployingradius ! com>
Date: 2021-02-26 13:35:19
Message-ID: 3FAD174E-D683-46FB-B429-6794EB6C1244 () deployingradius ! com
[Download RAW message or body]
On Feb 25, 2021, at 10:32 AM, Alberio Mirko via Freeradius-Users \
<freeradius-users@lists.freeradius.org> wrote:
> I am using a freeradius instance for assigning PPPoE public ip addresses to our \
> customers.
> Also I created a different ip pool for service purpose, we have a service PPPoE \
> single username for the management of the routers and it is always the same,
> the goal is that when the router is connected to our network it gets a private \
> management IP so we can access and configure it. The management IP should be took \
> from the aforemented pool, dynamically, and freed when the router is configured.
OK, that should be straightforward.
> So for example pool is:
>
> 172.16.0.1
> 172.16.0.2
> 172.16.0.3
> 172.16.0.4
>
> routerA authenticates with PPPoE service account "serviceuser@xyz", get ip \
> 172.16.0.1
> routerB authenticates with PPPoE service account "serviceuser@xyz", get ip \
> 172.16.0.2
How do you tell the routers apart? Source IP? Packet contents?
Hint: look at the debug output.
> Could this can be done using freeradius and its modules?
Yes.
> At the moment using sqlippool I can only get the same user to get always the same \
> ip, example:
> routerA authenticates with PPPoE service account "serviceuser@xyz", get ip \
> 172.16.0.1
> routerB authenticates with PPPoE service account "serviceuser@xyz", get ip \
> 172.16.0.1
The debug output will show you what the server is doing, and why.
> I attach the debugfile as intended.
Which is truncated, and doesn't show the server doing anything.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic