Login  
Search All Forums
Dart Home | PowerSNMP for .NET | Custom Development Reply | PowerSNMP for .NET Topics | Forums   
AuthorForum: PowerSNMP for .NET
Topic: Modifying etc\hosts file interferes with SNMP communication
SteveSt

From: Nuernberg, Germany
Posts: 14
Member Since: 07/28/08
posted November 4, 2010 5:30 AM

Hi,

first of all I'd like to state that we are still using version Release 1.2.1.0 and upgrading to the newest version has not yet been considered.

The situation:
Our SNMP Manager application runs in a Windows 2003 multi server environment with three different network interfaces (different IP-addresses for one server). With an original, unchanged etc\hosts file (no entries) this works just fine.
Unfortunately, a certain need arose to edit the etc\hosts file to ensure another part of the system functions properly.
After editing, etc\hosts contains only one of the three IP-addresses.

The problem:
After editing etc\hosts, SNMP Manager can establish a connection to the agents in the network which is mentioned in the edited etc\hosts but not to the agents in the other two networks.
A Wireshark trace revealed that SNMP Manager does not use the configured port but uses some random port for its requests. The requests are sent to the agents and are also responded by them but SNMP Manager somehow does not recognize the responses as such.

Side note: When all three IP-addresses are in the etc\hosts file SNMP Manager works correctly. Unfortunately, this is not an option since the other part of the system wouldn't function properly.

Any hints to what we can do in order to get SNMP Manager working with the modified etc\hosts file without adding all three IP-addresses? Besides changing the other part of the system, of course.

Best regards,
Steve
Mike Baldwin (Admin)



From: Rome, NY USA
Posts: 114
Member Since: 04/11/00

Extra Support Options
Custom Application Development

posted November 4, 2010 10:39 AM

Hi Steve,

First of all, thanks for using PowerSNMP.

The hosts file is normally used for resolving a host name to an address. Are you using IP address strings or host name strings when the Manager sends packets to the Agent? That's the only thing I can think of that you might try.

Regards, mike
SteveSt

From: Nuernberg, Germany
Posts: 14
Member Since: 07/28/08
posted November 15, 2010 11:17 AM

Hi mike,

sorry for the late answer. I've been quite busy.

To answer your question:
We are using IP address strings to start the Manager.

Right now, I'm adjusting our software to get the trial version of Release 4.2.1.2 up und running and I'm told that I can test it on the system on Friday. Once I have some results, I will post them here.
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 448
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted November 19, 2010 5:29 PM

Steve, thank you for sending the test results below.

"Today's test showed that the new version does not have the same problem as the old 1.2.1.0 version. When starting our application with the new .dll the communications with the agents was established."



Reply | PowerSNMP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX