Hello everyone,
Many years age I installed FreeNAS onto an old computer I had & didn't really didn't go near it for years. Then during lockdown I decided to upgrade it & came across TrueNAS Core. This got me interested again & I started to watch some videos on Youtube. Then I came across a video by 'networkchuck' on virtualisation & hypervisors & thought 'this is interesting'.. Then I watched some more videos on Proxmox & have since become become a bit obsessed . Six months ago I didn't even know what a 'homelab' was but, again after watching some more videos I saw that people were using old rack servers & installing the hypervisors on them. I needed a new computer anyway so I searched on eBay & eventually got myself a Dell R710 for less than £400.
I'm new to Proxmox, networking & Linux so please keep it simple as I'm still struggling with all the terminology. However I am willing to learn & have read a lot & watched many videos. I don't want to waste anyones time but would appreciate some high level advice on my setup. My server came with a 4x 1Gb port PCI NIC & I would like to make the most of all 4 ports.
After reading the Proxmox wiki page on Proxmox network configuration (many times) I think that I have an idea on what would be a good choice for me. However I'm really not sure if this will even work. It doesn't matter if I break everything because I can just start over. I have a pve node setup & have installed some VMs & LXC containers.
As my server has 4x NICs I was thinking on creating two linux bonds.. bond0 (with bond-slaves eno1 eno2) & bond1 (using eno3 eno4).
bond0
For bond0 I was going to make it 'active-backup' mode & create a VLAN5 for PVE management & also make it VLAN aware with a traditional Linux bridge. I would like to also use this in the future for creating a 'Cluster' setup.
bond1
For bond1 I was thinking on using the other two ports eno3 & eno4. For this I would like to use this bond as bridge port & try the 802.3ad mode. Apparently this is the best mode to use if you can configure the switch. I have an old HP managed switch that I'm currently reading up on (aggregation & LACP), & again I just want to test it out.
My intension is to add a VLAN tag when creating VMs. I have no idea if it's even possible to have a mix of linux bonds on the same NIC. And I'm open to any suggestions that anyone may have on how to make the best use of all 4 ports.
As I mentioned earlier, I've just created this after reading the wiki page & some posts on the forum. Here's the configuration for my /etc/network/interfaces I was thinking on.
Here is a diagram of my topology..
Thanks,
Darren
Many years age I installed FreeNAS onto an old computer I had & didn't really didn't go near it for years. Then during lockdown I decided to upgrade it & came across TrueNAS Core. This got me interested again & I started to watch some videos on Youtube. Then I came across a video by 'networkchuck' on virtualisation & hypervisors & thought 'this is interesting'.. Then I watched some more videos on Proxmox & have since become become a bit obsessed . Six months ago I didn't even know what a 'homelab' was but, again after watching some more videos I saw that people were using old rack servers & installing the hypervisors on them. I needed a new computer anyway so I searched on eBay & eventually got myself a Dell R710 for less than £400.
I'm new to Proxmox, networking & Linux so please keep it simple as I'm still struggling with all the terminology. However I am willing to learn & have read a lot & watched many videos. I don't want to waste anyones time but would appreciate some high level advice on my setup. My server came with a 4x 1Gb port PCI NIC & I would like to make the most of all 4 ports.
After reading the Proxmox wiki page on Proxmox network configuration (many times) I think that I have an idea on what would be a good choice for me. However I'm really not sure if this will even work. It doesn't matter if I break everything because I can just start over. I have a pve node setup & have installed some VMs & LXC containers.
As my server has 4x NICs I was thinking on creating two linux bonds.. bond0 (with bond-slaves eno1 eno2) & bond1 (using eno3 eno4).
bond0
For bond0 I was going to make it 'active-backup' mode & create a VLAN5 for PVE management & also make it VLAN aware with a traditional Linux bridge. I would like to also use this in the future for creating a 'Cluster' setup.
bond1
For bond1 I was thinking on using the other two ports eno3 & eno4. For this I would like to use this bond as bridge port & try the 802.3ad mode. Apparently this is the best mode to use if you can configure the switch. I have an old HP managed switch that I'm currently reading up on (aggregation & LACP), & again I just want to test it out.
My intension is to add a VLAN tag when creating VMs. I have no idea if it's even possible to have a mix of linux bonds on the same NIC. And I'm open to any suggestions that anyone may have on how to make the best use of all 4 ports.
As I mentioned earlier, I've just created this after reading the wiki page & some posts on the forum. Here's the configuration for my /etc/network/interfaces I was thinking on.
Code:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual
auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode active-backup
bond-primary eno1
auto vmbr0
iface vmbr0 inet static
address XX.XX.1.1/24
gateway XX.XX.1.1
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
iface bond0.5 inet manual
auto vmbr0v5
iface vmbr0v5 inet static
address xx.xx.5.1/24
gateway xx.xx.1.1
bridge-ports bond0.5
bridge-stp off
bridge-fd 0
auto bond1
iface bond1 inet manual
bond-slaves eno3 eno4
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
auto vmbr1
iface vmbr1 inet static
address XX.XX.10.1/24
gateway XX.XX.X.1
bridge-ports bond1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
Here is a diagram of my topology..
Thanks,
Darren
Last edited: