create load balancing on a proxmox server

zeverybest

New Member
Dec 21, 2022
5
0
1
Hi

I'm re building my proxmox server

due to a server failure, I have to rebuild it

on my server, I have 4 ethernet socket

when I'm installing Proxmox, it ask to select one of them

how could I modifiy setings to use my 4 ports to create load balancing (to get more flow) ?

many thanks for your lights
 
Let it install, then go and edit your /etc/network/interfaces file to create network bond.

https://pve.proxmox.com/wiki/Network_Configuration

auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

iface eno3 inet manual

auto bond0
iface bond0 inet static
bond-slaves eno1 eno2
address 192.168.1.2/24
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3

auto vmbr0
iface vmbr0 inet static
address 10.10.10.2/24
gateway 10.10.10.1
bridge-ports eno3
bridge-stp off
bridge-fd 0
 
  • Like
Reactions: vshab
oh, thanks for your quick answer

but, it would say I cannot use the same IP address?

I have to use a new one for the BOND connection?

correct?

and, could it be on the same VLAN ? (I would say same VLAN than vmbr0?)
 
Bond connection will only combine interfaces at the data link (layer 2) level, it will basically work like "one powerful NIC"
 
OK, so, it could be on same VLAN
but I have to use differents intefaces from vmbr

one interface cannot be in both?

correct ?
 
The only thing that needs an IP address is the actual Proxmox web interface. You could add a bridge or a bond without adding anymore IP adresses. A bond or a bridge on its own doesn't actually need an IP address because the VMs or lxc containers all get their own up addresses
 
yes, but to create a BOND, i need to connect to proxmox with current IP on vmbr0

so, I cannot use same interface to add to BOND (or, I have to do it localy, not remotely)

correct ?
 
You have two choices I think. First you could leave the management interface on one NIC and bond the other three. OR you could log in through the console if you have a monitor and keyboard attached to the server, and manually adjust the /etc/network/interfaces file, create the bond using all 4 NICs, make it VLAN aware then put your management interface as a virtual NIC to the bond.
 

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!