Re: controling interfaces

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Marius Banica wrote:
> Iam running net-snmp 5.0.9 ( I cant upgrade)
> 
> Can I control from which interface the snmptrap command will be issued?
> 
> I got 10 nics on my machine and I want to be able to control from which
> interface to send the trap 
> 
> Iam running the following command 
> 
> snmptrap -v 1 -c public myip "" "" 2 2 ""
> 
> p.s. this is the only command that I can run on the machine, this is some
> sort of appliance that I can't change stuff inside.

There's the snmp.conf "clientAddr" token for exactly this purpose, but AFAICS it
has been introduced in 5.1.x and isn't available in 5.0.x.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.