Re: snmpwalk not working

Shikhar Sachan <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
whoops sorry for the personal mail...it was by accident and thank you
for the comments
Please have a note of the following

iptables -L

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

the packets are going out using the -d command, however no reply from agent
(My server is 172.16.24.108 and agent is 172.16.24.109)

Also note
netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 localhost:ipp           *:*                     LISTEN
tcp        0      0 wsn-desktop-2.loc:40882 sangai.iitg.ernet.:3128 ESTABLISHED
tcp        0      0 wsn-desktop-2.loc:57543 172.16.25.1:netbios-ssn ESTABLISHED
tcp        0      0 wsn-desktop-2.loc:40883 sangai.iitg.ernet.:3128 ESTABLISHED
tcp      776      0 wsn-desktop-2.loc:58633 wsn-desktop:netbios-ssn ESTABLISHED
tcp        0      0 wsn-desktop-2.loc:55857 172.16.25.4:netbios-ssn ESTABLISHED
tcp        0      0 wsn-desktop-2.loc:55131 sangai.iitg.ernet.:3128 ESTABLISHED
tcp      776      0 wsn-desktop-2.loc:41148 wsn-deskto:microsoft-ds ESTABLISHED
tcp6       0      0 [::]:5900               [::]:*                  LISTEN
udp        0      0 localhost:snmp          *:*
udp        0      0 *:40125                 *:*
udp        0      0 *:mdns                  *:*
udp6       0      0 [::]:xdmcp              [::]:*

<does that mean the snmp is listening on 161>

sudo tcpdump -vvv port 161

tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes

0 packets captured
3 packets received by filter
0 packets dropped by kernel


<am I right in saying that actually packets are coming but are being
filtered. If so then why, how, and what next>

eagerly waiting for your reply and getting things started

Shikhar
Bachelor Student



On Wed, Jan 21, 2009 at 2:48 PM, Dave Shield <[email protected]> wrote:
>    [ First - *please* don't mail me privately, without copying
>     any responses to the mailing list.  I don't have the time
>     or inclination to offer private, unpaid, SNMP consultancy.
>     Keep discussions to the list, where others can both learn
>     and offer advice.  Thanks.   ]
>
>
>
> 2009/1/20 Shikhar Sachan <[email protected]>:
>> Many thanks for the reply, however I am on Ubuntu machine with no
>> firewall configuration.
>
> Are you *sure* that it doesn't have a locat firewall configuration?
> What does
>    iptables -L
>        report?
>
>
>> And I am able to ping the machine.
>
> That would be the case if you've got a local firewall setup.
>
>
>> However snmpwalk always timeouts
>
> Have you tried the suggestions in the FAQ entries
>   http://www.net-snmp.org/wiki/index.php/FAQ:Applications_03
>   http://www.net-snmp.org/wiki/index.php/FAQ:Applications_04
> ?
>
> Dave
>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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.