Re: Two net-snmp machines - only one retrieves data from IBM AS/400

David Ingoldsby <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave,

You were absolutely right - it was iptables, running on the CentOS box. I 
disabled it and snmpget worked. 

Of course, now I have to learn about how to set up iptables properly, but 
that's no harm.

Thanks for the help. It was really bugging me.

David Ingoldsby

Office +353 1 602 2396
Mobile +353 87 274 5355



[email protected] wrote on 09/12/2006 23:02:52:

> On 08/12/06, David Ingoldsby <[email protected]> wrote:
> > There are two machines acting as SNMP managers:
> >
> > 1: RedHat Enterprise Linux: net-snmp 5.1.2 installed.
> > I run snmpget to 10.0.1.48:
> > [root@RHEL4~]# snmpget -v 1 10.0.1.48 -c public system.sysDescr.0
> > SNMPv2-MIB::sysDescr.0 = STRING: IBM OS/400 V5R3M0
> 
> >
> > 2: CentOS 4.4:  net-snmp 5.1.2 installed.
> > I run snmpget to 10.0.1.48:
> > snmpget -v 1 10.0.1.48 -c public system.sysDescr.0
> > Timeout: No Response from 10.0.1.48.
> 
> 
> > On rhe RHEL machine, to 10.0.1.48, there's an SNMP get-request, 
followed
> > immediately by a get-response.
> >
> > On the CentOS machine, there's an  SNMP get-request, followed 
immediately
> > by a get-response, followed immediately by an ICMP to the port the
> > get-response came from.
> 
> That definitely sounds like low-level network access control.
> (i.e. way below the level that Net-SNMP works at)
> 
> 
> 
> > Wireshark on both machines sees the responses relevant to that 
machine,
> > and neither machine is running a firewall.
> 
> Are you sure that the CentOS machine doesn't have 'iptables' installed?
> What do:
> 
>      service iptable status
>      chkconfig --list iptables
> 
> return on this box?
> 
> Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.