Subnets
A subnet can be any L3 network (IPv4 or IPv6) in your organization, and it can be part of a VLAN or not. All IP Addresses in Device42 must belong to a subnet.
You can create nested subnets automatically and can relocate manually created subnets as a nested subnet.
The subnet must be part of a VRF group to create a nested subnet.
Subnet List Page


This page lists all your defined and discovered subnets. As with any list, you can sort by multiple fields.
Here are a few useful tips:
- % Used indicates how much of the subnet space is used and gives you an idea if a subnet is being exhausted for available IPs. This only applies to IPv4 subnets.
- Show IPs takes you to IP address page and shows you all IP addresses that belong to this subnet.
Clicking on a subnet gives you a detailed view/edit page for that subnet.


You can also add IPs to an existing subnet using the new Background Populate Subnets with IPs command from the Subnets Actions menu. When deleting a subnet (Delete with Detailed Confirmation), you can also choose to add the associated IPs to the parent subnet (if one exists). This feature helps when doing maintenance on subnets, where it is desirable to move from a smaller to a larger subnet without removing or recreating the associated IP addresses.
The Actions menu also includes an option for creating a ping sweep for a set of selected subnets.






Adding/Editing a Subnet


Network and mask bits are required fields; all others are optional. The range beginning and end are calculated automatically based on the network and mask bits if not entered.
The VRF group is required if you want to further subnet this subnet.
The Subnet Category can be used to categorize your subnets. If using the Multitenancy feature, you can restrict subnet permissions based on these categories.
If you mark the network and/or broadcast addresses as usable for a subnet, these IPs will be shown as usable IPs in the IP Address list page.
VRF Groups and Overlapping Subnet Ranges
When you add an overlapping subnet in a VRF group, the subnet gets automatically positioned with the right parent-child relationship.
Adding Subnetted Subnets


Once you assign a VRF group to a subnet and save and continue, you will see a subnets tab in the lower part of the page.
You can just enter mask bits and click Add, and a subnet underneath the current subnet will be automatically created for you. It will show you error messages inline if there are any.
On the edit page, clicking on a nested subnet takes you to the edit page for that subnet.
Relocating a Subnet


On the edit page, if you click on Relocate, it will calculate whether there are any subnets into which this subnet can be moved. If it finds one and there are no IP conflicts, it will relocate the subnet.
Deleting a Subnet Upwards/Merging Into Parent


With the merge-to-parent function, you can associate all child subnets and IPs to a parent and delete that subnet, as shown in the images above.