On 21.03.2016 09:31, Igor Cicimov wrote:
 > The problem is when I do `service networking restart` I get this message:
 >         RTNETLINK answers: invalid argument
 >         Failed to bring up br0

So, to overcome MTU problem, this is my interfaces:

auto eth0
iface eth0 inet manual
        bond-master bond0
        up ip link set eth0 mtu 9000

auto eth1
iface eth1 inet manual
        bond-master bond0
        up ip link set eth1 mtu 9000

auto bond0
iface bond0 inet manual
        # load balancing and fault tolerance
        bond-mode 802.3ad
        bond-miimon 100
        bond-downdelay 200
        bond-updelay 200
        bond-lacp-rate 4
        up ip link set bond0 mtu 9000

auto br0
iface br0 inet static
        address 10.10.0.159
        netmask 255.255.0.0
        gateway 10.10.0.254
#       vlan-raw-device bond0
        bridge_ports bond0
        bridge_stp off
#       bridge_fd 0
#       bridge_maxage 0
        bridge_ageing 0
        bridge_maxwait 0
        up ip link set br0 mtu 9000


Reply via email to