Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 browsing the Monastery: (8)
As of 2015-07-07 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls