[Openstack] DHCP configuration with openvSwitch

Damon Wang damon.devops at gmail.com
Wed Apr 30 00:38:39 UTC 2014


Hi Akash,

Can you paste your log of /etc/message, normally, you'll see something like
this:

"Apr 27 09:21:48 gd60 dnsmasq-dhcp[8872]: DHCPREQUEST(tapce4121ff-d6)
192.168.220.6 fa:16:3e:21:1f:58
"Apr 27 09:21:48 gd60 dnsmasq-dhcp[8872]: DHCPACK(tapce4121ff-d6)
192.168.220.6 fa:16:3e:21:1f:58 host-192-168-220-6
"Apr 27 21:21:48 gd60 dnsmasq-dhcp[8872]: DHCPREQUEST(tapce4121ff-d6)
192.168.220.6 fa:16:3e:21:1f:58
"Apr 27 21:21:48 gd60 dnsmasq-dhcp[8872]: DHCPACK(tapce4121ff-d6)
192.168.220.6 fa:16:3e:21:1f:58 host-192-168-220-6"

Besides, try to check iptables, you can use raw table to trace data path in
iptables.

Hope it helps,
Damon


2014-04-30 2:05 GMT+08:00 Akash Gunjal <akgunjal at in.ibm.com>:

>
> Hello,
>
> I am using icehouse version for doing my network setup using openvSwitch
> agent with ML2 plugin. I want to configure flat network with DHCP server so
> the IP gets assigned to the guest VMs after deployment. As part of this I
> have started the dhcp and openvSwitch agents on my compute node and created
> a flat private network and deployed the virtual machine on the compute. The
> VM gets deployed but it fails to get the IP from the controller even though
> I see the IP assigned on the controller for that VM.
>
> I see an error message on the VM boot up stating that its cannot connect to
> 169.254.169.254
>
> I see the dnsmasq process running on my compute node. Please point me to
> the error here and if my dhcp setup is correct.
>
> Regards,
> Akash
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140430/b1b42468/attachment.html>


More information about the Openstack mailing list