aggregation/bonding advice

FredZ

New Member
Feb 19, 2021
2
0
1
64
Hello all.
PM newby, so please bare with me as I ask what may appear to be a silly question.

I've just upgraded my LAN. I installed 2 x SMCGS-18C switches and aggregated (LACP) 4 ports to give me a 4gb backbone between the 2 switches.

As my server has 4 x 1gb ports I thought I would attempt to (for want of the better term) link all the ports together to also give me a 4gb link to the switch.

As this is all new to me I am wanting some advice on how this can be done if at all.

Server: HP DL385 G7

CPU(s) 32 x AMD Opteron(TM) Processor 6274 (2 Sockets)

Kernel Version Linux 5.4.34-1-pve #1 SMP PVE 5.4.34-2 (Thu, 07 May 2020 10:02:02 +0200)

PVE Manager Version pve-manager/6.2-4/9824574a

Curent interfaces. When I originally setup PM it only had 1 port connected.

auto lo
iface lo inet loopback

iface enp4s0f0 inet manual

iface enp4s0f1 inet manual

iface enp5s0f0 inet manual

iface enp5s0f1 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.10/24
gateway 192.168.1.1
bridge-ports enp4s0f0
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet static
address 10.10.10.10/24
bridge-ports enp4s0f1
bridge-stp off
bridge-fd 0

auto vmbr2
iface vmbr2 inet static
address 172.20.20.10/24
bridge-ports enp5s0f0
bridge-stp off
bridge-fd 0

auto vmbr3
iface vmbr3 inet static
address 10.100.100.10/24
bridge-ports enp5s0f1
bridge-stp off
bridge-fd 0


Your comments would be most helpful

Regards

Fred
 
OK, so I may have answered my own question.

Here are my changes.

auto lo
iface lo inet loopback

iface enp4s0f0 inet manual

iface enp4s0f1 inet manual

iface enp5s0f0 inet manual

iface enp5s0f1 inet manual

auto bond0
iface bond0 inet manual
gateway 192.168.1.1
bond-slaves enp4s0f0 enp4s0f1 enp5s0f0 enp5s0f1
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3

auto vmbr0
iface vmbr0 inet static
address 192.168.1.10/24
bridge-ports bond0
bridge-stp off
bridge-fd 0


It seems to be functioning as expected. All I have to do is some speed tests as I've already tested dead/disconnected cables. And my switch shows the LACP as working.

Regards

Fred
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!