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
_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to