This is a multi-part message in MIME format.
--------------4D60419178C8CAE47E5CC8E1
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
You're over thinking this. Just create an ifcfg script just enough so
the interface plumbs, with no IP, then add it do your datacenter, with
something like dmz or internet as it's name. Then add the NIC to the VM
and plumb it up.
Since there's no IP plumbed in the hypervisor, there's no way it can be
access from the network.
On 12/26/2017 4:38 PM, Alex Bartonek wrote:
Need some guidance on this one.
Config:
1U with 2 NICs.
NIC 1 plugged to local switch - gets local IP
NIC 2 plugged direct to cable modem - need to set IP inside VM to
public static IP
VM will be CentOS, already know how to configure NIC once I can get
the 2nd NIC assigned to it.
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.
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".
I was assuming I was done, so I go to my VM add NIC 2, click run and I
see:
Cannot run VM. There is no host that satisfies current scheduling
constraints. See below for details:
* 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.
Need guidance on what to read to get this working.
Thanks!
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--------------4D60419178C8CAE47E5CC8E1
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">You're over thinking this. Just
create
an ifcfg script just enough so the interface plumbs, with no IP,
then add it do your datacenter, with something like dmz or
internet as it's name. Then add the NIC to the VM and plumb it
up.<br>
<br>
Since there's no IP plumbed in the hypervisor, there's no way it
can be access from the network.<br>
<br>
<br>
On 12/26/2017 4:38 PM, Alex Bartonek wrote:<br>
</div>
<blockquote type="cite"
cite="mid:6idS4dpMGnbAk85Vc9a61QzupuBJF0JrPMN756Z1zIfwIwHC5vHyStY3Xi4N4x1AfbHAkEqPaHnNhX01TkIfg2d2uxgH5vCwpkRC7YXaR1o=@unix1337.com">
<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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated"
href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext"
href="http://lists.ovirt.org/mailman/listinfo/users">http://...
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>
--------------4D60419178C8CAE47E5CC8E1--