<div dir="ltr">Hello,<div><br></div><div>many thanks for your prompt response.</div><div><br></div><div>i dissbaled the dhcp from virtualbox and now the vms get the ip from the neutron dhcp as registered by the controller. </div><div>Works fine!</div><div><br></div><div><br></div><div>all the best,</div><div>Pavlos.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 25, 2020 at 4:58 PM Slawek Kaplonski <<a href="mailto:skaplons@redhat.com" target="_blank">skaplons@redhat.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">Hi,<br>
<br>
On Wed, Nov 25, 2020 at 02:52:56PM +0200, Pavlos Basaras wrote:<br>
> Hello,<br>
> <br>
> Setup:<br>
> i follow the main instruction for deploying openstack for learning purposes.<br>
> I can successfully deploy vms in an internal network, and also connect them<br>
> to a router that gives internet access using floating ips etc.<br>
> My setup is based on ubuntu 18. I have virtualbox for deploying controller<br>
> (10.0.0.11) and compute (10.0.0.31) etc.<br>
> I have host only adapters at virtual box (dhcp enabled) for the two<br>
> networks: mgmt: <a href="http://10.0.0.0/24" rel="noreferrer" target="_blank">10.0.0.0/24</a> and provider <a href="http://203.0.111.0/24" rel="noreferrer" target="_blank">203.0.111.0/24</a> as per the default<br>
> instructions, and i use iptables to NAT the vms.<br>
> <br>
> Problem:<br>
> When following the instructions from<br>
> <a href="https://docs.openstack.org/install-guide/launch-instance-provider.html" rel="noreferrer" target="_blank">https://docs.openstack.org/install-guide/launch-instance-provider.html</a> the<br>
> vm is deployed successfully but the ip that it is assigned is different<br>
> from the one that the controller has.<br>
> It seems that there are more than one dhcp instances running? How can i<br>
> debug this?<br>
<br>
I'm not sure if I understand correctly but do You want to have Your virtualbox<br>
to run as DHCP server for vms run by OpenStack?<br>
Neutron has own dhcp agent and that is providing IPs to Your VMs according to<br>
the IP Allocation done by neutron. IPs are form the subnet created in the<br>
network to which Your vm is plugged.<br>
<br>
> <br>
> <br>
> Any advice?<br>
> <br>
> all the best,<br>
> Pavlos.<br>
<br>
-- <br>
Slawek Kaplonski<br>
Principal Software Engineer<br>
Red Hat<br>
<br>
</blockquote></div>