<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"><<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>></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>
> Thanks, I followed the 2nd article, and it got the existing virtual<br>
> 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="">
><br>
> However, any new virtual machines I created after making the changes<br>
> can't communicate with anything, they can't even get out to the<br>
> internet, even if I manually set the IP address info. Any suggestions on<br>
> that?<br>
><br>
> Paul<br></span></blockquote><div><br></div><div style="">Have you verified connectivity to the VMs' default gateway?</div><div style="">Does the ARP (address resolution protocol) process succeed?</div><div style="">arp -a | grep <Default_Gateway_IP_here></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'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 <bridge> <interface></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're using your static bridge. 'virsh dumpxml <vm>' will<br>
have a section like:<br>
<br>
====<br>
    <interface type='network'><br>
      <mac address='52:54:00:71:20:fa'/><br>
      <source network='bcn_bridge1' bridge='bcn_bridge1'/><br>
      <target dev='vnet2'/><br>
      <model type='e1000'/><br>
      <alias name='net2'/><br>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05'<br>
function='0x0'/><br>
    </interface><br>
====<br>
<br>
That tells you that the interface is MAC '52:54:00:71:20:fa' is "plugged<br>
in" to the bridge 'bcn_bridge1'. If that doesn'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 'virsh edit <vm>' if you'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 <bridge></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>