<div>geez.. I was super far off. LOL. That did it!!! This is so awesome. Thanks for the assist!<br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block-proton">Sent with <a href="https://protonmail.com">ProtonMail</a> Secure Email.<br></div></div><div><br></div><blockquote class="protonmail_quote" type="cite"><div>-------- Original Message --------<br></div><div>Subject: Re: [ovirt-users] Assign external IP to VM<br></div><div>Local Time: December 27, 2017 1:20 AM<br></div><div>UTC Time: December 27, 2017 7:20 AM<br></div><div>From: ehaas@redhat.com<br></div><div>To: Alex Bartonek <Alex@unix1337.com><br></div><div>users@ovirt.org <users@ovirt.org><br></div><div><br></div><div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>It is not clear what you did exactly, but, if I try to summarize, this setup should work for you:<br></div></div><div>- Create a network (network->networks) and mark it as a VM network.<br></div></div><div>- Create a vNIC profile (network->networks->[network]->Vnic Profiles.<br></div></div><div>- Attach the network on the relevant NIC on your host (compute->hosts->[host]->Network Interface->Setup Hos Networks).<br></div></div><div>(No need to set an IP on these networks, unless you need the host stack itself and not only the vms to access these networks)<br></div></div><div>- Create or edit your VM, create a vnic (or edit one) and point it to the relevant vnic profile you created earlier.<br></div><div><br></div></div><div>Do this for each nic you mentioned, and it should work for you.<br></div><div><br></div></div><div>The use of SRIOV or pci-passthrough is taking this a step further, mainly when you need high throughput.<br></div></div><div>For SRIOV you need special NIC hardware and the pci-passthrough is limiting one vnic per nic, which is wasteful if you do not really need it.<br></div></div><div>Thanks,<br></div></div><div>Edy.<br></div></div><div class="gmail_extra"><div><br></div><div class="gmail_quote"><div>On Wed, Dec 27, 2017 at 12:38 AM, Alex Bartonek <span dir="ltr"><<a href="mailto:Alex@unix1337.com">Alex@unix1337.com</a>></span> wrote:<br></div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" class="gmail_quote"><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 --> Networks. Created a NIC called "external_NIC". 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 --> Hosts --> <My Host> --> Network Interfaces (I have both NICs showing as up) --> Setup Host Networks ---> NIC 2 is the interface --> Assignment of Logical networks is "external_NIC".<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 <MY HOST> 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's
configuration of its physical function contains the virtual nic'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>______________________________<wbr>_________________<br></div><div> Users mailing list<br></div><div> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br></div><div> <a rel="noreferrer" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br></div><div> <br></div></blockquote></div></div></blockquote><div><br></div>