How to change request attribute based on NAS IP address
Mehdi Ravanbakhsh
babakco at gmail.com
Tue Apr 23 23:49:44 CEST 2013
Hi All
i use Cisco and mikrotik as Access server in my network and i need to
limit user access by MAC address.
in this case i can use Calling-Station-Id , it works for mikrotik :
AUTH Detail
Packet-Type = Access-Request
Service-Type = Framed-User
Framed-Protocol = PPP
NAS-Port = 11062419
NAS-Port-Type = Ethernet
User-Name = "7622240489"
Calling-Station-Id = "90:F6:52:D5:74:96"
Called-Station-Id = "EHO-L"
NAS-Port-Id = "902- ADSL-EMAM-HOSIEN"
NAS-Identifier = "2800gs-langha"
NAS-IP-Address = 10.185.3.5
SQL-User-Name = "7622240489"
But not work for Cisco :
Packet-Type = Access-Request
Cisco-AVPair = "client-mac-address=9094.e483.390b"
Framed-Protocol = PPP
User-Name = "5858222251"
NAS-Port-Type = Ethernet
NAS-Port = 13145502
NAS-Port-Id = "0/0/2/352"
Service-Type = Framed-User
NAS-IP-Address = 85.185.83.242
Acct-Session-Id = "00C8959E"
NAS-Identifier = "BOJNOORD_7204_1"
SQL-User-Name = "5858222251"
So how i can Set calling station ID to MAC addreess for cisco NAS ?
Best regards.
More information about the Freeradius-Users
mailing list