<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>we had the same issue (oVirt 3.0 & oVirt 3.2.1) when using balance-rr for VM networking:<br>Windows VM couldn’t access network.<br><br>After changing to bond mode to 4 (LACP) , Windows VM networking was possible.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Cheers,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Sven.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#5A5A5A'>Sven Knohsalla </span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#C00000'>|</span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#5A5A5A'> System Administration | Netbiscuits<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:gray'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#5A5A5A'>Office +49 631 68036 433 | Fax +49 631 68036 111 |E-Mail</span><span lang=EN-US style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#505050'> </span><span lang=EN-US style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#0070C0'>s.knohsalla@netbiscuits.com</span><span lang=EN-US style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#5A5A5A'> | Skype: </span><span lang=EN-US style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#0070C0'>netbiscuits.admin</span><span lang=EN-US style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#5A5A5A'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#5A5A5A'>Netbiscuits GmbH | Europaallee 10 | 67657 | GERMANY<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Von:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] <b>Im Auftrag von </b>Karli Sjöberg<br><b>Gesendet:</b> Freitag, 20. September 2013 13:11<br><b>An:</b> SULLIVAN, Chris (WGK)<br><b>Cc:</b> users@ovirt.org<br><b>Betreff:</b> Re: [Users] oVirt 3.3/F19 - Windows guest unable to access network<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>fre 2013-09-20 klockan 10:50 +0000 skrev SULLIVAN, Chris (WGK): <o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre><o:p> </o:p></pre><pre>Hi,<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Just following up on this issue. Turns out the network problems were being caused by the bond0 interface.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>The initial configuration was two NICs teamed as bond0, which was then bridged to the ovirtmgmt interface. With this configuration, RHEL guests could access the network normally but Windows guests (XP, 7, 2008 R2) could not. After deactivating the bond0 interface and bridging one of the NICs directly to the ovirtmgmt interface, both RHEL and Windows guests have fully functioning networks.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>I am not sure why exactly the bond0 interface was not working as intended. The initial configuration had the mode as balance-rr, is this known to cause problems? My intention was to have the mode as balance-alb however the bonding driver in F19 seems to completely ignore any BONDING_OPTS settings in the ifcfg-bond0 file. Attempts to change the bonding mode directly via /sys/class/net/bond0/bonding/mode repeatedly failed due to 'the bond having slaves', even after the bond had been taken down via ifconfig. I was not able to remove the bond0 definition either, even after removing the ifcfg-bond0 file and the modprobe.d alias.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Is there a recommended/tested bonding configuration HOWTO for oVirt on F19?<o:p></o:p></pre></blockquote><p class=MsoNormal><br>Well, for what it´s worth, here´s our ifcfg-bond0:<br>DEVICE="bond0"<br>NM_CONTROLLED="no"<br>USERCTL="no"<br>BOOTPROTO="none"<br>BONDING_OPTS="mode=4 miimon=100"<br>TYPE="Ethernet"<br><br>And we also have VLAN-interfaces on top of that, and then bridges on top of them, and no issues so far.<br><br>Found the mode-definitions at "<a href="http://www.linuxhorizon.ro/bonding.html">http://www.linuxhorizon.ro/bonding.html</a>":<br><b>mode=0 (balance-rr)</b><br>Round-robin policy: Transmit packets in sequential order from the first available slave through the last. This mode provides load balancing and fault tolerance.<br><br><b>mode=1 (active-backup)</b><br>Active-backup policy: Only one slave in the bond is active. A different slave becomes active if, and only if, the active slave fails. The bond's MAC address is externally visible on only one port (network adapter) to avoid confusing the switch. This mode provides fault tolerance. The primary option affects the behavior of this mode.<br><br><b>mode=2 (balance-xor)</b><br>XOR policy: Transmit based on [(source MAC address XOR'd with destination MAC address) modulo slave count]. This selects the same slave for each destination MAC address. This mode provides load balancing and fault tolerance.<br><br><b>mode=3 (broadcast)</b><br>Broadcast policy: transmits everything on all slave interfaces. This mode provides fault tolerance.<br><br><b>mode=4 (802.3ad)</b><br>IEEE 802.3ad Dynamic link aggregation. Creates aggregation groups that share the same speed and duplex settings. Utilizes all slaves in the active aggregator according to the 802.3ad specification.<br><br>HTH!<br><br>/Karli<br><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>Joop: Responses as follows:<o:p></o:p></pre><pre> - Windows firewall was disabled in each Windows VM<o:p></o:p></pre><pre> - Changing the CPU setting and starting the VM directly on the host via QEMU (i.e. not through oVirt) did not seem to affect the behavior<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Thanks,<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Chris<o:p></o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>PLEASE CONSIDER THE ENVIRONMENT, DON'T PRINT THIS EMAIL UNLESS YOU REALLY NEED TO.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>This email and its attachments may contain information which is confidential and/or legally privileged. If you are not the intended recipient of this e-mail please notify the sender immediately by e-mail and delete this e-mail and its attachments from your computer and IT systems. You must not copy, re-transmit, use or disclose (other than to the sender) the existence or contents of this email or its attachments or permit anyone else to do so.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>-----------------------------<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>-----Original Message-----<o:p></o:p></pre><pre>From: <a href="mailto:users-bounces@ovirt.org">users-bounces@ovirt.org</a> [<a href="mailto:users-bounces@ovirt.org">mailto:users-bounces@ovirt.org</a>] On Behalf Of <a href="mailto:users-request@ovirt.org">users-request@ovirt.org</a><o:p></o:p></pre><pre>Sent: Thursday, September 19, 2013 3:31 PM<o:p></o:p></pre><pre>To: <a href="mailto:users@ovirt.org">users@ovirt.org</a><o:p></o:p></pre><pre>Subject: Users Digest, Vol 24, Issue 93<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>------------------------------<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Message: 3<o:p></o:p></pre><pre>Date: Thu, 19 Sep 2013 09:13:43 +0200<o:p></o:p></pre><pre>From: noc <<a href="mailto:noc@nieuwland.nl">noc@nieuwland.nl</a>><o:p></o:p></pre><pre>Cc: "<a href="mailto:users@ovirt.org">users@ovirt.org</a>" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>><o:p></o:p></pre><pre>Subject: Re: [Users] oVirt 3.3/F19 - Windows guest unable to access<o:p></o:p></pre><pre> network<o:p></o:p></pre><pre>Message-ID: <<a href="mailto:523AA427.2060605@nieuwland.nl">523AA427.2060605@nieuwland.nl</a>><o:p></o:p></pre><pre>Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>On 18-9-2013 23:08, SULLIVAN, Chris (WGK) wrote:<o:p></o:p></pre><pre><span style='color:#737373'>></span><o:p> </o:p></pre><pre><span style='color:#737373'>> Hi,</span><o:p></o:p></pre><pre><span style='color:#737373'>></span><o:p> </o:p></pre><pre><span style='color:#737373'>> I'm having network issues with a Windows Server 2008 R2 guest running</span><o:p></o:p></pre><pre><span style='color:#737373'>> on an F19 host. The guest has a static configuration and is able to</span><o:p></o:p></pre><pre><span style='color:#737373'>> ping itself and the host it is running on, however cannot ping the</span><o:p></o:p></pre><pre><span style='color:#737373'>> gateway, any other hosts on the local network, or external hosts. A</span><o:p></o:p></pre><pre><span style='color:#737373'>> RHEL 6.4 guest on the same host with a similar static configuration</span><o:p></o:p></pre><pre><span style='color:#737373'>> works normally.</span><o:p></o:p></pre><pre><span style='color:#737373'>></span><o:p> </o:p></pre><pre><span style='color:#737373'>> Iptables/firewalld on the host are switched off and the network</span><o:p></o:p></pre><pre><span style='color:#737373'>> definitions in the XML for each VM (Windows/RHEL) are the same. The</span><o:p></o:p></pre><pre><span style='color:#737373'>> virtio network drivers are installed in the guest. The guest was</span><o:p></o:p></pre><pre><span style='color:#737373'>> created from a Win 2008 R2 template, which was created from a VM</span><o:p></o:p></pre><pre><span style='color:#737373'>> imported from oVirt 3.2. Software versions below.</span><o:p></o:p></pre><pre><span style='color:#737373'>></span><o:p> </o:p></pre><pre>Just to be sure, iptables/firewalld!=Windows Firewall. Is there a rule<o:p></o:p></pre><pre>in the windows firewall to allow ping or is it disabled?<o:p></o:p></pre><pre><o:p> </o:p></pre><pre><span style='color:#737373'>> Are there any manual configuration steps required on the host to</span><o:p></o:p></pre><pre><span style='color:#737373'>> support Windows guests? Are there any particular diagnostic steps I</span><o:p></o:p></pre><pre><span style='color:#737373'>> could take to try and narrow down the cause?</span><o:p></o:p></pre><pre><span style='color:#737373'>></span><o:p> </o:p></pre><pre>Don't think so, just converted a Windows2008R2 datacenter guest from<o:p></o:p></pre><pre>Vmware to oVirt and it ran, after adding virtio drivers or using e1000<o:p></o:p></pre><pre>and/or ide disks.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre><span style='color:#737373'>> Versions:</span><o:p></o:p></pre><pre><span style='color:#737373'>></span><o:p> </o:p></pre><pre><span style='color:#737373'>> -oVirt 3.3.0-4</span><o:p></o:p></pre><pre><span style='color:#737373'>></span><o:p> </o:p></pre><pre><span style='color:#737373'>> -F19 3.10.11-200</span><o:p></o:p></pre><pre><span style='color:#737373'>></span><o:p> </o:p></pre><pre><span style='color:#737373'>> -QEMU 1.4.2-9</span><o:p></o:p></pre><pre><span style='color:#737373'>></span><o:p> </o:p></pre><pre><span style='color:#737373'>> -Libvirt 1.1.2-1</span><o:p></o:p></pre><pre><span style='color:#737373'>></span><o:p> </o:p></pre><pre><span style='color:#737373'>> -VDSM 4.12.1-2</span><o:p></o:p></pre><pre><span style='color:#737373'>></span><o:p> </o:p></pre><pre><span style='color:#737373'>> -virtio-win 0.1-52</span><o:p></o:p></pre><pre><span style='color:#737373'>></span><o:p> </o:p></pre><pre><span style='color:#737373'>></span><o:p> </o:p></pre><pre>Your problem looks like the problem Ren? had with his Solaris guest, its<o:p></o:p></pre><pre>a recent thread. Turned out that setting -cpu Nehalem by ovirt caused<o:p></o:p></pre><pre>networking in the Solaris guest to fail.<o:p></o:p></pre><pre>Don't think this is your problem though since lots of people run Windows<o:p></o:p></pre><pre>guest without problems.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Regards,<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Joop<o:p></o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>Users mailing list<o:p></o:p></pre><pre><a href="mailto:Users@ovirt.org">Users@ovirt.org</a><o:p></o:p></pre><pre><a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a><o:p></o:p></pre></blockquote><p class=MsoNormal><o:p> </o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%'><tr><td style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal>-- <br><br>Med Vänliga Hälsningar<br>-------------------------------------------------------------------------------<br>Karli Sjöberg<br>Swedish University of Agricultural Sciences<br>Box 7079 (Visiting Address Kronåsvägen 8)<br>S-750 07 Uppsala, Sweden<br>Phone: +46-(0)18-67 15 66<br><a href="mailto:karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a> <o:p></o:p></p></td></tr></table><p class=MsoNormal><o:p> </o:p></p></div></body></html>