IPV4CALC(1)

🌸 NAME 🌸

Okay bestie, welcome to IPV4CALC(1) β€” that’s the title, and this page is filed under User Contributed Perl Documentation β€” the official name line is: ipv4calc β€” Calculates IPv4 elements from an address. πŸ’–


✨ SYNOPSIS ✨

Here’s the exact shape of the command, no cap:

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

πŸŽ€ DESCRIPTION πŸŽ€

So here’s the tea: 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. That’s the rule β€” only the first one, periodt. πŸ’…

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. Literally all three, as deduced. ✨

If the address doesn’t contain a netmask or mask length, the default one is assumed. 🌸

πŸ’œ the flags πŸ’œ

  • --network β€” asks for the network element from the address.
  • --broadcast β€” asks for the broadcast element from the address.
  • --netmask β€” asks for the netmask element from the address.
  • --address β€” asks for the address element from the address.
  • --cidr β€” asks for the CIDR element from the address.

πŸ¦‹ AUTHOR πŸ¦‹

Francis J. Lacoste <francis.lacoste@iNsu.COM> β€” iconic author behavior. πŸ‘‘

Copyright (c) 1999,2000 iNsu Innovations Inc. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms as perl itself.

⭐ SEE ALSO ⭐

Go peek at Network::IPv4Addr(3). iykyk. πŸ’«


πŸ’– That’s the whole page, bestie β€” IPV4CALC(1) brought to you by perl v5.42.0, dated 2024-03-04. Slay your subnets! πŸ’…βœ¨

πŸ“¦ where this page comes from