Vlan Assignement depending on Ip source adress

Benoit RAYNIER benoit.raynier at flex-o.fr
Wed Mar 9 13:01:36 UTC 2022


Hello,

I have configured a freeradius V3 with automatic VLAN assignement, all work fine.


I want to know how it is possible to assign a VLAN depending on the IP source Adress.

For Exemple :

If user A connect freeradius from 18.18.18.18 (public ip) ==> Assign VLAN 1
If user A connect freeradius from 22.22.22.22 (public ip) ==> Assign VLAN 3
If user A connect freeradius from 34.34.32.12 (public ip) ==> Assign VLAN 22


Thanks for your help.

Ben



More information about the Freeradius-Users mailing list