On 16/07/07, Need Help <[EMAIL PROTECTED]> wrote:

> 1) If I wanted to perform a SNMP request on a particular port (ie: 705),
> then I guess I would execute the command with 127.0.0.1:705 ?

Yes.
Although you wouldn't send SNMP requests to port 705.


> 2) Should I be using port 705, or is port 161 more SNMP specific in the
> industry?

(TCP) Port 705 is the standard port for AgentX connections.
(UDP) Port 161 is the standard port for SNMP requests.

You should use 705 for AgentX and 161 for SNMP



> 3) Why does "localhost" work on my Linux machine, but does not work on the
> hardware box

Because your hardware box isn't set up to map the name "localhost" to the IP
address 127.0.0.1   (while your Linux system is).

Have a look at the file /etc/hosts on the two systems.

> Actually, what does "127.0.0.1" represent ......

That's the IP address of the loopback interface.


Hmmm....   you are showing a distinct lack of understanding
of the fundamentals of TCP/IP networking.    Without a basic
grounding in how networking works, you are always going to
struggle with network-based services.

I would *STRONGLY* suggest that you do a bit of reading about
basic Linux networking, before trying to do anything more with
SNMP.   At the moment, it feels as if you're trying to drive a car
(and a home-customised one at that), without really understanding
what a road is, and how it might differ from a pavement.   As a
pedestrian, this makes me feel mighty nervous!


Dave

-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to