[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-1707873 ] Not full ip list is returned,
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2007-05-15 15:32:53
Message-ID: E1Hnz1B-0003js-He () sc8-sf-web22 ! sourceforge ! net
[Download RAW message or body]

Bugs item #1707873, was opened at 2007-04-26 09:33
Message generated for change (Comment added) made by tanders
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1707873&group_id=12694

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: feature request
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: denyall-support (denyall-support)
Assigned to: Nobody/Anonymous (nobody)
Summary: Not full ip list is returned, on solaris 10x86  on solaris9 

Initial Comment:
I have a solaris10,SunOS 5.10 Generic_118855-33 i86pc i386 i86pc, and a lot of \
virtual interfaces:

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.1.1.100 netmask ffffff00 broadcast 10.1.1.255
        ether 0:9:3d:12:4d:92
bge0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.2.2.1 netmask ffffff00 broadcast 10.2.2.255
bge0:2 , bge0:3 , bge0:4 , ..., bge0:150 

My snmpd is working, I use net-snmp 5.4 or either 5.09.
When I execute snmpwalk, fom another machine and try to retrieve all ip, I only have \
some and not the full ip list.

The commande executed is:
[root@centosnfast ~]# snmpwalk -c public -v2c 10.1.1.100 | grep ipAdEntNetMask

The result is:
IP-MIB::ipAdEntNetMask.10.1.1.100 = IpAddress: 255.255.255.0
IP-MIB::ipAdEntNetMask.10.2.2.1 = IpAddress: 255.255.255.0
IP-MIB::ipAdEntNetMask.10.2.2.139 = IpAddress: 255.0.0.0
IP-MIB::ipAdEntNetMask.10.2.2.140 = IpAddress: 255.0.0.0
IP-MIB::ipAdEntNetMask.10.2.2.141 = IpAddress: 255.0.0.0
IP-MIB::ipAdEntNetMask.10.2.2.142 = IpAddress: 255.0.0.0
IP-MIB::ipAdEntNetMask.10.2.2.143 = IpAddress: 255.0.0.0
IP-MIB::ipAdEntNetMask.10.2.2.144 = IpAddress: 255.0.0.0
IP-MIB::ipAdEntNetMask.10.2.2.145 = IpAddress: 255.0.0.0
IP-MIB::ipAdEntNetMask.10.2.2.146 = IpAddress: 255.0.0.0
IP-MIB::ipAdEntNetMask.10.2.2.147 = IpAddress: 255.0.0.0
IP-MIB::ipAdEntNetMask.10.2.2.148 = IpAddress: 255.0.0.0
IP-MIB::ipAdEntNetMask.10.2.2.149 = IpAddress: 255.0.0.0
IP-MIB::ipAdEntNetMask.10.2.2.150 = IpAddress: 255.0.0.0


----------------------------------------------------------------------

> Comment By: Thomas Anders (tanders)
Date: 2007-05-15 17:32

Message:
Logged In: YES 
user_id=848638
Originator: NO

Is this still the 5.4.x SVN snapshot? It sounds like you're having "tar"
issues. Please try again from scratch by extracting the tar file with GNU
tar.

----------------------------------------------------------------------

Comment By: denyall-support (denyall-support)
Date: 2007-05-15 09:57

Message:
Logged In: YES 
user_id=1778941
Originator: YES

Well compilation succed when I used "./configure
--with-out-mib-modules="snmp-notification-mib/snmpNotifyFilterTable"",
although if I execute make the following error is displayed:

*** Error code 1
make: Fatal error: Command failed for target `libnetsnmp.la'
Current working directory /tmp/net-snmp-svn-V5-4-patches/snmplib
*** Error code 1
The following command caused the error:
if test "snmplib  agent apps man local mibs" != ""; then \
        it="snmplib  agent apps man local mibs" ; \
        for i in $it ; do \
                echo "making all in `pwd`/$i"; \
                ( cd $i ; make ) ; \
                if test $? != 0 ; then \
                        exit 1 ; \
                fi  \
        done \
fi
make: Fatal error: Command failed for target `subdirs'


Any idea about this??
Thanks

----------------------------------------------------------------------

Comment By: denyall-support (denyall-support)
Date: 2007-05-15 09:20

Message:
Logged In: YES 
user_id=1778941
Originator: YES

Thanks,
I resolved the compilation problem by installing a new solaris machine
(with all package needed), now things are better but not yet resolved, the
error I had is:

configure: error: mib module "snmp-notification-mib/snmpNotifyFilterTable"
requires module
"snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable" but
snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable.h or
snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable.c could
not be found in ./agent/mibgroup

Must I install the net-snmp package before compiling, or do I need some
options for the configure command??

And please another question: How can appply patch with the PAT or PATCH
extension?

Regards,


----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2007-05-14 22:03

Message:
Logged In: YES 
user_id=848638
Originator: NO

Please have a look at config.log for the exact error. It's unlikely this
has anything to do with net-snmp itself. If you can't figure out what's
wrong, attach the (possibly gzip'ed) config.log here.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2007-05-14 15:17

Message:
Logged In: NO 

Well,
When I try to compile the patc on solaris 10 I've always this error
message:" C compiler canot create executables"!! Note that I used configure
with the option "--with-ar=AR"..

Any reason for this behavior?

Is there any binary file for the packege?
Thank you

----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2007-05-10 16:41

Message:
Logged In: YES 
user_id=848638
Originator: NO

Build a 5.4.x source snapshot from
http://www.net-snmp.org/nightly/tarballs/ , e.g.
http://www.net-snmp.org/nightly/tarballs/net-snmp-svn-V5-4-patches_20070510_0308.tar.gz
 (as of today).

----------------------------------------------------------------------

Comment By: denyall-support (denyall-support)
Date: 2007-05-10 16:36

Message:
Logged In: YES 
user_id=1778941
Originator: YES

I can't find the "5.4.x SVN branch"!! Could you help me??
I'm not yet familiar with the site.
And must I complie or some thing like that??

----------------------------------------------------------------------

Comment By: Thomas Anders (tanders)
Date: 2007-04-27 00:00

Message:
Logged In: YES 
user_id=848638
Originator: NO

Can you try with the 5.4.x SVN branch and report back, please? There have
been interface-related fixes for Solaris after 5.4.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1707873&group_id=12694

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic