Hallo Holger,

Am 24.12.2014 um 10:25 schrieb Holger Baumhof:

>>> # bonding interface
>>> auto bond0
>>> iface bond0 inet manual
>>>       bond-slaves none
>> 
>> sollten hier nicht die gewünschten Interfaces stehen?
> 
> das klingt erschreckend Sinnvoll, und natürlich frage ich mich, weswegen
> ich das nicht gesehen habe.
> 
> Jetzt hab ich auch mal ein wenig nachgelesen.
> 
> https://help.ubuntu.com/community/UbuntuBonding
> 
> Hier steht im ersten Beispiel auch
> bond-slaves none

ja, aber dafür ist eth0 'bond-master' und 'bond-primary'


#eth0 is manually configured, and slave to the "bond0" bonded NIC
auto eth0
iface eth0 inet manual
bond-master bond0
bond-primary eth0

#eth1 ditto, thus creating a 2-link bond.
auto eth1
iface eth1 inet manual
bond-master bond0

# bond0 is the bonding NIC and can be used like any other normal NIC.
# bond0 is configured using static network information.
auto bond0
iface bond0 inet static
address 192.168.1.10
gateway 192.168.1.1
netmask 255.255.255.0
bond-mode active-backup
bond-miimon 100
bond-slaves none

Der 'bond-mode' ist hier active-backup; immer nur eine Netzwerkschnittstelle 
aktiv.


Welchen Modus möchtest Du? LACP?

Hier die Konfig meines VM-Hosts; 6x 1GBit als eine Leitung.

<schnipp>

# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual

iface eth3 inet manual

iface eth4 inet manual

iface eth5 inet manual

auto bond0
iface bond0 inet manual
        slaves eth0 eth1 eth2 eth3 eth4 eth5
        bond_miimon 100
        bond_mode 802.3ad
        bond_xmit_hash_policy layer2

auto vmbr0
iface vmbr0 inet static
        address  192.168.10.1
        netmask  255.255.255.0
        gateway  192.168.10.253
        bridge_ports bond0
        bridge_stp off
        bridge_fd 0


<schnapp>


VG
Dirk
_______________________________________________
linuxmuster-user mailing list
[email protected]
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user

Antwort per Email an