Re: NET SNMP src interface question

"Nikolay Kanivets" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <021501c8f53b$2017ded0$1f12fea9@sklifer>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.