Is it possible to use SR-IOV VF as the management interface?

testcb00

Member
Jun 4, 2020
20
0
6
27
Hi everyone, sorry for my English.

I spend time to test between ESXi and Proxmox VE and finally find that only PVE allow me to use SR-IOV.

As my switch port is not enough, I would like to know if it is possible to use VF as the management interface.

I follow this guide https://forum.proxmox.com/threads/enabling-sr-iov-for-intel-nic-x550-t2-on-proxmox-6.56677/ to create VF with vlan.
If VF is possible to be the management interface, I can use the interface to create VF for the VMs.

Code:
[Unit]
Description=Script to enable SR-IOV on boot

[Service]
Type=oneshot
# Starting SR-IOV
ExecStart=/usr/bin/bash -c '/usr/bin/echo N > /sys/class/net/<name of your NIC>/device/sriov_numvfs'
# Setting static MAC for VFs
ExecStart=/usr/bin/bash -c '/usr/bin/ip link set <name of your NIC> vf M mac <mac addr of vf M of NIC2> vlan <vlan ID>'

[Install]
WantedBy=multi-user.target
 
Last edited:
SR-IOV devices are detected as normal, seperate PCI NICs (in userspace, for all intents and purposes). So yes, that should be possible, though of course in a VLAN (and not physical port) based configuration, you will be sharing bandwidth.
 

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!