[Users] vzctl netdev_add return "invalid argument"

Nathan Stratton nathan at robotics.net
Mon Sep 13 19:37:58 EDT 2010

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.


Nathan Stratton                                CTO, BlinkMind, Inc.
nathan at robotics.net                         nathan at blinkmind.com
http://www.robotics.net                        http://www.blinkmind.com

More information about the Users mailing list