LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-17-2003, 11:08 PM   #1
LiquidIce
LQ Newbie
 
Registered: Feb 2001
Distribution: Slackware / Mandrake
Posts: 13

Rep: Reputation: 0
SNMP Connection Problems


I'm having problems using SNMP to connect to my router. When i use snmpwalk/get on a Windows 2000 machine (which is connected on the LAN) I can easily connect to the router and get all of results.... However when i try to use it from my linux box (Redhat 9) it is a different story ...

Code:
[root@spooked]# snmpget -v 1 -OS -c public 192.168.0.2 system.sysUpTime.0
SNMPv2-MIB::sysUpTime.0 = Timeticks: (197938) 0:32:59.38
[root@spooked]# snmpget -v 1 -OS -c public 192.168.0.1 system.sysUpTime.0
Timeout: No Response from 192.168.0.1.
[root@spooked]#
192.168.0.2 = Redhat Machine
192.168.0.1 = Router

So why does it work on my windows machine and not on Redhat?? Could it be something to do with iptables stopping it? I can't see any unusally log entries in 'messages'

Thanks for your help
 
Old 05-20-2003, 11:54 AM   #2
BaerRS
Member
 
Registered: Oct 2001
Location: Columbus, Ohio
Distribution: all.. but mainly SuSe--- looks like it changing to Red Hat
Posts: 119

Rep: Reputation: 15
It shouldnt be anything to do with IP tables, sence you can get info back from at least onec source.. in this case: 192.168.0.2

I would look at the snmp config on 192.168.0.1, and see if you have read privleges set for you RH box (spooked).
 
  


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
How to configure ucd-snmp and net-snmp? Tazzmanian Linux - Networking 1 05-27-2005 08:09 AM
NET-SNMP vs UCD-SNMP nitind Red Hat 1 05-20-2005 06:08 AM
Connection problems? BajaNick LQ Suggestions & Feedback 8 10-13-2003 10:27 PM
Connection problems opafire Linux - Networking 11 10-12-2003 03:23 PM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:23 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