(RADIATOR) Simultaneous Use + CiscoVPDN (PPPOE)

Hugh Irvine hugh at open.com.au
Fri Jun 2 11:02:47 CDT 2006


Hello Michael -

Well then you will need to figure out what SNMP query will return the  
information required.

As mentioned, you can write a shell script to do whatever you need  
and call it from the configuration file.

regards

Hugh


On 1 Jun 2006, at 22:18, Michael Bellears wrote:

> Hi Hugh,
>
>>
>> I suggest you try the CiscoSessionMIB NasType, and if you
>> need to alter the query you should write a shell script to
>> run whatever query you need, then configure Radiator to call
>> the shell script.
>
> The Cisco NAS(1841+1801) unfortunately does not support session
> MIB.....so I don't believe I will be able to use CiscoSessionMIB?
>
>>
>> hope that helps
>>
>> regards
>>
>> Hugh
>>
>>
>>
>> On 1 Jun 2006, at 16:33, Michael Bellears wrote:
>>
>>> We are testing pppoe from Cisco NAS (1841), and are having
>> a problem
>>> with simultaneous use (Current session is just dropped, and the new
>>> session is allowed)
>>>
>>> I am seeing the following in the logs:
>>>
>>> Fri Jun  2 09:03:34 2006: NOTICE: CiscoVPDN: Checking
>>> NAS_IP:0:test_user at test.com Fri Jun  2 09:03:34 2006:
>> DEBUG: Running
>>> command `/usr/bin/snmpwalk -c "snmp_secret" NAS_IP
>>> .1.3.6.1.2.1.2.2.1.2 2>&1` Fri Jun  2 09:03:34 2006: INFO:  Session
>>> for test_user at test.com at NAS_IP:0 has gone away Fri Jun  2
>> 09:03:34
>>> 2006: DEBUG:  Deleting session for test_user at test.com, NAS_IP, 0
>>>
>>> The snmp query appears to not work from command line:
>>>
>>> # /usr/bin/snmpwalk -c "snmp_secret" NAS_IP .1.3.6.1.2.1.2.2.1.2 2
>>>
>>> snmpwalk: No securityName specified
>>>
>>> Adding -v 2c *appears* to get it functioning(If this is a
>> workaround,
>>> where would I add this?(CiscoVPDN.pm?), but it is not listing the
>>> current vpdn sessions:
>>>
>>> /usr/bin/snmpwalk -c "snmp_secret" NAS_IP
>> .1.3.6.1.2.1.2.2.1.2 2 -v 2c
>>>
>>> IF-MIB::ifDescr.1 = STRING: FastEthernet0
>>> IF-MIB::ifDescr.2 = STRING: BRI0
>>> IF-MIB::ifDescr.3 = STRING: BRI0:1
>>> IF-MIB::ifDescr.4 = STRING: BRI0:2
>>> IF-MIB::ifDescr.5 = STRING: FastEthernet1
>>> IF-MIB::ifDescr.6 = STRING: FastEthernet2
>>> IF-MIB::ifDescr.7 = STRING: FastEthernet3
>>> IF-MIB::ifDescr.8 = STRING: FastEthernet4
>>> IF-MIB::ifDescr.9 = STRING: FastEthernet5
>> IF-MIB::ifDescr.10 = STRING:
>>> FastEthernet6
>>> IF-MIB::ifDescr.11 = STRING: FastEthernet7
>>> IF-MIB::ifDescr.12 = STRING: FastEthernet8
>>> IF-MIB::ifDescr.13 = STRING: ATM0
>>> IF-MIB::ifDescr.14 = STRING: Null0
>>> IF-MIB::ifDescr.15 = STRING: ATM0-atm layer
>>> IF-MIB::ifDescr.16 = STRING: ATM0.0-atm subif
>>> IF-MIB::ifDescr.17 = STRING: ATM0-aal5 layer
>>> IF-MIB::ifDescr.18 = STRING: ATM0.0-aal5 layer
>>> IF-MIB::ifDescr.19 = STRING: ATM0-adsl IF-MIB::ifDescr.20 = STRING:
>>> Vlan1
>>> IF-MIB::ifDescr.21 = STRING: Loopback0
>>> IF-MIB::ifDescr.22 = STRING: ATM0.1-atm subif
>>> IF-MIB::ifDescr.23 = STRING: ATM0.1-aal5 layer
>>> IF-MIB::ifDescr.24 = STRING: Virtual-Template11
>>> IF-MIB::ifDescr.25 = STRING: Dialer0
>>> IF-MIB::ifDescr.26 = STRING: BRI0-Physical
>>> IF-MIB::ifDescr.27 = STRING: BRI0-Signaling
>>> IF-MIB::ifDescr.28 = STRING: BRI0:1-Bearer Channel
>>> IF-MIB::ifDescr.29 = STRING: BRI0:2-Bearer Channel
>> IF-MIB::ifDescr.30
>>> = STRING: Virtual-Access1
>>> IF-MIB::ifDescr.31 = STRING: Virtual-Access2
>>> IF-MIB::ifDescr.34 = STRING: Virtual-Access5
>>> IF-MIB::ifDescr.38 = STRING: Virtual-Access9
>>> IF-MIB::ifDescr.39 = STRING: Virtual-Access10
>>>
>>> Radiator 3.14/Radmin 1.10
>>>
>>> Any suggestions greatly appreciated.
>>>
>>>
>>> Regards,
>>>
>>> Michael
>>>
>>> --
>>> Archive at http://www.open.com.au/archives/radiator/
>>> Announcements on radiator-announce at open.com.au To
>> unsubscribe, email
>>> 'majordomo at open.com.au' with 'unsubscribe radiator' in the
>> body of the
>>> message.
>>
>>
>> NB:
>>
>> Have you read the reference manual ("doc/ref.html")?
>> Have you searched the mailing list archive
>> (www.open.com.au/archives/ radiator)?
>> Have you had a quick look on Google (www.google.com)?
>> Have you included a copy of your configuration file (no
>> secrets), together with a trace 4 debug showing what is happening?
>>
>> --
>> Radiator: the most portable, flexible and configurable RADIUS
>> server anywhere. Available on *NIX, *BSD, Windows, MacOS X.
>> -
>> Nets: internetwork inventory and management - graphical,
>> extensible, flexible with hardware, software, platform and
>> database independence.
>> -
>> CATool: Private Certificate Authority for Unix and Unix-like systems.
>>
>>
>>


NB:

Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/ 
radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.


--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list