NAS-Port always the same

Khapare Joshi khapare77 at gmail.com
Mon May 26 16:04:58 CEST 2014


Hi,

I am trying to use simualtaneous-use with radutmp file but cisco controller
is always sending the same port to all devices and logs NAS-Port=1 for all
devices in accounting detail file. Here is the typical log :

Mon May 26 13:54:10 2014
        User-Name = "anonymous at mwn.de"
        NAS-Port = 1
        NAS-IP-Address = 192.168.1.1
        Framed-IP-Address = 10.1.1.1
        NAS-Identifier = "mytestNAS"
        Airespace-Wlan-Id = 300
        Acct-Session-Id = "53833d09/b8:f6:b1:d1:cc:89/3584354"
        NAS-Port-Type = Wireless-802.11
        Cisco-AVPair = "audit-session-id=82d0a5f80004506053833d07"
        Acct-Authentic = RADIUS
        Event-Timestamp = "May 26 2014 13:54:10 GMT"
        Acct-Status-Type = Interim-Update
        Acct-Input-Octets = 274220
        Acct-Input-Gigawords = 0
        Acct-Output-Octets = 354276
        Acct-Output-Gigawords = 0
        Acct-Input-Packets = 2174
        Acct-Output-Packets = 1529
        Acct-Session-Time = 2681
        Acct-Delay-Time = 0
        Calling-Station-Id = "10.1.1.1"
        Called-Station-Id = "192.168.1.1"
        Cisco-AVPair = "nas-update=true"
        Acct-Unique-Session-Id = "df8c433d8fc2ee10"
        Realm = "DEFAULT"
        Timestamp = 1401112450
        Request-Authenticator = Verified


Can I not change that NAS-IP to actual wireless access point rather the
controller IP address ?

I tried changing /etc/raddb/acct_users file as :
NAS-Identifier == "mytestNAS", NAS-IP-Address :=
"%{Framed-IP-Address:-%{NAS-IP-Address}}"

but I still get the NAS-Port=1 for all the device.

There must be users whose cisco wireless access points controlled by the
controller - can someone point me ?

Khapare
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140526/0771b123/attachment.html>


More information about the Freeradius-Users mailing list