Hi Michele, When requesting a floating IPs, how about using the "--subnet" parameter like in this example? openstack floating ip create --project test-project2 --subnet <subnet> ext_vlan Best, Matteo On Tue, Jul 23, 2024 at 12:00 PM MIchele Delli Veneri <michele.delliveneri@na.infn.it> wrote:
Dear all,
My network setup includes a single external network (ext_vlan) with 2 subnets: 10.x.x.0/24 and 193.x.x.0/24. Is there a way to setup the allocation logic such as that given a project, all floating ips in the project are always allocated on one of the two subnets unless the subnet is explicited (as it may happen through the Openstack CLI or the admin horizon interface)?
The ideal outcome would be, given the project test-project and test-project2 , that running openstack floating ip create —project test-project ext_vlan always allocate the floating ip on the 193.x.x subnet while openstack floating ip create —project test-project2 ext_vlan always allocates the floating ip on the 10.x.x. subnet.
Best regards, Michele