[one-users] set up a bridge in a root server

Olivier Sallou olivier.sallou at irisa.fr
Wed May 1 22:48:09 PDT 2013


On 05/02/2013 06:54 AM, Qiubo Su (David Su) wrote:
> dear all,
>
> for preparation to install opennebula, login to a remote root server
> to set up a bridge. after run "apt-get install bridge-utils", add
> below two lines in the /etc/network/interfaces file after "iface eth0
> inet manual"
>
> auto br0
> iface br0 inet static
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.

auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static
    address your.ip.address
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.X
    dns-nameservers 192.168.1.X
    dns-search mydomain.org
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0

This will create a bridge over eth0. Configuration is a static one
here,not DHCP.
>
> however when run "/etc/init.d/networking restart", can't access to the
> root server through ssh any more.
>
> the IP address assigned to this root server is the public static IP
> address, not a local IP address assigned by DHCP server?
>
> can any one help with this - why the root can't be accessed any more
> and how to access to the server again?
>
> thanks,
> q.s.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130502/e510943f/attachment-0002.htm>


More information about the Users mailing list