Package: bridge-utils
Version: 1.4-5ubuntu2

When trying to bridge 2 NICs that support a MTU of 9000 I couldn't find
a way to properly do it other than relying on "post-up" scripts. The
problem is that /etc/network/if-pre-up.d/bridge calls "ifconfig ethX up"
for all the bridged ports instead of using "ifup ethX".

If the if-pre-up.d script is changed to use "ifup" I think the following
configuration in /etc/network/interfaces would make sense :

iface eth0 inet manual
  mtu 9000

iface eth1 inet manual
  mtu 9000

auto br0
iface br0 inet static
  address 192.168.170.14
  netmask 255.255.255.0
  bridge_ports eth0 eth1

For the above configuration to work, the "inet manual" type should first
support setting the mtu.

Right now, the workaround looks like this :

auto br0
iface br0 inet static
  address 192.168.170.14
  netmask 255.255.255.0
  bridge_ports eth0 eth1

  post-up  ifconfig eth0 mtu 9000
  post-up  ifconfig eth1 mtu 9000


The proposed configuration is opened to suggestions as maybe that would
make more sense to support a mtu directive in the bridge configuration
stanza (which would tentatively set the mtu of all devices part of the
bridge).

Regards,
Simon



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to