<div><div dir="auto">Are you using built in nics on your hypervisor? If so, then pci passthrough will likely pass both as they as possibly on the same pci device. At least that is how my dells work. Honestly you should just be able to put nic two on its own network untagged and then assign that network to the hypervisor with the connection. Without SR-IOV support those nics will be dedicated to that VM. </div><div dir="auto"><br></div><div dir="auto">Just depends on your use case. What is the big picture? </div><br><div class="gmail_quote"><div>On Tue, Dec 26, 2017 at 9:12 PM Alex Bartonek &lt;<a href="mailto:Alex@unix1337.com">Alex@unix1337.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Yes, enabled io-mmu.   I&#39;m not sure if what I&#39;m doing is right though.  So if there is a better way of accomplishing what I&#39;m trying to do, send me to some reading material so I dont take up too much of everyone&#39;s time.  I&#39;ll read up on it.  If its a simple do-this-and-that, then I&#39;ll try it.<br></div><div><br></div><div>Thanks!<br></div><div><br></div><div class="m_3696361960135541071protonmail_signature_block"><div class="m_3696361960135541071protonmail_signature_block-user m_3696361960135541071protonmail_signature_block-empty"><br></div><div class="m_3696361960135541071protonmail_signature_block-proton">Sent with <a href="https://protonmail.com" target="_blank">ProtonMail</a> Secure Email.<br></div></div><div><br></div><blockquote type="cite" class="m_3696361960135541071protonmail_quote"><div>-------- Original Message --------<br></div><div>Subject: Re: [ovirt-users] Assign external IP to VM<br></div><div>Local Time: December 26, 2017 7:17 PM<br></div><div>UTC Time: December 27, 2017 1:17 AM<br></div><div>From: <a href="mailto:donny@fortnebula.com" target="_blank">donny@fortnebula.com</a><br></div><div>To: Alex Bartonek &lt;<a href="mailto:Alex@unix1337.com" target="_blank">Alex@unix1337.com</a>&gt;<br></div><div><a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a> &lt;<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>&gt;<br></div><div><br></div><div>Looks like you are trying to use SR-IOV. Did you enable iommu on the hypervisors? Do your hypervisors support SR-IOV. <br></div><div class="gmail_extra"><div><br></div><div class="gmail_quote"><div>On Tue, Dec 26, 2017 at 5:38 PM, Alex Bartonek <span>&lt;<a href="mailto:Alex@unix1337.com" target="_blank">Alex@unix1337.com</a>&gt;</span> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Need some guidance on this one.<br></div><div><br></div><div>Config:<br></div><div>1U with 2 NICs.<br></div><div>NIC 1 plugged to local switch - gets local IP<br></div><div>NIC 2 plugged direct to cable modem - need to set IP inside VM to public static IP<br></div><div>VM will be CentOS, already know how to configure NIC once I can get the 2nd NIC assigned to it.<br></div><div><br></div><div>Do I use PCI passthru?  Or where do I start to get this configured?  I did setup NIC 2 under Network --&gt; Networks.   Created a NIC called &quot;external_NIC&quot;.  External NIC has description and then I configured 2 DNS servers which are given to me by the ISP.<br></div><div><br></div><div>Under Compute --&gt; Hosts --&gt; &lt;My Host&gt; --&gt; Network Interfaces (I have both NICs showing as up) --&gt; Setup Host Networks ---&gt; NIC 2 is the interface --&gt; Assignment of Logical networks is &quot;external_NIC&quot;.<br></div><div><br></div><div>I was assuming I was done, so I go to my VM add NIC 2, click run and I see:<br></div><div><br></div><div>Cannot run VM. There is no host that satisfies current scheduling constraints. See below for details:<br></div><ul style="margin-top:0"><li>The
 host &lt;MY HOST&gt; did not satisfy internal filter Network because there
 are no free virtual functions which are suitable for virtual nic(s) 
nic2. A virtual function is considered as suitable if the VF&#39;s 
configuration of its physical function contains the virtual nic&#39;s 
network/network label.<br></li></ul><div>Need guidance on what to read to get this working.<br></div><div><br></div><div>Thanks!<br></div><div><br></div><div>_______________________________________________<br></div><div> Users mailing list<br></div><div> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br></div><div> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br></div><div> <br></div></blockquote></div></div></blockquote><div><br></div></blockquote></div></div>