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