[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Probleme mit Kombination von VLAN und Bonding



Hi,

hatte neulich ein ähnliches Issue (mit active-backup config), die Lösung war wie folgt:

auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
iface enp2s0f0np0 inet manual
iface enp2s0f1np1 inet manual
iface enp3s0f0 inet manual
iface enp3s0f1 inet manual
auto bond0
iface bond0 inet manual
    bond-slaves eno1 eno2
    bond-miimon 100
    bond-mode active-backup
    bond-downdelay 200
    bond-updelay 200
auto vmbr0
iface vmbr0 inet manual
    bridge-ports bond0
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 2-4094
# management ip on vlan 666
auto vmbr0.666
iface vmbr0.666 inet static
    address IP-Adresse
    gateway Gateway-IP

Vielleicht hilft es.
lg sylvia

> Am 14.12.2022 um 13:08 schrieb Christoph Pleger <Christoph.Pleger@cs.tu-dortmund.de>:
> 
> Hallo,
> 
> ich habe die folgenden beiden Konfigurationsdateien in
> /etc/network/interfaces.d/:
> 
> Datei bond0:
> 
> auto bond0
> iface bond0 inet manual
>        bond-slaves eno1 eno2
>        bond-mode 4
>        bond-miimon 100
>        bond-updelay 200
>        bond-downdelay 200
>        bond-lacp-rate 1
>        bond-xmit-hash-policy layer2+3
>        up ifconfig bond0 0.0.0.0 up
> 
> Datei bond0.305:
> 
> auto bond0.305
> iface bond0.305 inet static
>        address xxx.xxx.xxx.xxx/24
>        broadcast xxx.xxx.xxx.xxx
>        gateway xxx.xxx.xxx.xxx
>        vlan-raw-device bond0
>        # dns-* options are implemented by the resolvconf package,
> # if installed
>        dns-nameservers xxx.xxx.xxx.xxx
>        dns-search cs.tu-dortmund.de
> 
> Leider will bond0.305 beim Boot nicht hochfahren und wenn ich es
> manuell mit ifup versuche, kommt:
> 
> ifup: unknown interface bond0.305
> 
> Die Pakete ifenslave und vlan sind installiert. Hat jemand eine Idee,
> warum das Interface nicht starten will?
> 
> Gruß
>  Christoph
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP


Reply to: