Define 10G nic for PBS connection only

skott

New Member
Aug 24, 2024
3
0
1
ESXi guy here - moving to Proxmox.

Trying to understand how I can configure PVE to use a dedicated 10G nic for backups only to PBS. I currently have a PVE host with three nic cards. Seems like very simple configuration but can't see how to get it configured.

• 2.5G nic for mangement
• 10G nic for VMs
• 10G nic I want for backup to PBS only

How can I configure PVE to use the last 10G nic for connect to PBS?

Appreciate the help.
 
Define different hostnames in the /etc/hosts's (or your DNS) with that other interface IP's and use that hostnames.
 
I was thinking about that, or possibly using VLANs. Thanks for the suggestion and I'll give it a try.
 
Also always make sure that the PBS-Nic has an IP and IP-Range that is not the same as the management one.
By default it will first try to reach an IP through a port that is in the same range, so making sure that the ranges don't overlap is key here.
These ranges don't need any gateway and the like, since they will/should be using different ports for their internet-traffic.

Alternative advanced method: If your PBS only has one network-port and needs to be reachable from the same network as management (and not through a router), you can also try getting all the PBS IP's (both PBS itself and the PVE ones) close together and setting them on PVE in a smaller IP-range, but one that does not also contain the PVE management IP.
Example :
PVE1:
Management: 192.168.0.1/24 (GW 192.168.0.254)
PBS: 192.168.0.11/29
PVE2:
Management: 192.168.0.2/24 (GW 192.168.0.254)
PBS: 192.168.0.12/29
PVE3:
Management: 192.168.0.3/24 (GW 192.168.0.254)
PBS: 192.168.0.13/29
PBS1:
Management: 192.168.0.10/24 (GW 192.168.0.254)
/29 gives you (usable) IP's from .9 to .14, so contains the .10 of PBS, which can reach the entire network, since it is still on /24.
 
Last edited:
Also always make sure that the PBS-Nic has an IP and IP-Range that is not the same as the management one.
By default it will first try to reach an IP through a port that is in the same range, so making sure that the ranges don't overlap is key here.
These ranges don't need any gateway and the like, since they will/should be using different ports for their internet-traffic.

Alternative advanced method: If your PBS only has one network-port and needs to be reachable from the same network as management (and not through a router), you can also try getting all the PBS IP's (both PBS itself and the PVE ones) close together and setting them on PVE in a smaller IP-range, but one that does not also contain the PVE management IP.
Example :
PVE1:
Management: 192.168.0.1/24 (GW 192.168.0.254)
PBS: 192.168.0.11/29
PVE2:
Management: 192.168.0.2/24 (GW 192.168.0.254)
PBS: 192.168.0.12/29
PVE3:
Management: 192.168.0.3/24 (GW 192.168.0.254)
PBS: 192.168.0.13/29
PBS1:
Management: 192.168.0.10/24 (GW 192.168.0.254)
/29 gives you (usable) IP's from .9 to .14, so contains the .10 of PBS, which can reach the entire network, since it is still on /24.
Great stuff - thanks!
 

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!