problem to assign source addr port number, instead of random selection

This is a discussion on problem to assign source addr port number, instead of random selection within the SNMP Users forums, part of the Networking and Network Related category; --===============0160481601== Content-Type: multipart/alternative; boundary="0-1840095865-1205305609=:91395" Content-Transfer-Encoding: 8bit --0-1840095865-1205305609=:91395 ...


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-12-2008
Nagaraju Surulivel
 
Posts: n/a
Default problem to assign source addr port number, instead of random selection

--===============0160481601==
Content-Type: multipart/alternative; boundary="0-1840095865-1205305609=:91395"
Content-Transfer-Encoding: 8bit

--0-1840095865-1205305609=:91395
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi,
I'm using net-snmp5.3.2. I was tried to send trap using trap2sink. It can able to send and receive the trap message in Manager.

But i want to set a soruce & destination port number as 161. I set the destionation number using trap2sink xx.xx.xx.xx:161 public

The receiving port is always 3072. I want to set this as 161. I was tried to set session->local_port = 161 in many places. But it didnt set it.

Please help me to fix this issue, in what way i can set the destination port number by manually.

Thanks..



---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
--0-1840095865-1205305609=:91395
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>Hi,</DIV> <DIV>&nbsp;&nbsp; I'm using net-snmp5.3.2. I was tried to send trap using trap2sink. It can able to send and receive the trap message in Manager. </DIV> <DIV>&nbsp;</DIV> <DIV>&nbsp;&nbsp;&nbsp;But i want to set a soruce &amp; destination port number as 161. I set the destionation&nbsp;number&nbsp;using trap2sink xx.xx.xx.xx:161 public </DIV> <DIV>&nbsp;</DIV> <DIV>The receiving port is always 3072. I want to set this as 161. I was tried to set session-&gt;local_port = 161 in many places. But it didnt set it.</DIV> <DIV>&nbsp;</DIV> <DIV>Please help me to fix this issue, in what way i can set the destination port number by manually.</DIV> <DIV>&nbsp;</DIV> <DIV>Thanks..</DIV> <DIV>&nbsp;</DIV><p>
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i...Dypao8Wcj9tAcJ "> Try it now.</a>
--0-1840095865-1205305609=:91395--


--===============0160481601==
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/
--===============0160481601==
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

--===============0160481601==--

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 10:56 PM.


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