IPv4 Address Randomization

May 13, 2015 at 12:55 AM
Hello Everyone,

IN my application i am sanitizing the IP data, so i need to randomize the IPv4 adrress. I was able to generate a random address, but i would like to preserver the prefix of the address. I.e the new address which i generate should have the same prefix.
It would be very helpfull for me if any of you can give me an advice on how to achieve this.


Regards,
Sandeep
Coordinator
May 16, 2015 at 12:02 PM
Hi Sandeep,

Please note that Pcap.Net has moved to GitHub.
See http://pcapdot.net

For Q&A, see Pcap.Net Q&A Group.

I see you've already posted this question in https://groups.google.com/d/topic/pcapdotnet/L_3wIzcBn_I/discussion

Boaz.