I am currently testing some network simulation software. I wrote a small perl script that constantly loops though a bunch of ip address (from the simulated network) and sends the IP snmp get requests. It just keeps doing this over and over for all the IP addresses.

I was ask to try and spoof a MAC address with the requests to see if it has a different effect on the software. The difference being the the requests will be coming from different interfaces.

I want to know if there is a way to do this in Perl and/or some other language (C/C++, Java). I am not looking for an answer, but a finger pointing in the right direction.

Also, I see that there is MAC address spoofing software on the internet, but I would like to write my own code to do this, if it is not out of my scope.

Thanks,
Lateralus