[Users] vzctl netdev_add return "invalid argument"

Alfred Sawaya alfred at huji.fr
Tue Sep 14 11:23:52 EDT 2010


Hello,

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.

By the way, thank you.

Le 14 sept. 2010 01:38, "Nathan Stratton" <nathan at robotics.net> a écrit :
> On Mon, 13 Sep 2010, Alfred Sawaya wrote:
>
>> Hello,
>>
>> I'm trying to add my second network interface (eth1) to a guest. I do
"vzctl
>> set 103 --netdev_add eth1 --save" but it returns "Unable to add netdev
eth1:
>> Invalid argument" without more information...
>> What can I do to debug this ? Where could I start ? nothing in dmesg...
>
> I have two interfaces rivate and public, so I do:
>
> vzctl set 4254 --netif_add eth0,,,,private --save
> vzctl set 4254 --netif_add eth1,,,,public --save
>
> If you want the values autogenerated you need to have the ,,,, there.
>
> http://wiki.openvz.org/Virtual_Ethernet_device
>
>><>
> Nathan Stratton CTO, BlinkMind, Inc.
> nathan at robotics.net nathan at blinkmind.com
> http://www.robotics.net http://www.blinkmind.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20100914/d0ea961d/attachment-0001.html


More information about the Users mailing list