<div dir="ltr">Adding mailing list back...<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 4, 2016 at 3:38 PM, Yevgeny Zaspitsky <span dir="ltr"><<a href="mailto:yzaspits@redhat.com" target="_blank">yzaspits@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Clint,<br><br></div>Sorry, I missed that you already tried that.<br></div><br></div>Here are my thoughts (some more shooting in the dark) after reading your description again:<br><ul><li>You have quite complicate setup. IIUC, ovirt-engine and its host are vSphere VMs. Then, a kind of no-macspoof should be applied from the vSphere side. BTW, are both of them on the same vShepre host? Is DHCP server another VM on that host?<br></li><li>Where/how did you "turn on Port Mirroring"?<br></li><li>I'd start the troubleshooting by using tcpdump utility in order to pinpoint the component that blocks the traffic.</li><li>Did you try assigning a static IP instead of DHCP and then check connectivity? If that works, then the problem is on the DHCP sever side probably.</li><li>If you do not see any requests in the DHCP server log, then I guess, "dhclient -B" wouldn't help.</li><li>Please turn iptables/firewalld off.</li></ul></div><div><br></div><div>Regards,<br></div><div>Yevgeny<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 3, 2016 at 9:06 PM, Yevgeny Zaspitsky <span dir="ltr"><<a href="mailto:yzaspits@redhat.com" target="_blank">yzaspits@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hello,<br><br></div>IIUC using vdsm macspoof hook would help - reading [1] should help you configuring that.<br><br>[1] <a href="https://github.com/oVirt/vdsm/blob/master/vdsm_hooks/macspoof/README" target="_blank">https://github.com/oVirt/vdsm/blob/master/vdsm_hooks/macspoof/README</a><br><br></div>Hope that helps,<br></div>Yevgeny<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Jun 30, 2016 at 6:11 AM, Clint Smith <span dir="ltr"><<a href="mailto:clint.smith.maui@gmail.com" target="_blank">clint.smith.maui@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div>Hello,</div><div><br></div><div>I have been experimenting with oVirt for the last couple of weeks and I must say it has a lot of nice features. I really like it, however, I am having a heck of a time getting the guest networking all set up correctly. I am hoping that someone can give me a little guidance in figuring this out. I apologize in advance if some of my terminology is off, I am new.</div><div><br></div><div>Here is a brief intro to my setup:</div><div>I created a Centos 7 VM within a vSphere/ESXI environment and then installed ovirt-engine on it. I also created another Centos 7 VM and set it up as a host. I have configured the Cluster and Host via the oVirt Administration Portal. For simplicity, I am using the default ovirtmgmt network as my only logical network, however I have tried several different schemes with no luck. I have a DHCP server and a DNS server that are siblings to the oVirt host and the engine. Both the engine and the host have been upgraded to version 4.0.</div><div><br></div><div>The problem:</div><div>My thought was that I would have the guest VMs on the oVirt host use my existing DHCP server to get their IP addresses, at least at first. The problem I am having is that the DHCPACK is not making it back across the ovirtmgmt bridge and on to the guest. If I tell dhclient(from the guest) to force a Broadcast (by using the –B option) on the DHCP server, it will work. This is not a solution, just a clue. Another clue is that ARP replies from the gateway don’t make it back to the machine, preventing pings even when I force the IP. Lastly, If I turn on Port Mirroring, everything works fine, but it’s my understanding that this is only for debugging purposes.</div><div><br></div><div>What I have tried (in no particular order):</div><ul><li>Reading the docs</li><li>Turning on VLAN tagging.</li><li>Installing the mac-spoofing hook, making the configuration changes to the engine, and then turning it on in the VM config. I also verified that the ‘filterref’ tag was removed using virsh.</li><li>Setting up a second logical network on a different subnet, and connecting it to an additional network interface that I added to the host. On the host, I setup dnsmasq as a DNS and DHCP server. I got this working up to the point of having the same issues that I was having using the existing DHCP and DNS servers on the ovirtmgmt network.</li><li>I have tried various changes to iptables as well as the original settings as well as verified that ebtables is not blocking any traffic. I did configure iptables for logging and noticed it was dropping some traffic related to DHCP, however it seemed like it was DISCOVER or REQUEST traffic due to the IN, OUT, SRC, and DST variables in the log. I have viewed the DHCP server logs multiple times and I can see that it is receiving the DISCOVER and the REQUEST from my guests MAC and sending the OFFER and ACK consistently.</li><li>Setting SELinux to Permissive</li><li>Setting ip_forward to 1</li><li>Turning STP ON on the bridge</li><li>Changing the bridge delay</li><li>Setting up a dhcrelay using dnsmasq (not sure I implemented this right though)</li></ul><div>I am really shooting in the dark when it comes to networking because I am learning a lot of this on the fly. I feel like I must have a misconception about how networking should work with oVirt. Is my entire approach naïve? Any help/guidance that someone could offer would be much appreciated.</div><div><br></div><div>Thanks,</div><div>Clint</div><div><br></div><div><br></div><div><br></div><div><div></div></div></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>