Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
    
+1 to @bubu. What is your router? –  sdanelson Dec 19 '10 at 4:40
add comment

2 Answers 2

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]"
share|improve this answer
add comment

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: "
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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