Thank you very this worked. :)

Regards

On Mon, 29 Jan 2024, 10:48 , <[email protected]> wrote:

> Hi Francisco,
>
> here is our working config:
>
> # This is the network config written by ansible
> network:
>   version: 2
>   bonds:
>     # mgmt
>     bond0:
>       interfaces:
>       - eno1
>       - enp137s0f0
>       parameters:
>         mode: balance-tlb
>     # frontnet
>     bond1:
>       interfaces:
>       - eno2
>       - enp137s0f1
>       parameters:
>         lacp-rate: fast
>         mode: 802.3ad
>         transmit-hash-policy: layer3+4
>   bridges:
>     cloudbr0:
>       interfaces: [bond0]
>       addresses: [XXX/24]
>       dhcp4: false
>       dhcp6: false
>       routes:
>         - to: default
>           via: XXX
>       nameservers:
>         addresses: [XXX]
>       parameters:
>         stp: false
>         forward-delay: 0
>     cloudbr1:
>       interfaces: [bond1]
>       dhcp4: false
>       dhcp6: false
>       parameters:
>         stp: false
>         forward-delay: 0
>
> regards,
> Swen
>
> -----Ursprüngliche Nachricht-----
> Von: Francisco Arencibia Quesada <[email protected]>
> Gesendet: Montag, 29. Januar 2024 09:41
> An: [email protected]
> Betreff: KVM bridges kill the network.
>
> Good morning guys,
>
> I have tried many ways to configure the two bridges required by
> cloudstack, and in all my attempts this config kills the network. I will
> post my configuration here, maybe you can help me guys. I have tried
> following cloudstack tutorials, I have tried with openswitch, and the same
> result.
> Thank you all in advance
>
>
>
> *01-netcfg.yaml *
>
> network:
>   ethernets:
>     ens1f0:
>       dhcp4: false
>       dhcp6: false
>     enp152s0f0:
>       dhcp4: false
>       dhcp6: false
>   bonds:
>     bond0:
>       addresses: [10.35.2.22/24]
>       routes:
>         - to: default
>           via: 10.35.2.1
>           metric: 100
>       nameservers:
>         addresses: [8.8.8.8]
>         search: []
>       interfaces:
>         - ens1f0
>         - enp152s0f0
>       parameters:
>         mode: 802.3ad
>         transmit-hash-policy: layer3+4
>         mii-monitor-interval: 100
>   version: 2
> ---------
>
>
> *02-netcfg.yaml *
>
> network:
>   ethernets:
>     ens1f1:
>       dhcp4: false
>       dhcp6: false
>     enp152s0f1:
>       dhcp4: false
>       dhcp6: false
>   bonds:
>     bond1.53:
>       addresses: [10.34.5.60/23]
>       interfaces:
>         - ens1f1
>         - enp152s0f1
>       parameters:
>         mode: 802.3ad
>         transmit-hash-policy: layer3+4
>         mii-monitor-interval: 100
>   version: 2
>
> --------
>
> *01-netplan-cloudbr0.yaml*
> network: version: 2 renderer: networkd bridges: cloudbr0: interfaces: -
> bond0 parameters: stp: false forward-delay: 5
> max-age: 1
>
>  -------------
>
>
> *02-netplan-cloudbr1.yaml*
> network: version: 2 renderer: networkd bridges: cloudbr1: interfaces: -
> bond1 parameters: stp: false forward-delay: 5 max-age: 1
>
>
>
> Kind Regards.
> --
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*
>
>
>

Reply via email to