1IPV4CALC(1) User Contributed Perl Documentation IPV4CALC(1)
2
3
4
6 ipv4calc - Calculates IPv4 elements from an address.
7
9 ipv4calc [ --network ⎪ --broadcast ⎪ --netmask ⎪
10 --address ⎪ --cidr ] addr
11
13 If an option is specified ipv4calc calculates the requested element
14 from the address and prints it on stdout.
15
16 If multiple options are specified, only the first one is printed.
17
18 If no options are specified, the program prints the host part of the
19 address, the network and the broadcast address as deduced from the
20 given address.
21
22 If address doesn't contains a netmask or mask length, the default one
23 is assumed.
24
26 Francis J. Lacoste <francis.lacoste@iNsu.COM>
27
29 Copyright (c) 1999,2000 iNsu Innovations Inc. All rights reserved.
30
31 This program is free software; you can redistribute it and/or modify it
32 under the terms as perl itself.
33
35 Network::IPv4Addr(3).
36
37
38
39perl v5.8.8 2000-08-01 IPV4CALC(1)