in reply to Re^2: Generate Random IP Addresses
in thread Generate Random IP Addresses
For those stumbling across this post in the future, I wanted to add a comment that I don't believe generating a random 32-bit number is the proper way to generate a random ip address. As illustrated in some of the other posts, you need to generate a random number for each octect.
This is not blatantly obvious and was a minor stumbling block while trying to figure out how to use that code.
|
---|
In Section
Seekers of Perl Wisdom