How to configure multiple IP address in a router . My requirement is both address should respond to SNMP query

link|improve this question

0% accept rate
+1 to @bubu. What is your router? – sdanelson Dec 19 '10 at 4:40
feedback

2 Answers

That largely depends on how you configure your router / what your router is running.

You can e.g. create virtual eth interfaces in linux (eth0, eth0:1, etc.)

auto eth0:1
iface eth0:1 inet static
address [ip]
netmask [netmask]

Then specify and bind the snmpd address in the snmpd configuration

OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a -x 127.0.0.1 [ip]"
link|improve this answer
feedback

You can also simply specify udp: to listen on all interfaces. I.e.

OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a -x udp: "
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.