VLAN assignment based on NAS ID

Max Elzinga m.elzinga at felton.nl
Mon Mar 22 20:09:15 CET 2021


Hello,

I would like to assign VLANs based on NAS ID. We have different subnets with switches that do 802.1x. I have tried adding NAS-IP-Address to the Users file but without any success.

DEFAULT NAS-Port-Type = Ethernet
        Tunnel-Type = VLAN,
        Tunnel-Medium-Type = IEEE-802,
        Tunnel-Private-Group-Id = 207,
        NAS-IP-Address = 10.2.106.0/24

DEFAULT NAS-Port-Type = Ethernet
        Tunnel-Type = VLAN,
        Tunnel-Medium-Type = IEEE-802,
        Tunnel-Private-Group-Id = 200
        NAS-IP-Address = 10.2.16.0/24

How to accomplish this the right way?

Thanks.

Kind regards,

Max



More information about the Freeradius-Users mailing list