Hi Zulgig,

You do not give much details and is difficult to give a more proper answer.
Nevertheless, yes, a login with more than x time usage or bandwidth can be sent to another VLAN with unlang IF you are sending the accounting to a database.

Migrate also to 2.2.5 or even better 3.x, 2.1.12 is very old and has known serious bugs.

Regards,
Rui Ribeiro

--
Rui Ribeiro
Senior Sysadm
ISCTE-IUL
https://www.linkedin.com/pub/rui-ribeiro/16/ab8/434



Message: 2
Date: Fri, 14 Nov 2014 11:44:35 +0100
From: Zulzig <zulzig@gmail.com>
To: freeradius-users <freeradius-users@lists.freeradius.org>
Subject: NAP with freeradius
Message-ID:
        <CAKSwai+j8V4y8sVLXicudoE6dAx_deE_o47-DnaMtM6X-hH6Mw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello everybody !

I installed freeradius-server-2.1.12 with Mysql like a network access point.

it works perfectly. I would like to improve my setup.

somebody can to say me, if it is possible to use a function that allow me
to add a condition based on the last authorization of the computer.
for an example, if the last authorization is superior at X days, the
computer will be on another vlan.

On the mysql server, the radusergroup of the user is modified.

Thank for your answer

Zulzig