I am running Ubuntu server 15.04 in a virtual machine. I am able to use the brctl program to create and manipulate networking bridges. I've decided to persist the setup (through reboots) by updating my /etc/network/interfaces as shown below:auto m-br0iface m-br0 inet staticbridge_stp 0ffbridge_maxwait 0bridge_fd 0address 10.0.0.1network 10.0.0.0broadcast 10.0.0.255However, when the VM comes back up, the bridge is not there. Checking journalctl shows the following:Jul 21 20:44:16 Net systemd[1]: Starting LSB: Raise network interfaces....Jul 21 20:44:16 Net networking[381]: * Configuring network interfaces...Jul 21 20:44:16 Net networking[381]: Cannot find device m-br0Jul 21 20:44:16 Net networking[381]: Failed to bring up m-br0.Jul 21 20:44:16 Net networking[381]: ...done.Jul 21 20:44:16 Net systemd[1]: Started LSB: Raise network interfaces...I was hoping that the bridge creation would be done by the underlying framework being leveraged by brctl since, I was able to do all the bridge creation and configuration with it. But, I do not think that this facility (i.e. systemd-udevd) is being invoked and can't figure out how to get it to create a device for my bridge. Should I create .device unit file for my bridge and where in the start-up process should I put it? (I cannot find a sample .device unit file on my system to give me an idea on how to go about) Would someone have some pointers for me? Thanks in advance.
How to get systemd-udevd to create a bridge device at start up?
networking;systemd;bridge
For bridge creation with ifupdown, you should usually specify the underlying device using bridge_ports.  And what is bridge_stp 0ff???Working configuration would be like:auto m-br0iface m-br0 inet staticbridge_ports eth0bridge_stp offbridge_maxwait 0bridge_fd 0address 10.0.0.1network 10.0.0.0broadcast 10.0.0.255Read bridge-utils-interfaces manpage for detail.