de alguma forma funciona de:
-
Removendo qualquer post-up / pre-down / pre-up / post-down,
-
Adicionando o endereço IP, o gateway, a máscara de rede e o servidor de nomes para
br0
ebond0
.
Durante a inicialização, vejo consecutivamente as seguintes mensagens de /etc/init/failsafe.conf
:
Waiting for network configuration...
Waiting up to 60 more seconds for network configuration...
Booting system without full network configuration...
mas quando a inicialização termina, a máquina parece estar conectada à rede.
A configuração final se parece com:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
bond-master bond0
auto eth1
iface eth1 inet manual
bond-master bond0
auto bond0
iface bond0 inet static
bond-mode balance-rr
bond-miimon 100
bond-slaves none
address 192.168.1.2
gateway 192.168.1.1
netmask 255.255.255.0
dns-nameservers 192.168.1.13
auto br0
iface br0 inet static
bridge_ports bond0
bridge_maxwait 0
bridge_fd 0
post-up ifup bond0
post-down ifdown bond0
address 192.168.1.2
gateway 192.168.1.1
netmask 255.255.255.0
dns-nameservers 192.168.1.13