Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .