The s6-randomip program
s6-randomip generates random IP addresses and prints them to
its standard output, one per line.
s6-randomip [ -4 ] [ -6 ] [ -n max ]
- s6-randomip makes up IP addresses and prints
them to its stdout. It keeps running until it receives a signal.
- IP addresses are not guaranteed to represent anything. They are totally random.
- -4 : generate IPv4 addresses.
- -6 : generate IPv6 addresses. Both the -4 and
-6 options may be given. If none is given, by default
s6-randomip will only generate IPv4 addresses.
- -n max : s6-randomip will only generate
max addresses, then exit 0, instead of running forever.
s6-randomip can be used in conjunction with
s6-dnsname-filter to stress-test your
DNS architecture. Please use this responsibly and ethically.