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.
To create a nested subnet, the subnet must be part of a VRF group.
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 takes to you a detailed view/edit page for that subnet.
You can also now add IPs to an existing subnet using the new Background Populate Subnets with IPs command from the Subnets Action menu. When deleting a subnet (Delete with Detailed Confirmation), you can also now choose to add the associated IPs to the parent subnet (if one exists). This feature helps when doing maintenance on subnets where moving from a smaller to larger subnet is desired without removing or recreating the associated IP addresses.
The Action 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. Range begin and end are calculated automatically based on 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 you use the Mutlitenancy 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
Starting with v4, once 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 subnet, it will calculate if 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.