September 8, 201510 yr Just used this to finally setup my dual port NIC in Sophos UTM firewall. Took me a bit of searching, but remember that some images/isos/vms won't support memory ballooning, so you won't be able to have different initial/max memory settings (they'll need to be the same value).
September 8, 201510 yr Author Just used this to finally setup my dual port NIC in Sophos UTM firewall. Took me a bit of searching, but remember that some images/isos/vms won't support memory ballooning, so you won't be able to have different initial/max memory settings (they'll need to be the same value). This is correct. For Windows, the VirtIO memory balloon driver can be added, but note that if you are passing through a PCI device, you will not be able to take advantage of it (a limitation of PCI device assignment using VFIO, but one that is well worth it). For non-Windows based guests, if they do not have the Linux virtio memory balloon driver as a part of their kernel, you won't be able to use it either.
October 1, 201510 yr I had some questions about this guide. In the guide, there is a step about adding a line: pci-stub.ids=8086:153b to the syslinux.cfg I assume this line is "black listing" the device from unraid/hypervisor to make sure it is available to VMs. Edit: I saw in another post another user had this question as well. This guide is about network controllers which are sort of special compared to many devices in that unraid will grab them. Thus this command is needed to explicitly prevent that from happening. I suppose you might want it for SATA controllers...USB controllers? as well. But things like video and sound cards it should not be needed since unraid never tries to control them in the first place. Is this necessary? I've read other guides: https://lime-technology.com/forum/index.php?topic=38259.msg368555#msg368555 CHBMB that seem to suggest nothing being added to the syslinux.cfg or go file (where is the go file located btw) and it worked just editing the XML. I have devices that have "dependent" devices, like PCI devices behind a bridge or PCI-e cards that actually are PCI devices attached behind a bridge chip on board. Do I simply have to add all these devices to the XML together or does this complicate matters? Related question, when logged in with PuTTy to the server can you edit the syslinux.cfg or other files directly on the flash drive safely? What command should I use to do that. I apologize I am a linux noob.
December 24, 201510 yr is it possible to set 2 different nics to 2 vms, if yes, how should I change the syslinux.cfg file?
December 24, 201510 yr is it possible to set 2 different nics to 2 vms, if yes, how should I change the syslinux.cfg file? It is possible, although I haven't tried.... Here's the relevant bit of my syslinux.cfg (I'm passing through a dual-NIC and a USB bus) obviously you'll need to find your own values. append pci-stub.ids=8086:105e,8086:1e26 initrd=/bzroot I'm not sure whether I could pass each port from the dual-NIC to different VMs, but from reading your post that doesn't sound like what you're planning.
December 24, 201510 yr It is possible, although I haven't tried.... Here's the relevant bit of my syslinux.cfg (I'm passing through a dual-NIC and a USB bus) obviously you'll need to find your own values. append pci-stub.ids=8086:105e,8086:1e26 initrd=/bzroot I'm not sure whether I could pass each port from the dual-NIC to different VMs, but from reading your post that doesn't sound like what you're planning. How about setting one of them to the vms and the other one to the unraid server, because I got the "one or more network protocols are missing" error on either one of the vms when I only use eth0. If I assign eth1 to vm1, the error appears on vm2, vice versa.
December 24, 201510 yr It is possible, although I haven't tried.... Here's the relevant bit of my syslinux.cfg (I'm passing through a dual-NIC and a USB bus) obviously you'll need to find your own values. append pci-stub.ids=8086:105e,8086:1e26 initrd=/bzroot I'm not sure whether I could pass each port from the dual-NIC to different VMs, but from reading your post that doesn't sound like what you're planning. How about setting one of them to the vms and the other one to the unraid server, because I got the "one or more network protocols are missing" error on either one of the vms when I only use eth0. If I assign eth1 to vm1, the error appears on vm2, vice versa. The syslinux bit essentially removes the NICs from Unraid to be used solely by VMs... I'm quite confused now. I thought you had two different NICs and you wanted to passthrough one to one VM and the other to another VM.... I think if you posted a bit more info on your config it might help clear things up and exact details of your hardware..
December 25, 201510 yr It is possible, although I haven't tried.... Here's the relevant bit of my syslinux.cfg (I'm passing through a dual-NIC and a USB bus) obviously you'll need to find your own values. append pci-stub.ids=8086:105e,8086:1e26 initrd=/bzroot I'm not sure whether I could pass each port from the dual-NIC to different VMs, but from reading your post that doesn't sound like what you're planning. How about setting one of them to the vms and the other one to the unraid server, because I got the "one or more network protocols are missing" error on either one of the vms when I only use eth0. If I assign eth1 to vm1, the error appears on vm2, vice versa. The syslinux bit essentially removes the NICs from Unraid to be used solely by VMs... I'm quite confused now. I thought you had two different NICs and you wanted to passthrough one to one VM and the other to another VM.... I think if you posted a bit more info on your config it might help clear things up and exact details of your hardware.. Sorry for the confusion, my motherboard is ASUS Z97 Sabertooth Mark S (which have two lan ports, does this count as two nics or one? one of them is realtek and the other one is intel) Could I assign the realtek one to vm1, and intel one to vm2? Or do I need another one for the unraid server itself?
December 25, 201510 yr You need one for Unraid, that leaves one, whether you'll be succesful passing through that I couldn't say. Is there a reason why you want to passthrough rather than just creating a bridge?
December 25, 201510 yr The reason that I want to passthrough is that I get the "one or more network protocols are missing" error, and just want to see if passthrough would solve this problem.
December 25, 201510 yr The reason that I want to passthrough is that I get the "one or more network protocols are missing" error, and just want to see if passthrough would solve this problem. Which software did you install on the VM?
December 25, 201510 yr The reason that I want to passthrough is that I get the "one or more network protocols are missing" error, and just want to see if passthrough would solve this problem. Which software did you install on the VM? Windows 10 on both of them.
December 25, 201510 yr No firewall or anti-virus? A quick Google search showed that the error was caused by firewalls or anti-virus software.
December 25, 201510 yr No firewall or anti-virus? A quick Google search showed that the error was caused by firewalls or anti-virus software. none at all, as I know problems could happen with them.
December 25, 201510 yr Have you tried different versions of the netkvm drivers from the virtio download page?
December 25, 201510 yr No luck, I have still got that error, I might just get another nic in the next few days to try.
December 25, 201510 yr I've been using an Intel Dual NIC with no problems fwiw I have no idea why this happens, hope the new nic would solve this problem. And also, I was looking for pcie nic earlier, some of them says server nic, and the others without the word 'server', should I get the one with 'server' or not?
December 25, 201510 yr I'm not sure tbh, but I remember researching the model I bought to ensure good Linux compatibility before I bought it, although I'm not sure how important that is when using for passthrough I figure it's still a good attribute for a NIC to possess.
December 26, 201510 yr have u got any nic suggestions? (something cost about $30?) eBay, something Intel and PCIe
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.