Skip to main content

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

Subnet List pageSubnet 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 of whether a subnet is being exhausted for available IPs. This only applies to IPv4 subnets.
  2. Show IPs takes you to the 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.

Subnet detailed viewSubnet detailed view

Actions: Deleting Subnets

You can add IPs to an existing subnet using the new Background Populate Subnets with IPs command from the Subnet's 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.

    Subnet Action menuSubnet Action menu

 

Background Populate SubnetsBackground Populate Subnets Delete with Detailed ConfirmationDelete with Detailed Confirmation

Actions: Creating a Ping Sweep Job

  • The Actions menu also includes an option for creating a ping sweep job for a set of selected subnets.

    Ping sweep actionPing sweep action
  • Click on the View details link on the green success message to see the details of the newly created ping sweep job. You can also view the job under Discovery > Ping Sweep.

    View details linkView details link
  • Run the ad hoc ping sweep job immediately using the Run Now button on the details page.

    View Adhoc ping sweepView Adhoc ping sweep

Adding or Editing a Subnet

Adding/Editing a subnetAdding/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

Adding Subnetted SubnetsAdding 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 subnetRelocating 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 or Merging Into Parent

Deleting a subnet upwards/merging into parentDeleting 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 image above.