ipv4calc man page

ipv4calc — Calculates IPv4 elements from an address.

Synopsis

ipv4calc [ --network | --broadcast | --netmask | 
           --address | --cidr ] addr

Description

If an option is specified ipv4calc calculates the requested element from the address and prints it on stdout.

If multiple options are specified, only the first one is printed.

If no options are specified, the program prints the host part of the address, the network and the broadcast address as deduced from the given address.

If address doesn't contains a netmask or mask length, the default one is assumed.

Author

Francis J. Lacoste <francis.lacoste@iNsu.COM>

See Also

Network::IPv4Addr(3).

Info

2000-08-01 perl v5.24.0 User Contributed Perl Documentation