I have loopback interface in my VM <-> host, that I'm using for emulating multiple SNMP devices - on each IP, there is different SNMP agent. I have SNMP agent tool, that doesn't support any kind of promisc reading/writing on the interfaces, so I set more IP addresses on the interface by hand, and binded each of the instances of the agent on different IP address.
However, I need to run another 100 instances, and adding the IP addresses by hand is little annoying. Is there any script/opportunity for doing this massively?
I'm running on W2k8 server.