deleted

The whole nic shares the same iommu group, so passing a single nic port will not work.

You will have to create a bridge per nic port and add that to the vm as emulated network adapter.

There is not much overhead with that approach anyway.

A better approach would be to use vlans.
 
  • Like
Reactions: +DS_DV+
i tried foolowing this tutorial:
https://forum.proxmox.com/threads/enabling-sr-iov-for-intel-nic-x550-t2-on-proxmox-6.56677/
is there any advanteage to the bridge way?

For sr-iov to work your cpu, mobo and nic need to support it. Did you enable it in the bios ? In that case different iommu groups per port will be created and your passtrough should indeed work.

The only advantage is no overhead and maybe some hardware offloading features. But with a 1gbit nic there will be not much overhead, if at all. Just make sure to use virtio if you go with the bridge way.

Whats the setup for ? In case you want to emulate a firewall e.g pfsense it would actually make sense, otherwise there is no real benefit.
 
  • Like
Reactions: +DS_DV+