Hello Radhesh,
interesting idea! Let's see what people in the list think, maybe if we
have enough demand we can definitely include a method for random IP's.
> How could I write my own? Also, it might be a great feature to add to
> IPAddress, as I am sure many people would like to generate random IP
> addresses.
I would maybe go in this way:
ip = (rand(255)<<24)+(rand(255)<<16)+(rand(255)<<8)+rand(255)
IPAddress::IPv4::parse_u32 ip