title: How to get bridge support with /etc/network/interfaces?
body: <p>There are some linux distros, where it is possible to configure a bridge in  <code>/etc/network/interfaces</code>. As explained for example <a href="https://wiki.debian.org/BridgeNetworkConnections#Configuring_bridging_in_.2Fetc.2Fnetwork.2Finterfaces" rel="nofollow noreferrer">here</a>, it is enough to use this to form a bridge:</p>
  
  <pre><code>iface eth0 inet manual
  iface eth1 inet manual
  iface br0 inet dhcp
      bridge_ports eth0 eth1
  </code></pre>
  
  <p>I am building a custom linux image using yocto. In my image this is not working. Yocto version is morty, which is already 3 years old.</p>
  
  <p>So, what I need to do to get this functionality? Is it enough to get a newer version of the ifupdown package (I assume that this package provides this functionality)?</p>
  
  <hr>
  
  <p>I installed the bridge-utils package, and I could add a bridge using brctl, as explained <a href="https://wiki.debian.org/BridgeNetworkConnections#Manual_bridge_setup" rel="nofollow noreferrer">here</a>:</p>
  
  <pre><code>brctl addbr br0
  brctl addif br0 eth0 eth1
  </code></pre>
  
  <p>but I do not want to do it manually. I would like to do it by modifying <code>/etc/network/interfaces</code>, because then the changes are saved between reboots.</p>