LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-17-2010, 06:22 AM   #1
Vimuth
Member
 
Registered: Sep 2009
Posts: 59

Rep: Reputation: 15
Unhappy snmpwalk doesnt work on local ip.


Dear Gentleman,

I have a server that has snmp installed(Version is net-snmp-5.3.2.2-9.el5_5.1). This server has 5 n/w interfaces with diferent ip's. My problem is when i try snmpwalk on to the main interface, in my case "bond0" with the assigned ip address there is no response.
eg: snmpwalk v2c -c nature 172.17.241.190
No Response from 172.17.241.190
But when i run the same query with "localhost" snmpd responds.
eg: snmpwalk v2c -c nature localhost

There is no n/w level restrictions on this server. My nic related info is as follows..

bond0 Link encap:Ethernet HWaddr B8:AC:6F:89A:60
inet addr:172.17.241.190 Bcast:172.17.241.255 Mask:255.255.255.0
inet6 addr: fe80::baac:6fff:fe89:da60/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:75293702 errors:0 dropped:0 overruns:0 frame:0
TX packets:44772321 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2009603615 (1.8 GiB) TX bytes:514353749 (490.5 MiB)

eth0 Link encap:Ethernet HWaddr B8:AC:6F:89A:60
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:58079382 errors:0 dropped:0 overruns:0 frame:0
TX packets:44772321 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:976741407 (931.4 MiB) TX bytes:514353749 (490.5 MiB)
Interrupt:114 Memory:d6000000-d6012800

eth4 Link encap:Ethernet HWaddr B8:AC:6F:89A:60
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:17214320 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1032862208 (985.0 MiB) TX bytes:0 (0.0 b)
Memory:df380000-df3a0000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1462105 errors:0 dropped:0 overruns:0 frame:0
TX packets:1462105 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:88459687 (84.3 MiB) TX bytes:88459687 (84.3 MiB)

I want to snmpwalk in to the "172.17.241.190". Please advice gentleman.
 
Old 12-17-2010, 06:26 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
what is there in /etc/hosts?

snmpd.conf
Quote:
com2sec mynetwork 192.168.1.0/24 communityname
and Check firewall

Last edited by kirukan; 12-17-2010 at 07:09 AM.
 
Old 12-18-2010, 01:58 AM   #3
Vimuth
Member
 
Registered: Sep 2009
Posts: 59

Original Poster
Rep: Reputation: 15
Gentleman,

Thank you very much Mr Kirukan and all the other gentleman who happened to read my problem. Cant believe Im one of the biggest slackers. I just found out that my tcp wrappers were active and there were some rules written in the /etc/hosts.deny. I never looked at it since I thought I was the only one who had root access but apparently not. I allowed snmpd in hosts.allow and my prob is solved. Thanks again for everything.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNSMasq - dnslookup build.domain.local works but ping build.domain.local doesnt mustaghattack Linux - Server 2 03-01-2010 09:00 PM
cacti, mrtg, and snmpwalk don't work after computer reboot cannot collect snmp data scheidel21 Linux - Networking 2 08-03-2009 07:15 AM
rmdir -rf does not seem to work in fc4 .what do i do?rm -p also doesnt seem to work vinay87 Linux - Newbie 2 05-09-2006 09:18 AM
Why doesnt my USB mouse doesnt work? barkha Linux - Hardware 2 08-16-2005 11:31 AM
ftp doesnt accept non-local connections rusium Linux - Networking 3 05-25-2003 11:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration