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.

To create a nested subnet, the subnet must be part of a VRF group.

Subnet List page

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:

  1. % 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.

  2. 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.

The actions pulldown includes an option for creating a ping sweep for a set of selected subnets.

Adding/editing a subnet

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.

By selecting “Allocated” Device42 will associate the subnet with customer, allowing you to easily visualize subnet and ip address consumption.

By selecting “Assigned” Device42 will treat the subnet and IP addresses as in use and unavailable.

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

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

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

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.