Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 8.3.0
HTML
<div id="google_translate_element"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
  new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
</script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

Working with IP Rules

Table of Contents

IP Rules

...

IP Rules can be accessed from IPAM Manage or the IPAM Gadget, in the block's Action Menu (wrench gear icon). IPAM users may view rules applied to a block, apply an existing rule to a block, or create a new rule for a block. Only one rule may be applied per block, and rules applied to a parent block affect the child blocks below it in the tree.  Admin  

Admin users may view all existing IPAM Rules, the blocks affected by each rule, and delete rules through the IPAM Admin - IP Rules page

...

From the IPAM Manage screen or IPAM Gadget, click on the Action Menu (wrench gear icon) for the block you wish to apply a rule. Select "IP Rules". 

Image RemovedImage Added

The IP Rules screen will pop up. From here, you can view existing rules applied to the block (or the parent block), search for and apply an existing rule, or create a new IP Rule. 

Image RemovedImage Added

To create a new rule, ensure that the dropdown selector is set to "Create new IP Rule", verify that the correct block is shown, then click "Apply". leave the "Search Rule" input empty, and hit the "Continue" button.

Image AddedImage Removed

The Manage Ruleset screen will appear, prompting you to enter a Ruleset name, and select positions to reserve.

Type in the desired name for the new rule, and one or multiple positions (denoted by integers separated by commas) into the box below the name.

When complete, click the "Save" button, or hit "Cancel" to exit without saving. The Rule preview screen will appear. 

Info

IP Rule Positions

Reserved addresses are set by their position in the block. Positions start at '1', for the first address in a block, and step up by one for each subsequent IP address.  The last position in a block is '0', representing the last address, and steps down a negative integer for each position from last - so the last three addresses in a block would be represented by (0, -1, -2). When reserving multiple positions, the typed order of the positions does not matter.

Position examples:

(1) - Reserves the first IP

(0) - Reserves the last IP

(1,2,3) - Reserves the first three IPs

(0, -1, -2) - Reserves the last three IPs.

(1,2,3,0,-1,-2) - Reserves the first three and last three IPs

 

Type in the desired name for the new rule, and one or multiple positions (denoted by integers separated by commas) into the box below the name.

When complete, click the "Save" button, or hit "Cancel" to exit without saving. The Rule preview screen will appear. 

...


Review the list of excluded IP addresses affected by the rule, then click "Apply changes" to finalize the selection.

If desired, you can exit out of applying the rule by clicking "Discard Changes", reverting back to the initial selection and closing the screen. 

Image RemovedImage Added

Once changes are applied, the rule will show the name, affected CIDR(s), affected IPs, and present with an option to remove the rule. 

Image RemovedImage Added

Apply an existing rule

From the IPAM Manage screen or IPAM Gadget, click on the Action Menu (wrench gear icon) for the block you wish to apply a rule. Select "IP Rules". 

Image RemovedImage Added

The IP Rules screen will pop up. From here, you can view search for existing rules applied to the block (or the parent block), apply an existing rule, or create a new IP Rule. 

Image Removed

To apply an existing IP Rule to the selected block, click on the dropdown containing "Create new IP Rule", then type in the name of the desired rule and select it from the list. 

by typing a few letters of the Rule name in the search box, then selecting the desired rule.

Image AddedImage Removed

Once selected, hit the "ApplyContinue" Button. Image Removed


Review the list of excluded IP addresses affected by the rule, then click "Apply changes" to finalize the selection.

Image Added

If desired, you can exit out of applying the rule by clicking "Discard Changes", reverting back to the initial selection and closing the screen. Image Removed


Once changes are applied, the rule will show the name, affected CIDR, affected IPs, and present with an option to remove the rule. 

Image Added


When a rule is applied, an indicator icon will be visible next to the block.

Image AddedImage Removed

Remove a rule from a block

From the IPAM Manage screen or IPAM Gadget, click on the indicator icon or open the Action Menu (wrench gear icon) for the desired block . Select and select "IP Rules". 

Image RemovedImage Added

The details for the existing rule applied to the block will be shown. To remove the rule from the block, click the "Remove Rule" button and confirm.

The rule will still be able to be re-applied and usable by other blocks, simply no longer applied to the current block. 

Image Removed

Image Added


Additional Information

For additional information on working with IP Blocks and IP Rules, including Admin-level tasks, see the following areas:

...