Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
PCI Passthrough Intel X710-X2 Opnsense
« previous
next »
Print
Pages: [
1
]
Author
Topic: PCI Passthrough Intel X710-X2 Opnsense (Read 2623 times)
wondaah
Newbie
Posts: 8
Karma: 0
PCI Passthrough Intel X710-X2 Opnsense
«
on:
October 21, 2023, 11:54:26 pm »
Hi everyone
I'm currently facing a really weird issue that I cannot find any info of in the internet
So I've just set up PCI passthrough, and added both of them to the OPNsense VM. So far so good. Everything there seems to work. IOMMU is working fine.
The WAN Interface also gets an IP so traffic is flowing there.
The LAN Interface is where my problem is; it has IP 192.168.1.1, its connected to a Mikrotik switch that has no VLANs and traffic over it is running fine.
But I cannot access the OPNsense Webinterface nor ping it.
The WAN Interface can ping for example 8.8.8.8 perfectly.
Now the errors I'm getting:
ixl1 (LAN Interface) i40e_aq_add_macvlan status I40E_ERR_ADMIN_QUEUE_ERROR, error I40E_AQ_RC_BAD_ADDR
I cannot seem to find any info about this anywhere, does someone of you know how I can fix this?
Edit: now both interfaces seem to get these error messages and I've lost the IP of my ISP...
Do I need drivers?
Edit 2: I think OPNsense 23.7 doesn't have ixl support for X710?
«
Last Edit: October 22, 2023, 12:00:12 am by wondaah
»
Logged
bartjsmit
Hero Member
Posts: 2016
Karma: 194
Re: PCI Passthrough Intel X710-X2 Opnsense
«
Reply #1 on:
October 22, 2023, 08:36:35 am »
Quote from: wondaah on October 21, 2023, 11:54:26 pm
So I've just set up PCI passthrough, and added both of them to the OPNsense VM.
What is your hypervisor?
Quote from: wondaah on October 21, 2023, 11:54:26 pm
Do I need drivers?
No, but check the HCL
https://www.freebsd.org/releases/13.2R/hardware/
Install OPNsense on bare metal first and confirm the X710 works in that setup.
Bart...
Logged
0zzy
Full Member
Posts: 127
Karma: 3
Re: PCI Passthrough Intel X710-X2 Opnsense
«
Reply #2 on:
October 22, 2023, 11:14:57 am »
Sounds you're using Proxmox, if yes:
add the NICs via PCI Passthrough like I done it (works 100% depending on your card you have to assign another RAW Device ID).
Take a look on the Screenshots.
For me it works very well
Also at first start OPNSense is using the IP 192.168.1.1, if your modem is configured to use DHCP (what I not prefer), disable it and give it static IP Address.
On my side the modem have the ip 192.168.1.1, OPNSense is configured at first as I described at the top, from Proxmox Web Interface in the OPNSense Shell, I only add the Interfaces, and set the IP on igb0 to 192.168.11.252/24.
Change this to your needs.
Also it's not possible out of the box to ping the lan and wan interface on OPNSense, you need to add a Firewall Rule on both interfaces (not a good idea on wan).
«
Last Edit: October 22, 2023, 11:20:36 am by 0zzy
»
Logged
Protectli FW4B
Intel J6412 4 cores
4x Intel I225-V 2,5 Gbit/s
16 GB memory
480 GB m.2 SATA SSD storage
Coreboot
wondaah
Newbie
Posts: 8
Karma: 0
Re: PCI Passthrough Intel X710-X2 Opnsense
«
Reply #3 on:
October 22, 2023, 12:03:17 pm »
Yes I'm using Proxmox.
But it still seems the driver does not load correctly. Still getting the same error both in pfsense and opnsense. Will try to do a bare metal install now...
Logged
wondaah
Newbie
Posts: 8
Karma: 0
Re: PCI Passthrough Intel X710-X2 Opnsense
«
Reply #4 on:
October 22, 2023, 01:08:22 pm »
Bare Metal install also throws the same errors, so its definitely not related to proxmox or the PCI passthrough
Logged
Patrick M. Hausen
Hero Member
Posts: 6800
Karma: 571
Re: PCI Passthrough Intel X710-X2 Opnsense
«
Reply #5 on:
October 22, 2023, 01:21:51 pm »
The freebsd-net@freebsd.org mailing list might be the best place to go now.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
0zzy
Full Member
Posts: 127
Karma: 3
Re: PCI Passthrough Intel X710-X2 Opnsense
«
Reply #6 on:
October 22, 2023, 02:14:31 pm »
which kind of Nic Card do you have?
I need the exact Device Identifier (eventually a link to the site where you bought it)
Logged
Protectli FW4B
Intel J6412 4 cores
4x Intel I225-V 2,5 Gbit/s
16 GB memory
480 GB m.2 SATA SSD storage
Coreboot
Patrick M. Hausen
Hero Member
Posts: 6800
Karma: 571
Re: PCI Passthrough Intel X710-X2 Opnsense
«
Reply #7 on:
October 22, 2023, 02:36:41 pm »
It's in the thread subject: X710-X2.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
0zzy
Full Member
Posts: 127
Karma: 3
Re: PCI Passthrough Intel X710-X2 Opnsense
«
Reply #8 on:
October 22, 2023, 06:20:45 pm »
Patrick this is why i meant the Device Identifier because there are many of them available (different versions, identifiers and also product names of these card.
There's not only one card out there from Intel
especially this one product name "X710-X2" i couldn't find on the intel site.
Many X710's but not this one...
What i know is that for the most cards intel have drivers to compile by yourself.
So eventuelly this is the trick?
I had this on an older card, the driver wasn't on linux installed, compiled it by myself and then after a reboot everything working fine.
Sometime, if the card is too new there are the same problems.
«
Last Edit: October 22, 2023, 06:28:10 pm by 0zzy
»
Logged
Protectli FW4B
Intel J6412 4 cores
4x Intel I225-V 2,5 Gbit/s
16 GB memory
480 GB m.2 SATA SSD storage
Coreboot
wondaah
Newbie
Posts: 8
Karma: 0
Re: PCI Passthrough Intel X710-X2 Opnsense
«
Reply #9 on:
October 22, 2023, 08:12:04 pm »
Hi the Card is an CNA X710-DA2 Manufactured 07/2018.
Yes it seems like I may have to compile the drivers myself.
Also it may be some issue with PCI Passthrough but I don't think thats the case since as stated it didnt work on Bare-Metal either.
Would you be able to assist me in Compiling them?
I also upgraded de Firmware of the Card to the newest version, didnt help.
Logged
Patrick M. Hausen
Hero Member
Posts: 6800
Karma: 571
Re: PCI Passthrough Intel X710-X2 Opnsense
«
Reply #10 on:
October 22, 2023, 08:14:33 pm »
Again - I'd contact the freebsd-net mailing list about that issue.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
wondaah
Newbie
Posts: 8
Karma: 0
Re: PCI Passthrough Intel X710-X2 Opnsense
«
Reply #11 on:
October 22, 2023, 08:23:03 pm »
I just did, am I correct on just sending an E-Mail to that address?
This issue is driving me nuts lol
Logged
Patrick M. Hausen
Hero Member
Posts: 6800
Karma: 571
Re: PCI Passthrough Intel X710-X2 Opnsense
«
Reply #12 on:
October 22, 2023, 08:27:58 pm »
You need to subscribe first to be permitted to send.
https://lists.freebsd.org/subscription/freebsd-net
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
PCI Passthrough Intel X710-X2 Opnsense