Sign in to follow this  
ZamaPower

Network card passthrough

2 posts in this topic Last Reply

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)

 

Share this post


Link to post
Posted (edited)

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

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Copyright © 2005-2018 Lime Technology, Inc.
unRAID® is a registered trademark of Lime Technology, Inc.