Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i225/226 NIC PVE Hardware passthrough #43

Closed
BOBINIUNIU opened this issue Mar 26, 2023 · 4 comments
Closed

i225/226 NIC PVE Hardware passthrough #43

BOBINIUNIU opened this issue Mar 26, 2023 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@BOBINIUNIU
Copy link

If you are using Intel i225/226 NIC, you may encounter the problem that the client cannot get the DNS IP after enabling the NIC hardware passthrough feature under PVE.

Solution

  1. Install ethtool
    apt install ethtool
  2. Add command line to /etc/systemd/system/dae.service file
    [Service]
    ExecStartPre=/usr/sbin/ethtool -K [Your network interface name] tx-checksum-ip-generic off

Please add this solution to the Troubleshooting Doc. Thank you.

@mzz2017
Copy link
Contributor

mzz2017 commented Mar 26, 2023

Thanks. I'll add a link point to here.

However, turning off tx-checksum-ip-generic will lower the performance of sending.

I don't know whether it has better performance than non-passthrough case.

@mzz2017 mzz2017 added the documentation Improvements or additions to documentation label Mar 26, 2023
@BOBINIUNIU
Copy link
Author

Yes, turning off tx-checksum-ip-generic will impact performance for network packet sending, but CPU usage is lower than the E1000 and Realtek NIC models.

@mzz2017
Copy link
Contributor

mzz2017 commented Mar 26, 2023

@BOBINIUNIU May I ask, is it possible to passthrough NIC to multiple VM?

@BOBINIUNIU
Copy link
Author

No. Each passthrough network interface can only be used on one VM. For example, if your PC have 4 network interfaces, you can only use them on maximum of 3 VMs. PVE will not be accessible if you enable passthrough on the management interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants