Robert Story wrote:
On Thu, 3 Nov 2005 17:45:09 +0530 aakansha wrote:
AR> I restarted the network and started the agent with the IP Address
AR> "snmpd -f -Le 192.162.9.2 <http://192.162.9.2>"
AR>
AR> The agent got started. Now in another shell I executed, "snmpd -f -Le
AR> 192.162.9.3 <http://192.162.9.3>"
AR>
AR> But the message displayed was,
AR>
AR> Error opening specified endpoint 192.168.9.1:161 <http://192.168.9.1:161>
AR> Server exiting with error code 1.
AR>
AR> So the virtual IP's are there.. But the access is made to the real IP
AR> address 192.168.9.1 <http://192.168.9.1> and the port 161.
It is going to be up to your OS as to whether or not you can open the same
(non-shared) port on a virtual ip address. It looks like yours won't, so you
are stuck with 1 agent for all the virtual addresses on an interface, or using
different ports.
Earlier in the thread the OP said Linux which should work, so there's
likely a different problem lurking around. Run the agents with
-Dread_config to double-check whether any other config file is read in
which specifies agentaddress.
If it doesn't, run with -DALL and work through it to spot the problem.
If you can't make sense out of it, then (as a last resort!) post the
output (of *both* agents) here.
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders