SNMP devices emulation

别来无恙 提交于 2019-12-06 03:49:55

问题


We have network management system under linux, C/C++, perl and we need to test performance of this system. Is there a tool or way that would allow us to emulate 50 000 SNMP devices?

I don't know what more to say here... Please let me know if I should provide more information.

Any idea is appreciated.

Thank you Bogdan


回答1:


There are a few tools out there that will let you do that, however what I've seen is usually commercial software.

  • Adventnet SNMP Agent Simulator
  • MIMIC SNMP Agent Simulator



回答2:


You can try Raddle - it is open-source, written in Perl and based on honeyd, which should be able to emulate up to 65536 hosts.




回答3:


Thank you for your answers. Here's the way we solve this problem right now:

  1. We have a linux VM up with 1 interface (eth0).
  2. We add 50'000 virtual interfaces (eth0:1, eth0:2 etc).
  3. An SNMP daemon is up and replies on requests through all the ip addresses.

This way we have 50K IP adresses in the network that reply to SNMP requests.

Though, I'm investigating Raddle. Maybe if it suits we'll switch to this solution.

Thanks, Bogdan




回答4:


If the devices are sending traps, you could use Net-SNMP's snmptrap to simulate the effects of that many traps being sent.




回答5:


The snmpsim tool reportedly can sustain the simulation of ~50K agents. It can simulate different agents by responding at different IPs or to distinct SNMPv1/v2c community names or SNMPv3 context names.

There are also the hints on performance optimization.



来源:https://stackoverflow.com/questions/726876/snmp-devices-emulation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!