Ask Your Question
1

How to bring br100 up persistently?

asked 2013-10-24 08:02:41 -0500

Dongjh gravatar image

Hello,

After adding the br100 bridge via the brctl command, and adding the bridge interface information into /etc/network/interfaces, the bridge br100 will disappear after each server reboot.

root@compute1:~# brctl addbr br100 



root@compute1:~# cat /etc/network/interfaces|grep -v "#"

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
auto eth4
iface eth4 inet static
        address 10.10.10.182
        netmask 255.255.255.0
        network 10.10.10.0
        broadcast 10.10.10.255
auto br100
iface br100 inet static
        address 192.168.11.182
        netmask 255.255.255.0
        bridge_stp off
        bridge_fd 0

My platform is Ubuntu 12.04.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-10-24 09:48:45 -0500

marcantonio gravatar image

Add the bridge_ports option under the interface so it knows how to create the bridge. For example:

iface br100 inet static
        address 192.168.11.182
        netmask 255.255.255.0
        bridge_stp off
        bridge_fd 0
        bridge_ports eth0
edit flag offensive delete link more

Comments

Thanks, issue resolved.

Dongjh gravatar imageDongjh ( 2013-10-25 00:05:43 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-10-24 08:02:41 -0500

Seen: 2,345 times

Last updated: Oct 24 '13