Core Issue: After setting up NetBox IPAM, creating a Container or adding an Interface to an existing one, does not make an API call to NetBox.
PVE 9.1.1
Tested against NetBox v4.5.2 and v4.6.2
Steps taken....
Added IPAM
Name, token, url. When this is added, I do see an API call to
Add Zone
Add a
Add VNet
Add a new VNet, associated with the previous Zone
Add Subnet
Add a new subnet,
This results in 2 API requests,
And I can see the newly created Prefix, if I include the gateway, it will also allocate that IP.
Create Container
Pretty normal until the Network tab, I make sure my bridge is set to the VNet created above.
Set IPV4 to
Now I would expect this would request a new IP but it doesn't. Instead, I get a 'dynamic' IPV6 address, despite IPV6 having
been left on
Not sure what to try next, I've read every post/page related to NetBox IPAM, most people seem to have an issue starting the container, but I just can't get an IP.
What also kind of maddening, this is my ~5th attempt, but earlier on I did get it to make the API requests, but it still wasn't applying to the container interface.
And I haven't even been able to get back to that point.
PVE 9.1.1
Tested against NetBox v4.5.2 and v4.6.2
Steps taken....
Added IPAM
Name, token, url. When this is added, I do see an API call to
/api/ipam/aggregates/Add Zone
Add a
Simple Zone, with the newly create IPAM. No other options are changed.Add VNet
Add a new VNet, associated with the previous Zone
Add Subnet
Add a new subnet,
192.168.123.0/24, no other options, no DHCP ranges.This results in 2 API requests,
GET /api/ipam/prefixes/?q=192.168.123.0POST /api/ipam/prefixes/ And I can see the newly created Prefix, if I include the gateway, it will also allocate that IP.
Create Container
Pretty normal until the Network tab, I make sure my bridge is set to the VNet created above.
Set IPV4 to
DHCP.Now I would expect this would request a new IP but it doesn't. Instead, I get a 'dynamic' IPV6 address, despite IPV6 having
been left on
Static.Not sure what to try next, I've read every post/page related to NetBox IPAM, most people seem to have an issue starting the container, but I just can't get an IP.
What also kind of maddening, this is my ~5th attempt, but earlier on I did get it to make the API requests, but it still wasn't applying to the container interface.
And I haven't even been able to get back to that point.
Last edited: