Le 14/09/2010 01:37, Nathan Stratton 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

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, "N


<>
Nathan Stratton                                CTO, BlinkMind, Inc.
nathan at robotics.net                         nathan at blinkmind.com
http://www.robotics.net                        http://www.blinkmind.com
_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users


--
--


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

_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to