RANDOM-IP(1)

NAME
random-ip - generate IPv4 addresses randomly

SYNOPSIS

random-ip {n} [a [b [c [d]]]]

DESCRIPTION

random-ip prints n randomly-chosen IPv4 addresses in human-readable form.

a, b, c, and d are the first, second, third, and fourth octets of an optional prefix to apply to all addresses. The presence of a prefix constrains the maximum value of n to 16777216 (1 octet), 65536 (2 octets), 256 (3 octets), or 1 (4 octets).

random-ip makes no attempt to exclude invalid or reserved address ranges.

HISTORY

random-ip was originally part of Daniel J. Bernstein's djbdns toolset in 2001.

AUTHOR

Original code by Daniel J. Bernstein. Documentation by Jonathan de Boyne Pollard.