Network card passthrough


Recommended Posts

Hello people,

I'm having problems passing my nic to a vm. I have read all the guides but my problem seems unique, both my onboard and pcie nic are of the same brand and feature the same controller so I cannot differentiate them. How can I pass the extra one to a vm?

 

 

This is my PCIE Devices and IOMMU paste for the nics

[10ec:8168]	01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
[10ec:8168]	02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)

 

Link to comment

Why not enable the bridge function on the second interface (br1) and let the VM use br1?

This solution doesn't require passthru of the individual interface, but the VM has direct access to the bridge interface.

 

When I let two VMs communicate to each other over their respective bridge interface, I can get speeds close to 25 Gb/s (using iperf)

 

image.png.b0a489d392e951e60b3918dbc358bbc3.png

 

Edited by bonienl
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.