<div dir="ltr">Are you sure? you are going to danger zone :) dangerzone<div><br></div><div>if you really need a RANDOM RANDOM IP, I would add network (maybe flat?) that would contain a subnet: <a href="http://0.0.0.0/0">0.0.0.0/0</a> without DHCP (if such possible, if not, would contain 2 subnets: <a href="http://0.0.0.0/1">0.0.0.0/1</a> and <a href="http://128.0.0.0/1">128.0.0.0/1</a>) 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.</div><div><br></div><div>maybe for such task there are better options, such as simple KVM host with bridged network?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 29 Jan 2021 at 05:26, dangerzone ar <<a href="mailto:dangerzonen@gmail.com">dangerzonen@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">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. <div>***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.***</div><div>Similar like our pc/notebook request dhcp ip via wifi or lan port.</div><div>How to establish this in openstack. Please advise and help me.</div><div>Thank you</div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Ruslanas Gžibovskis<br>+370 6030 7030<br></div></div></div>