IPv4 address generator
Generates a random IPv4 address.
internet.ipv4
Generator settings
Generate data to see results here.
Parameters & Example
Generates a random IPv4 address.
internet.ipv4(options?: { cidrBlock? })- options
- The optional options object.
- options.cidrBlock
- The optional CIDR block to use. Must be in the format x.x.x.x/y. Defaults to '0.0.0.0/0'.
Example
"171.3.181.203"Use synthetic data in a test environment.