How to tell which subnets are full
To tell which subnets are full, count the addresses actually in use in each subnet and divide by the usable addresses its mask allows; a subnet calculator only gives the second number. Where the addresses in use come from decides what the answer is worth. NacTrack counts the addresses configured on the interfaces of your collected devices, which is the real occupancy of infrastructure subnets: interconnects, loopbacks, management ranges. For user subnets full of PCs and phones, the count has to come from ARP or DHCP, as shown below.
What you need
- Licence module: IP address management (IPAM).
- Role permission: view IP addresses.
- Every collected platform whose interfaces carry IPv4 addresses.
In NacTrack
- 1
Open IPAM, then IPv4 Networks Usage
The IPv4 Explorer groups the address space into blocks, the private ranges plus any block you define, and each block into the subnets found on device interfaces, per VRF. Each subnet row shows Used, Unique, Duplicates and Util %.
Screen: app.nactrack.com/ip/usage
- 2
Read Util % for the infrastructure subnets
Util % is the number of distinct addresses found in the subnet divided by its usable addresses. On a management range where every switch has its address, that is the real fill rate. Open a subnet to see each address with its device, interface, VRF and status; an address seen on two interfaces is flagged as a possible conflict.
Screen: app.nactrack.com/ip/usage
- 3
Find the free space
Select a VRF, then tick Free: the gaps between the used subnets of the block appear as free subnets. That is where the next subnet goes when one is full.
Screen: app.nactrack.com/ip/usage
User subnets, by hand
For a user VLAN, count the entries in the ARP table of its gateway, for example "show ip arp Vlan10" on a Cisco layer 3 switch, and compare with the usable addresses of the mask. ARP entries age out, so a host switched off for the night is not counted: read it during working hours.
If addresses are handed out by DHCP, the scope statistics of the DHCP server are the better measure: "show ip dhcp pool" when a Cisco IOS device is the server, the scope statistics of the server otherwise. A scope full of leases is full even if half the hosts are off.
Further reading
IPAM software: subnets and addresses read off the network
An IPAM tool that reads addresses off your devices: subnet utilisation, the switch port of an IP, conflicts. Compared with phpIPAM, NetBox, Infoblox.
How-to guideHow to find where an IP address lives on the network
Give IP Finder an address and it searches every collected source, ARP tables, inventory and neighbours, then says which device holds it.
How-to guideHow to tell whether an IP belongs to a user device or to network equipment
IP Finder heads each block of results with the source that matched, and that heading tells you whether the address is an endpoint or a device.
How to read the serial number of a Huawei device
Read the serial number of a Huawei device: display esn, display sn or display elabel depending on the model, with Huawei's documentation cited.
Next guideHow to see which ports are configured for 802.1X
Read 802.1X back off the switches themselves: which access ports actually carry it, in which mode, and where MAB is the fallback.
