Dave and everyone, I caught most of them , but to add ipv6 support to
already existing IPV4 snmp I did some changes.

I enabled ipv6 in net-snmp on Agent.Then

On the Agent side, I edited 2 places
1)snmpd.local.conf (I edited agentaddress udp:161   to
 agentaddress udp:161,udp6:161 )
Is this editing needed?  var/log shows this file is used while starting
snmpd.
(snmpd.conf says STOP and does not show anything to be edited)

2) shell script which invokes my snmpd. I invoke it as snmpd
udp:161,udp6:161 instead of snmpd udp:161

On the NMS side I edited the snmpd.conf (should i add agentaddress here?).

But when I do only for IPV4, snmp works fine. But when I put both or only
ipv6, then both ipv4 and ipv6 are not working in snmp.
It says error opening endpoint udp:161 (but when there is no udp6:161 given,
then this doesnot error)

Any cues? Is there anyother place i need to change for adding new protocol
or port number? Or how about the shell script and snmpd.local.conf file.
Should I look which overwrites which file.

Thnks
Karthika.





On Sat, Aug 22, 2009 at 1:31 PM, Dave Shield <[email protected]>wrote:

> 2009/8/20 Karthika Arunkumar <[email protected]>:
> > Here type 'a' is of type IPaddress. once the agent will start to support
> > ipv6, I will try to set ipv6 and find if type  'a' supports that.
>
> The agent *does* support IPv6.
> But no, type 'a' is not used.
>
> The use of an explicit type for IP addresses was a design mistake in the
> original specification of SNMP.  It has since been superceded by the use
> of Textual Conventions, based on an underlying (binary) string type.
> So if you are using low-level commands (like snmpset), then you'd typically
> use type 'x' instead.
>
>
>
> > One other main thing is I have an agent where snmp is implemented. How do
> I
> > find how the MIB data are represented - table or file.
>
> That question doesn't make sense.
> Management information will be structured as a combination of tables
> and individual (scalar) objects.  The MIB files contain a specification of
> how this information is organised, and what it means.
>
>
> >                                       where might the data
> > retrieving method be located - agent C file or where?
>
> It depends on the detail of the agent implementation
> and what information you are talking about.
>
> To put this into context, how would you expect to
> answer the question  "where does food come from"?
> It's too vague a question to be answered sensibly.
>
>
> >                    How are the dynamic
> > values of my private mib variables retrieved when I use an snmpget from a
> > manager?
>
> There will be some code in the agent, that knows how to retrieve the
> information for these particular variables.   It's up to the MIB
> implementor
> to provide this code.
>
> Dave
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to