<div dir="ltr">Paul,<div><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 17, 2016 at 5:47 PM, Digimer <span dir="ltr">&lt;<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 17/03/16 04:47 PM, <a href="mailto:paul.greene.va@verizon.net">paul.greene.va@verizon.net</a> wrote:<br>
&gt; Thanks, I followed the 2nd article, and it got the existing virtual<br>
&gt; machines communicating with each other.<br></span></blockquote><div><br></div><div style="">Right, so your VMs are on the same bridge group now (at Layer2 of OSI).</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
&gt;<br>
&gt; However, any new virtual machines I created after making the changes<br>
&gt; can&#39;t communicate with anything, they can&#39;t even get out to the<br>
&gt; internet, even if I manually set the IP address info. Any suggestions on<br>
&gt; that?<br>
&gt;<br>
&gt; Paul<br></span></blockquote><div><br></div><div style="">Have you verified connectivity to the VMs&#39; default gateway?</div><div style="">Does the ARP (address resolution protocol) process succeed?</div><div style="">arp -a | grep &lt;Default_Gateway_IP_here&gt;</div><div style=""><a href="http://linux-ip.net/html/ether-arp.html">http://linux-ip.net/html/ether-arp.html</a><br></div><div style=""><br></div><div style="">You may not have a NIC connected to your physical network in that bridge group.</div><div style="">If so you need to modify your network-scripts to make that happen automatically on boot.</div><div style="">You do not necessarily need an IP address on your bridge interface unless the VM host is acting as a router (default gateway).</div><div style=""><a href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-networkscripts-interfaces_network-bridge.html">https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-networkscripts-interfaces_network-bridge.html</a><br></div><div style=""><br></div><div style="">Here&#39;s an example:</div><div style=""><div>~]# cat /etc/sysconfig/network-scripts/ifcfg-XX_br0 </div><div>DEVICE=XX_br0</div><div>TYPE=Bridge</div><div>BOOTPROTO=static</div><div>ONBOOT=yes</div><div>DELAY=0</div><div>NM_CONTROLLED=no</div></div><div style=""><br></div><div style="">You can temporarily add an interface to the bridge group for testing purposes though.</div><div style="">brctl addif &lt;bridge&gt; &lt;interface&gt;</div><div style=""><a href="http://www.tldp.org/HOWTO/BRIDGE-STP-HOWTO/set-up-the-bridge.html">http://www.tldp.org/HOWTO/BRIDGE-STP-HOWTO/set-up-the-bridge.html</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
<br>
</span>Check that they&#39;re using your static bridge. &#39;virsh dumpxml &lt;vm&gt;&#39; will<br>
have a section like:<br>
<br>
====<br>
    &lt;interface type=&#39;network&#39;&gt;<br>
      &lt;mac address=&#39;52:54:00:71:20:fa&#39;/&gt;<br>
      &lt;source network=&#39;bcn_bridge1&#39; bridge=&#39;bcn_bridge1&#39;/&gt;<br>
      &lt;target dev=&#39;vnet2&#39;/&gt;<br>
      &lt;model type=&#39;e1000&#39;/&gt;<br>
      &lt;alias name=&#39;net2&#39;/&gt;<br>
      &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x05&#39;<br>
function=&#39;0x0&#39;/&gt;<br>
    &lt;/interface&gt;<br>
====<br>
<br>
That tells you that the interface is MAC &#39;52:54:00:71:20:fa&#39; is &quot;plugged<br>
in&quot; to the bridge &#39;bcn_bridge1&#39;. If that doesn&#39;t connect to the right<br>
bridge, then you need to change it (virt-manager has a simple to use GUI<br>
for this, or you can use &#39;virsh edit &lt;vm&gt;&#39; if you&#39;re comfortable editing<br>
XML).</blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra" style="">An additional command to run to verify your Ethernet bridge(s) operation is:</div><div class="gmail_extra" style="">brctl show</div><div class="gmail_extra" style="">brctl show &lt;bridge&gt;</div><div class="gmail_extra" style=""><br></div><div class="gmail_extra" style=""><div class="gmail_extra">~]# brctl show XX_br0</div><div class="gmail_extra">bridge name<span class="" style="white-space:pre">        </span>bridge id<span class="" style="white-space:pre">                </span>STP enabled<span class="" style="white-space:pre">        </span>interfaces</div><div class="gmail_extra">XX_br0<span class="" style="white-space:pre">                </span>8000.00151713fdbc<span class="" style="white-space:pre">        </span>no<span class="" style="white-space:pre">                </span>p1p1</div><div class="gmail_extra"><span class="" style="white-space:pre">                                                        </span>vnet0</div><div class="gmail_extra"><span class="" style="white-space:pre">                                                        </span>vnet1</div><div class="gmail_extra"><span class="" style="white-space:pre">                                                        </span>vnet11</div><div class="gmail_extra"><span class="" style="white-space:pre">                                                        </span>vnet12</div><div class="gmail_extra"><span class="" style="white-space:pre">                                                        </span>vnet13</div><div class="gmail_extra"><span class="" style="white-space:pre">                                                        </span>vnet19</div><div class="gmail_extra"><span class="" style="white-space:pre">                                                        </span>vnet2</div><div class="gmail_extra"><span class="" style="white-space:pre">                                                        </span>vnet4</div><div class="gmail_extra"><span class="" style="white-space:pre">                                                        </span>vnet6</div><div class="gmail_extra"><span class="" style="white-space:pre">                                                        </span>vnet7</div><div><br></div></div><div class="gmail_extra"><br></div>-- <br><div class="gmail_signature">---~~.~~---<br>Mike<br>//  SilverTip257  //</div>
</div></div></div>