In this recipe, we will outline how to create IP addresses in NetBox and how to bind these addresses to the interfaces on each of our network devices.
Populating IP addresses in NetBox
Getting ready
The network interfaces on each device within our inventory need to be defined and populated in NetBox, as outlined in the previous recipe.
How to do it...
- Create a new task to create all the IP addresses attached to the network interfaces. This is carried out for all of the network devices in our inventory under the tasks/create_device_intf_ip.yml file, as follows:
$ cat...