<p>Hello,</p>
<p>I don&#39;t want to add a vnetdev but i want to give a guest a real and full access to the ethernet card itself. The wiki says it&#39;s possible with vzctl set VEID --netdev_add ethX but it retunrs an &quot;invalid argument&quot; error.</p>

<p>By the way, thank you.</p>
<p>Le 14 sept. 2010 01:38, &quot;Nathan Stratton&quot; &lt;<a href="mailto:nathan@robotics.net">nathan@robotics.net</a>&gt; a écrit :<br type="attribution">&gt; On Mon, 13 Sep 2010, Alfred Sawaya wrote:<br>&gt; <br>&gt;&gt; Hello,<br>
&gt;&gt;<br>&gt;&gt; I&#39;m trying to add my second network interface (eth1) to a guest. I do &quot;vzctl <br>&gt;&gt; set 103 --netdev_add eth1 --save&quot; but it returns &quot;Unable to add netdev eth1: <br>&gt;&gt; Invalid argument&quot;  without more information...<br>
&gt;&gt; What can I do to debug this ? Where could I start ? nothing in dmesg...<br>&gt; <br>&gt; I have two interfaces rivate and public, so I do:<br>&gt; <br>&gt; vzctl set 4254 --netif_add eth0,,,,private --save<br>&gt; vzctl set 4254 --netif_add eth1,,,,public --save<br>
&gt; <br>&gt; If you want the values autogenerated you need to have the ,,,, there.<br>&gt; <br>&gt; <a href="http://wiki.openvz.org/Virtual_Ethernet_device">http://wiki.openvz.org/Virtual_Ethernet_device</a><br>&gt; <br>
&gt;&gt;&lt;&gt;<br>&gt; Nathan Stratton                                CTO, BlinkMind, Inc.<br>&gt; nathan at <a href="http://robotics.net">robotics.net</a>                         nathan at <a href="http://blinkmind.com">blinkmind.com</a><br>
&gt; <a href="http://www.robotics.net">http://www.robotics.net</a>                        <a href="http://www.blinkmind.com">http://www.blinkmind.com</a><br></p>