<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">On 05/02/2013 06:54 AM, Qiubo Su (David
      Su) wrote:<br>
    </div>
    <blockquote
cite="mid:CABCZRO44ENoa80ExkDcBhPdj7N=Z=9NM193qq9JChzwMxPP0eg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div style=""><span
            style="font-family:arial,sans-serif;font-size:13px">dear
            all,</span></div>
        <div style=""><span
            style="font-family:arial,sans-serif;font-size:13px"><br>
          </span></div>
        <div style=""><span
            style="font-family:arial,sans-serif;font-size:13px">for
            preparation to install opennebula, login to a remote root
            server to set up a bridge. </span><span
            style="font-family:arial,sans-serif;font-size:13px">after
            run "apt-get install bridge-utils", add below two lines in
            the</span><span
            style="font-family:arial,sans-serif;font-size:13px"> /etc/network/interfaces
            file after "iface eth0 inet manual"</span></div>
        <br style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">auto
          br0</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">iface
          br0 inet static</span><br
          style="font-family:arial,sans-serif;font-size:13px">
      </div>
    </blockquote>
    Here is what your interfaces files should look like. Of course you
    should update gateway etc.. by your settings and eventually eth0 by
    your own ethernet interface name.<br>
    <br>
    auto lo<br>
    iface lo inet loopback<br>
    <br>
    # The primary network interface<br>
    auto eth0<br>
    iface eth0 inet manual<br>
    <br>
    auto br0<br>
    iface br0 inet static<br>
        address your.ip.address<br>
        netmask 255.255.255.0<br>
        network 192.168.1.0<br>
        broadcast 192.168.1.255<br>
        gateway 192.168.1.X<br>
        dns-nameservers 192.168.1.X<br>
        dns-search mydomain.org<br>
            bridge_ports eth0<br>
            bridge_stp off<br>
            bridge_fd 0<br>
            bridge_maxwait 0<br>
    <br>
    This will create a bridge over eth0. Configuration is a static one
    here,not DHCP.<br>
    <blockquote
cite="mid:CABCZRO44ENoa80ExkDcBhPdj7N=Z=9NM193qq9JChzwMxPP0eg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <br style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">however
          when run "/etc/init.d/networking restart", can't access to the
          root server through </span><span
          style="font-family:arial,sans-serif;font-size:13px">ssh any
          more.</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px"><br>
        </span>
        <div><span style="font-family:arial,sans-serif;font-size:13px">the
            IP address assigned to this root server is the public static
            IP address, not a </span><span
            style="font-family:arial,sans-serif;font-size:13px">local IP
            address assigned by DHCP server?</span><br>
        </div>
        <div><span style="font-family:arial,sans-serif;font-size:13px"><br>
          </span></div>
        <div style=""><span
            style="font-family:arial,sans-serif;font-size:13px">can any
            one help with this - why the root can't be accessed any more
            and </span><span
            style="font-family:arial,sans-serif;font-size:13px">how to
            access to the server again?</span></div>
        <div style=""><span
            style="font-family:arial,sans-serif;font-size:13px"><br>
          </span></div>
        <div style=""><span
            style="font-family:arial,sans-serif;font-size:13px">thanks,</span></div>
        <div style=""><span
            style="font-family:arial,sans-serif;font-size:13px">q.s.</span></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

</pre>
  </body>
</html>