Transform Meta Info
Display Name | To Netblock [Using natural boundaries] |
Transform Name | paterva.v2.IPAddressToNetblock_Cuts |
Short Description | This Transform will carve a Netblock from an IP - counting a certain number of IP's up and down |
Data Source | Paterva/Host |
Input | IPAddress |
Output | Netblock |
Description
This Transform returns a Netblock (IP range) by looking at the natural network boundary of the IP address. The size of the network is determined by a Transform Setting (Block size). The size is set by default to 256, meaning that a corresponding Class C network address range will be returned. The size can be set to any number larger than, or equal to 12.
The Transform works by dividing the IP address space up into blocks of the given size (256 by default), and then calculating which block the provided IP belongs to. It then returns the calculated Netblock.
This is a useful trick to get an idea of the IP addresses that make up a network, by making a few assumptions on the size of the network. It is usually very effective for networks of large organizations which typically purchase several IP addresses or entire ranges as well as being useful for segmenting IP addresses as an IT administrator would.