Hi !

On Monday 02 April 2001 11:10 am, Jes?s M D?az wrote:
> 3Com HiperARC can send NasPort in two ways. first, 'density based',
> the nasport sent to Radius is '(slot - 1) * REPORTED_PORT_DENSITY +
> mod', where 'slot:X/mod:Y' is the modem which the user is connected
> to.
>
> So, if a user is connected against the modem 'slot:3/mod:5', the
> NASPORT sent to Radius will be 65 ((3-1)*30+5). By default,
> REPORTED_PORT_DENSITY is set to 256.
> I hope this can be helpful for you.

Perhaps, but it didn't help me. I had to recompute $nas_port=$nas_port+1256; 
in my Nas.pm module for USTTotalControl in order things to work. I don't know 
why, I don't understand how, but it works for me (I've posted a message on 
this mailing list last year).
For example, I have a connection on slot13/mod29 named "xxx". According to 
the formula below Radiator asks for $nas_port=(13-1)*256+29=3101. Asking a 
MIB .iso.org.dod.internet.private.enterprises.429.4.10.1.1.18.3101 it gives a 
result "Error in packet. Reason: (noSuchName) There is no such variable name 
in this MIB." But asking for $nas_port=3101+1256=4357 gives the result of 
"xxx" username. I've found this experimentally, looking at multiple errors of 
"Error in packet" and analysing, what NAS SNMP can give me and what Radiator 
asks for. The difference between these values for all slots and modems in my 
case appeared to be a constant value of 1256.

> On Sun, 1 Apr 2001 22:20:42 +1000, Brett Murphy wrote:
> >Hi All,
> >when I snmpget my 3COM HiperARC's to check for multiple logins, the port
> > numebrs are substantially different to that being reported to Radiator by
> > the NAS in my radius accounting table.
> >
> >I have found something in the archives regarding
> >set pb REPORTED_PORT_DENSITY 30
> >but this does not solve my problem.
> >Thanks in advance!
> >Brett.
> >
> >http://www.alphalink.com.au/
> >
> >===
> >Archive at http://www.starport.net/~radiator/
> >Announcements on [EMAIL PROTECTED]
> >To unsubscribe, email '[EMAIL PROTECTED]' with
> >'unsubscribe radiator' in the body of the message.
>
> Jesus M Diaz <[EMAIL PROTECTED]>
>
> Telia Iberia, S.A.
> Planificaci?n y Dise?o de Red
> Tfno: +34 91 623 2909
> Fax: +34 91 623 2911
>
>
>
> ===
> Archive at http://www.starport.net/~radiator/
> Announcements on [EMAIL PROTECTED]
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.

-- 
With regards,
Alexey A. Shavaldin                              [EMAIL PROTECTED]
--------------------
System Administrator
of Kraft-S, JSC

===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to