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

testcb00

Member
Jun 4, 2020
20
0
21
28
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.