[OSA][NEUTRON] DHCP port IP

Ihar Hrachyshka ihrachys at redhat.com
Fri Jul 21 01:19:25 UTC 2023


On Thu, Jul 20, 2023 at 7:18 PM Murilo Morais <murilo at evocorp.com.br> wrote:

> Good evening everyone!
>
> I'm using OVS + VLAN Provider
>
> Guys, is there any way to remove IP from DHCP (network:dhcp)?
>
>
You can create a subnet with enable_dhcp=False, then no DHCP port is
allocated. Then let Neutron allocate addresses from the subnet range for
your VMs (just make sure that the addresses are not reused outside of
Neutron).

My gateway is external, I need the VMs to obtain the IPs directly on the
> interface without using SNAT/DNAT, but when enabling DHCP on the subnet,
> the DHCP interface consumes an IP (the first one available).
>
> Is there a way to remove this blessed IP? If not, what other path can I
> take?
>
> I'm thinking of other alternatives:
> 1. Use static IP
> 2. Use a DHCP Server on the Gateway (which makes me have to perform some
> manual operations to assign the correct IP)
>
> What would be more viable?
>
> Thanks in advance!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230720/0a631b1e/attachment.htm>


More information about the openstack-discuss mailing list