Local Ip Addr display as 0.0.0.0, when send Trap from Agent To Manager

This is a discussion on Local Ip Addr display as 0.0.0.0, when send Trap from Agent To Manager within the SNMP Users forums, part of the Networking and Network Related category; --===============0217151668== Content-Type: multipart/alternative; boundary="0-9730689-1205562606=:86992" Content-Transfer-Encoding: 8bit --0-9730689-1205562606=:86992 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-15-2008
Nagaraju Surulivel
 
Posts: n/a
Default Local Ip Addr display as 0.0.0.0, when send Trap from Agent To Manager

--===============0217151668==
Content-Type: multipart/alternative; boundary="0-9730689-1205562606=:86992"
Content-Transfer-Encoding: 8bit

--0-9730689-1205562606=:86992
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Dear All,
I send Trap Cmd through Agent to Manager. Manager can receive the Trap Message with remote IP & Local IP addr & port number.

When i debug the snmp Agent, its always displaying the local addrss as 0.0.0.0

Could you plz explain, why its displaying as 0.0.0.0. and what is the meaning of this address in agent side.

To avoid this, where i have to modify.

Ps: To use Get cmd, manager is using the IP addr & Port Number, which is received from Trap cmd.

Local IP Addr: 192.168.0.120 Port No: 10161 ( I hard code this port no using Bind system call).
Remote IP: 210.90.40.37 Port No: 161.

The same IP information is received by Manager.

But In debug Message display as: UDP: [0.0.0.0]-> [210.90.40.37]:161 (?)

I couldn't get any information to fix this, please help some one.


Thanks
Raju


---------------------------------
Never miss a thing. Make Yahoo your homepage.
--0-9730689-1205562606=:86992
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<div>Dear All,</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I send Trap Cmd through Agent to Manager. Manager can receive the Trap Message with remote IP &amp; Local IP addr &amp; port number.</div> <div>&nbsp;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When i debug the snmp Agent, its always displaying the local addrss as 0.0.0.0</div> <div>&nbsp;</div> <div>Could you plz explain, why its displaying as 0.0.0.0. and what is the meaning of this address in agent side.</div> <div>&nbsp;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp; To avoid this, where i have to modify.</div> <div>&nbsp;</div> <div>Ps: To use Get cmd, manager is using the IP addr &amp; Port Number, which is received from Trap cmd.</div> <div>&nbsp;</div> <div>Local IP Addr: 192.168.0.120 Port No: 10161 ( I hard code this port no using Bind system call).</div> <div>Remote IP: 210.90.40.37 Port No: 161.</div> <div>&nbsp;</div> <div>The same IP information is received by Manager.
</div> <div>&nbsp;</div> <div>But In debug Message display as: UDP: [0.0.0.0]-&gt; [210.90.40.37]:161&nbsp; (?)</div> <div>&nbsp;</div> <div>I couldn't get any information to fix this, please help some one.</div> <div>&nbsp;</div> <div>&nbsp;</div> <div>Thanks </div> <div>Raju</div><p>



<hr size=1>Never miss a thing. <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>


--0-9730689-1205562606=:86992--


--===============0217151668==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============0217151668==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

--===============0217151668==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:25 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0