[Users] vzctl netdev_add return "invalid argument"

Alfred Sawaya wildhuji.lists at gmail.com
Tue Sep 14 18:07:05 EDT 2010


Le 14/09/2010 21:14, Kelvin Raywood a écrit :
> On Tue, 14 Sep 2010, Alfred Sawaya wrote:
>> ...
>>
>> 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.
>
> It works for me.  You have to ensure that ethX is up on the 
> hardware-node before assigning it to the guest.  ethX doesn't need to 
> have an IP address assigned but it does need to be active.
>
But you need to explicitly accept arp and forwarding. And you have a 
virtualised stack so I don't know if you can use the ethernet card 
offloads capabilities ?

Thank you for your help !
> Hope this helps,
> Kel
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users


-- 
--


  --
|
     .''`.
    : :'  :   .:: Alfred Sawaya ::.
    `. `'`
      `-
                                     |
                                   --



More information about the Users mailing list