RE: Rebuilding Net-SNMP 5.4 with IPv6
"Kleffman, Justin (Mission Systems)" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
As you are aware I've been trying to build with IPv6 support and get a simple snmpwalk to succesfully complete. It looked like Alex got this to work, but I have not been able to. What I've done is download the V5-4 Patches (net-snmp-svn-V5-4-patches_20070619_0308.tar.gz) which I believe had all the fixes. Instead of going directly for IPv6 support, this time I just built with my usual build procedures including OpenSSL support. It turns out I get the same problem without even IPv6 support turned on. When I simply try to run an snmpwalk I get this: snmpwalk -v 2c -c public 10.1.1.1 ifoperstatus Timeout: No Response from 10.1.1.1 The same command run with my build of the 5.4 release works fine (ifOperStatus is for a Cisco switch). Is there anything different with the V5-4 Patches that I need to know about? If I can get that to build correctly I can move on to test IPv6 support. Thanks, Justin -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Kleffman, Justin (Mission Systems) Sent: Thursday, June 14, 2007 3:54 PM To: Alex Burger; Dave Shield Cc: [email protected] Subject: RE: Rebuilding Net-SNMP 5.4 with IPv6 Very sorry, I didn't see this message fly by. Alex, You have IPv6 built & working with an snmpwalk using V5-4-patches? This is great news, and I'll go back and retest early next week. I assume if I download V5-4-patches from SVN that those projects include all of the source code for the full build? I'll update when I see if I can get it working. I'm not sure if I have an IPv6 machine to test on but I just want to be able to build with IPv6 support turned on and have my IPv4 SNMP app still work. Only then can I move on to test actual IPv6 communication. - Justin -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Alex Burger Sent: Wednesday, June 06, 2007 6:07 PM To: Dave Shield Cc: Kleffman, Justin (Mission Systems); [email protected] Subject: Re: Rebuilding Net-SNMP 5.4 with IPv6 Dave Shield wrote: > On 26/05/07, Alex Burger <[email protected]> wrote: >> I have not been able to get IPv6 to actually work though. I start >> snmpd >> with: >> >> snmpd udpv6:161 >> >> and it starts fine. I do an snmpwalk with: >> >> snmpwalk -v 1 -c public udpv6:[::1] system >> >> and I get nothing back. > > What access control settings are you using? I had rocommunity6 public defined in snmpd.conf. The changes Magnus made (16455) fixed the problem. I can now do a snmpwalk using the commands above. I tested this with V5-4-patches. Justin, have you tried with the latest code in V5-4-patches? Dave, I had to put an #ifndef WIN32 around the feature code 1041888 in read_config.c: if (!S_ISDIR(statbuf.st_mode)) { . . } Windows doesn't have S_ISDIR. We need a proper fix, but that allowed me to compile to test IPv6. Alex ------------------------------------------------------------------------ - 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-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users ------------------------------------------------------------------------ - 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-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users ------------------------------------------------------------------------- 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-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users