[openstack][neutron] it is good if we set fixed ip and set ip in instance netplan also

Nguyễn Hữu Khôi nguyenhuukhoinw at gmail.com
Sun Aug 13 00:42:23 UTC 2023


Hi Arnaud.
Thank you so much for your reply. I will verify it.
Nguyen Huu Khoi


On Sat, Aug 12, 2023 at 12:38 AM Arnaud <arnaud.morin at gmail.com> wrote:

> IIRC, when you disable dhcp on the network, modern cloud-init (like debian
> 12/Ubuntu 22.04) will configure the IP on your instance at boot time after
> doing a metadata network request.
>
> That just works, but it depends on OS.
> Cheers,
> Arnaud
>
>
> Le 11 août 2023 04:43:42 GMT+02:00, "Nguyễn Hữu Khôi" <
> nguyenhuukhoinw at gmail.com> a écrit :
>
>> Yes. I agree with you but when all controller is down and some users need
>> to reboot their instances then it won't have ip. This is my worry.
>>
>> Nguyen Huu Khoi
>>
>>
>> On Fri, Aug 11, 2023 at 5:00 AM Clark Boylan <cboylan at sapwetik.org>
>> wrote:
>>
>>> On Thu, Aug 10, 2023, at 12:00 AM, Nguyễn Hữu Khôi wrote:
>>> > Hello guys.
>>> >
>>> > Sometimes I see that my instances won't get IP from Neutron DHCP Agent.
>>> >
>>> > Is it good if we set a fixed port for instance and set a static ip in
>>> > the instance's netplan configuration also?
>>>
>>> We do this for IPv6 addresses on some of our servers as we've had
>>> problems with RAs. It seems to work fine in that case. Ideally, this
>>> shouldn't be necessary for any cloud instance though and it might be worth
>>> digging into why dhcp isn't working so that it can be corrected.
>>>
>>> >
>>> >
>>> > Nguyen Huu Khoi
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230813/3883e6a6/attachment.htm>


More information about the openstack-discuss mailing list