[DHCP][Provider Network] Instances get IP from external DHCP server

Ruslanas Gžibovskis ruslanas at lpic.lt
Fri Jan 29 06:48:02 UTC 2021


Are you sure? you are going to danger zone :) dangerzone

if you really need a RANDOM RANDOM IP, I would add network (maybe flat?)
that would contain a subnet: 0.0.0.0/0 without DHCP (if such possible, if
not, would contain 2 subnets: 0.0.0.0/1 and 128.0.0.0/1) and disable f=port
security for that network. In the image you will use, you will need to
remove cloud-init or add config option, on instance launch, that it would
not autoconfigure network interface according to Cloud assigned IP.

maybe for such task there are better options, such as simple KVM host with
bridged network?

On Fri, 29 Jan 2021 at 05:26, dangerzone ar <dangerzonen at gmail.com> wrote:

> Hi, appreciate some advice on how instances in openstack get ip from
> external DHCP server. For example instance is attached to port eth1
> (physical port) and this port is connected to home/office lan port and
> requests dhcp ip. How this can be achieved.
> ***User don't know the dhcp ip range/gw/dns that will be provided by the
> dhcp sever to that instance...instance just attach to eth1 and request
> ip.***
> Similar like our pc/notebook request dhcp ip via wifi or lan port.
> How to establish this in openstack. Please advise and help me.
> Thank you
>


-- 
Ruslanas Gžibovskis
+370 6030 7030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210129/d2f13c9b/attachment.html>


More information about the openstack-discuss mailing list