IPv4 Address Randomization

May 12, 2015 at 11:55 PM
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.

May 16, 2015 at 11:02 AM
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