Huntgroups with NAS-Port-Id or NAS-Port
Alan DeKok
aland at deployingradius.com
Fri Oct 18 15:00:56 CEST 2019
On Oct 18, 2019, at 8:25 AM, Jan Hugo Prins <jhp at jhprins.org> wrote:
> As you can see:
> the NAS-Port-Id looks like a Cisco port number with blade/port.
> the NAS-Port looks like the number of the port in the stack.
That's common.
> When I try to put NAS-Port in the huntgroup name I can't seem to define
> a range,
Ranges aren't supported in v3.
> and if I use the NAS-Port-Id and put the number values of
> NAS-Port in it as a range it is not recognized.
What does that mean?
> If I put the value "3/1"
> in the huntgroup definition it seems to work, but then I have to create
> 192 huntgroup lines.
>
> What is the correct solution to fix this?
Don't use huntgroups. Use "unlang"
if (NAS-Port > 15 && NAS-Port < 32 && NAS-Port-Id == "3/1") {
...
}
Alan DeKok.
More information about the Freeradius-Users
mailing list