IPAM IP Address Space Tasks

    Since we saw an overview of the IPAM console in the previous post, I think it’s time to go deeper in the IP address space tasks in this post. We will be looking into creating address blocks, adding addresses, finding available addresses and other tasks. We will do everything from the IP ADDRESS SPACE section of the IPAM console.

Address Space Tasks Menu

Address Space Tasks Menu

 

    Address Space tasks related to Address Blocks

    Address Blocks are the biggest unit of classification for address space. You would usually assign an address block to a network like 172.16.0.0/16, for example.  You will have to create all your address blocks manually because IPAM does not do it by itself. Let’s create the block for 192.168.1.0/24.

   From the Tasks menu in the upper right select Add P Address Block…

Open the Add Address Block wizard

Open the Add Address Block wizard

    In IPAM all fields with a star in front of them are mandatory. Put in the Network ID 192.168.1.0, the Prefix Length 24 and, of course, 192.168.1.0 and 192.168.1.255 for the Start Address and End Address.

Address Space Task: Add Address Block

Address Space Task: Add Address Block

    Now you can view the result. One interesting thing we can see is that the address utilization of a block’s ranges is displayed in the summary. Since in our case we have the DHCP server with only one IP used this is what we get in the output:

Address Block Info

Address Block Info

    The other task we can do with blocks is to edit one. The edit screen looks exactly like the create screen; nothing special. Next up is IP Address Ranges.

    IP Address Space tasks related to Address Ranges

    We can divide an address block in multiple ranges. An address range might be for example a DHCP scope or just a division of a network with static addresses managed by IPAM. In the case of ranges that correspond to DHCP scopes we don’t have to do anything for them to show up in the database; they are imported automatically.

    If you have your scope created this is what you should see when switching to the IP Address Ranges context menu in the upper left:

IP Address Ranges

IP Address Ranges

    And here is what we can do with an address range:

IP Address Range tasks

IP Address Range tasks

    We cannot edit most of the properties of a range that is imported from DHCP. From the second menu item we can associate the address range with a DNS reverse lookup zone.

    One task that you probably do a lot of times is search for available IPs to allocate to devices. You can do this now using Find and Allocate Available IP Address… When you click it, IPAM will find an address, ping it, check if it is in DNS and permit you to use it in case it is vacant. 

Find available IP Address

Find available IP Address

    Since this is a DHCP related range it makes sense to create a reservation with the found address because DHCP is perfectly capable to find an IP address all by itself. So scroll down and let’s complete the information needed. In the first part you don’t have to do anything:

Add IP Address info

Add IP Address info

    Now scroll down and let’s enter the next information. For the Client ID put the device MAC address without any separator character. You can also enter the MAC at the beginning and check the Associate MAC to Client ID checkbox. Select one of your DHCP servers for the Reservation Server Name and make sure everything else looks like in the screenshot.

Add DHCP reservation

Add DHCP reservation

    We can also add the IP address in DNS in case the device cannot register itself. Just enter a name and select the forward and reverse lookup zone so an A and PTR record can be created. Check the checkbox also.

Add DNS record

Add DNS record

    Click OK and wait. You should see a reservation on the DHCP server and records in the forward and reverse lookup zone.

    One last task we can do is to reclaim addresses. Open the Reclaim IP Address wizard and let’s start.

Reclaim IP Address

Reclaim IP Address

    From here select the address you want to reclaim and click OK. In case you want to delete the DNS and DHCP related data make sure you check the 2 boxes on the top of the window.

    IP Address Space tasks related to IP Addresses

    In the last part of the post we will see what we can do with individual addresses. The first task is to add one. We do this by opening Add IP Address… rom the TASKS menu. The wizard is the same like the one when we found an available address and used it. I will add my 2 domain controller addresses and choose IPAM for the Service.

    One other way to add addresses (and not only) is to import them. You can make this task by creating a CSV file with the address info and selecting Import IP Addresses… from TASKS. Here is how the file looks when importing the IPAM-SRV1 address:

CSV to import IP address

CSV to import IP address

    And in case you want to copy the text to try it for yourself:


IP address,managed by service,service instance,device type,ip address state,assignment type,device name
192.168.1.2,ipam,localhost,host,in-use,static,IPAM-SRV1

    Copy the text, place it in a file and save it with the .CSV extension. You should have 3 addresses in the list:

IP address list

IP address list

    As for tasks related to IPs: we can edit the info, create a DHP reservation, create DNS entries and delete the above mentioned.

   Note: IPAM does not import IPs given by DHCP servers out of the box. A scheduled task has to be created in order to do this. Microsoft provides a Powershellmodule for this, which I will cover in a later post.

    These have been some of the basic tasks we can do related to IP Address Management. Next we will look at managing servers and services.

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *