<div dir="ltr">hi, if you turn off the "ARP Spoofing" flag and restart the q-agt service. Does vm can get IP successfully?</div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-06 17:03 GMT+08:00 Huan Xie <span dir="ltr"><<a href="mailto:huan.xie@citrix.com" target="_blank">huan.xie@citrix.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi all,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m trying to deploy OpenStack environment using DevStack with latest master code.<u></u><u></u></p>
<p class="MsoNormal">I use Xenserver + neutron, with ML2 plugins and VLAN type.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The problem I met is that the instances cannot really get IP address (I use DHCP), although we can see the VM with IP from horizon.<u></u><u></u></p>
<p class="MsoNormal">I have tcpdump from VM side and DHCP server side, I can get DHCP request packet from VM side but cannot see any request packet from DHCP server side.<u></u><u></u></p>
<p class="MsoNormal">But after I reboot the q-agt, the VM can get IP successfully.<u></u><u></u></p>
<p class="MsoNormal">Checking the difference before and after q-agt restart, all my seen are the flow rules about ARP spoofing.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">This is the q-agt’s br-int port, it is dom0’s flow rules and the bold part are new added  <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">                NXST_FLOW reply (xid=0x4):<u></u><u></u></p>
<p class="MsoNormal">               cookie=0x824d13a352a4e216, duration=163244.088s, table=0, n_packets=93, n_bytes=18140, idle_age=4998, hard_age=65534, priority=0 actions=NORMAL<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:.5in"><b>cookie=0x824d13a352a4e216, duration=163215.062s, table=0, n_packets=7, n_bytes=294, idle_age=33540, hard_age=65534, priority=10,arp,in_port=5 actions=resubmit(,24)<u></u><u></u></b></p>
<p class="MsoNormal">               cookie=0x824d13a352a4e216, duration=163230.050s, table=0, n_packets=25179, n_bytes=2839586, idle_age=5, hard_age=65534, priority=3,in_port=2,dl_vlan=1023 actions=mod_vlan_vid:1,NORMAL<u></u><u></u></p>
<p class="MsoNormal">               cookie=0x824d13a352a4e216, duration=163236.775s, table=0, n_packets=0, n_bytes=0, idle_age=65534, hard_age=65534, priority=2,in_port=2 actions=drop<u></u><u></u></p>
<p class="MsoNormal">               cookie=0x824d13a352a4e216, duration=163243.516s, table=23, n_packets=0, n_bytes=0, idle_age=65534, hard_age=65534, priority=0 actions=drop<u></u><u></u></p>
<p class="MsoNormal">               cookie=0x824d13a352a4e216, duration=163242.953s, table=24, n_packets=0, n_bytes=0, idle_age=65534, hard_age=65534, priority=0 actions=drop<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:.5in"><b>cookie=0x824d13a352a4e216, duration=163215.636s, table=24, n_packets=7, n_bytes=294, idle_age=33540, hard_age=65534, priority=2,arp,in_port=5,arp_spa=10.0.0.6 actions=NORMAL<u></u><u></u></b></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I cannot see other changes after reboot q-agt, but it seems these rules are only for ARP spoofing, however, the instance can get IP from DHCP.<u></u><u></u></p>
<p class="MsoNormal">I also google for this problem, but failed to deal this problem.<u></u><u></u></p>
<p class="MsoNormal">Is anyone met this problem before or has any suggestion about how to debugging for this?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks a lot<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">BR//Huan<u></u><u></u></p>
</div>
</div>

<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>