Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Generate Random IP Addresses

by Anonymous Monk
on Oct 26, 2004 at 02:50 UTC ( #402436=note: print w/ replies, xml ) Need Help??


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.


Comment on Re^3: Generate Random IP Addresses

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://402436]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2014-09-20 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls