how to listen on an IP address created only after snmpd process is started

Alina Ghergu <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello net-snmp-users,

I have a question regarding agentaddress option in snmpd.conf.
I used agentaddress successfuly to listen on a particular interface that is
already created.
The problem is that I have a virtual interface with a label, that is created
only after the snmpd process is started.
I don't want to listen on "any" interface.

For example, I added in snmpd.conf:

agentaddress 10.10.10.121:161, 10.10.10.120:161

10.10.10.121 already exists when snmpd is started but 10.10.10.120 is
created some time later.

Here is a piece of "ip addr" command display:

eth1.6: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
    link/ether 00:11:3f:c5:17:e1 brd ff:ff:ff:ff:ff:ff
    inet 10.10.10.121/24 brd 10.10.10.255 scope global eth1.6
    inet 10.10.10.120/24 brd 10.10.10.255 scope global secondary
eth1.6:SPECIAL
    inet6 fe80::211:3fff:fec5:17e1/64 scope link
       valid_lft forever preferred_lft forever

Please tell me if you have an idea on how this could be solved.
Thank you in advance,

Alina Ghergu

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
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.