Thanks, Roy.

I will try and describe the result here.

With respect, Nikolay Kanivets.

----- Original Message ----- 
From: "Roy M. Silvernail" <[EMAIL PROTECTED]>
To: "Nikolay Kanivets" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Friday, August 01, 2008 6:51 PM
Subject: Re: NET SNMP src interface question


> On Fri, Aug 01, 2008 at 04:49:18PM +0400, Nikolay Kanivets wrote:
>
>> I have Solaris server with several network interfaces. I have also
>> some daemon program which uses Net Snmp library to perform SNMP
>> requests to external targets.
>>
>> The problem is that I have not found if it is possible or not to tell
>> Net Snmp to use certain interface for sending outgoing packets. Is it
>> possible with Net Snmp ? Does anybody know?
>
> I believe you simply need to set the .localname member of your
> netsnmp_session structure to the desired interface address before
> calling snmp_open().
> -- 
> Roy M. Silvernail is [EMAIL PROTECTED], and you're not
>   "A desperate disease requires a dangerous remedy."
>                   - Guy Fawkes
>            http://www.rant-central.com
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the 
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>
> __________ Èíôîðìàöèÿ NOD32 3303 (20080728) __________
>
> Ýòî ñîîáùåíèå ïðîâåðåíî Àíòèâèðóñíîé ñèñòåìîé NOD32.
> http://www.eset.com
>
> 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to