NetBox IPAM not updated on new VM

hachiman

New Member
Jan 29, 2025
11
2
3
Hi everyone,
I am currently struggling with IPAM NetBox integration and hope someone has an idea.
I used the documentation here: https://pve.proxmox.com/wiki/Software-Defined_Network - basically just created a token and added it, together with URL, to Proxmox.

When deploying new VMs in an Netbox IPAM subnet there is no update in Netbox.

Netbox is up and running, a VLAN and an IP range prefix is created.

Screenshot 2025-03-04 at 11.33.15.png

netbox is configured on the cluster, and the API key apparently works.

Screenshot 2025-03-04 at 11.34.33.png
Screenshot 2025-03-04 at 11.35.23.png


Network works. The VM gets IP settings via DHCP (from the firewall, NOT the Proxmox cluster)

The IP address for the gatweay is automatically created in Netbox. So there apparently is some successful communication between PVE and netbox.

Anyone any idea what is missing here?
 
Last edited:
Thanks @blebo. I am not sure whether this is a prerequisite, based on the doc. What works is for example the automatic creation of the FW / GW IP address once I create the VNet.
Even though this IP is static and not related to any PVE DHCP, it is correctly added to Netbox.

But it might be worth it to check it out. Using dnsmasq for DHCP and see if it works.

The doc doesnt really mention any dependancies, unfortunately:

NetBox IPAM Plugin​

NetBox is an open-source IP Address Management (IPAM) and datacenter infrastructure management (DCIM) tool.
To integrate NetBox with Proxmox VE SDN, create an API token in NetBox as described here: https://docs.netbox.dev/en/stable/integrations/rest-api/#tokens
The NetBox configuration properties are:
URL
The NetBox REST API endpoint: http://yournetbox.domain.com/api

Token
An API access token
 
Now I am super confused. My VNets are based on .1q vlans.
Apparently the DHCP option is only avaiable when you create a simple zone.
Creating a VLAN zone offers no dhcp.

So VLANs can not be used with IPAM and DHCP?

Screenshot 2025-03-05 at 17.53.41.png

Screenshot 2025-03-05 at 17.53.32.png