Good day all.
As per the topic title I am looking for help and advice with regardings to Network Bonding within Ubuntu 20.04 Server.
I am very much a linux n00b so please take it easy on me.
Due to having a large household I decided to build a media server, using Ubuntu and Plex Media Server.
My Whitebox Server Specs
- Supermicro X8DTL
- 2x Intel Xeon X5570.
- 96GB ECC Memory.
- Intel Pro1000 Quad Nic.
- Raid Controller (can’t remember make/model).
- nvidia Quadro P600.
- 4x 4TB WD Red (In hardware raid).
This system has been running fine for a number years, as we only had a view devices on the network streaming at any given time.
There are now multiple devices on the network that can and do end up streaming simultaneously, the server has a mix of x264, x265, 1080p and 4k video content.
Within the last few months I have also added Lancache into the mix
Since then I have noticed plex is pausing and buffering, and complaints from the wife and kids.
Lancache seems to be running ok, bar from the transfer rates from the server are not stable, and are very often way below the expected speeds.
On the intel quad nic, I currently I only have one active gig network.
As such I am bottlenecking the single network connection to and from the server.
As I have the Intel Pro 1000 Quad Nic, and am only using the single port, I want to use all four port and bond them together to incress the server’s network bandwidth.
I know that the network settings for Ubuntu Server 20.04 are controled via /etc/netplan/00-installer-config.yaml
But I do not know how to adjust it for bonding and what bonding mode would be best suited for my needs.
Here is my current /etc/netplan/00-installer-config.yaml config file
# This is the network config written by 'subiquity'
network:
ethernets:
enp3s0f0:
addresses:
- 192.168.1.204/24
gateway4: 192.168.1.254
nameservers:
addresses:
- 192.168.1.254
enp3s0f1:
addresses:
- 192.168.1.205/24
gateway4: 192.168.1.254
nameservers:
addresses:
- 192.168.1.254
enp4s0f0:
addresses:
- 192.168.1.206/24
gateway4: 192.168.1.254
nameservers:
addresses:
- 192.168.1.254
enp4s0f1:
addresses:
- 192.168.1.207/24
gateway4: 192.168.1.254
nameservers:
addresses:
- 192.168.1.254
version: 2
After searching around the forum and google, below is my proposed new configuration file.
network:
bonds:
bond0:
interfaces:
- enp3s0f0
- enp3s0f1
- enp4s0f0
- enp4s0f1
parameters:
mode: balance-rr
ethernets:
enp3s0f0: {}
enp3s0f1: {}
enp4s0f0: {}
enp4s0f1: {}
version: 2
bridges:
br0:
addresses:
- 192.168.1.204/24
- 192.168.1.205/24
- 192.168.1.206/24
- 192.168.1.207/24
dhcp4: false
gateway4: 192.168.1.254
nameservers:
addresses:
- 192.168.1.254
search: []
interfaces:
- bond0
I must admit at this point in time I do not fully understand the different bond modes.
Can you please advise?
Thanks for your time.
Best Regards.