OpenVZ Forum


Home » General » Support » *SOLVED* problems creating veth device: "Bad parameter for --veth_add: ..."
Re: problems creating veth device [message #9787 is a reply to message #9777] Mon, 22 January 2007 10:27 Go to previous messageGo to previous message
Andrey Mirkin is currently offline  Andrey Mirkin
Messages: 193
Registered: May 2006
Senior Member
Bubba Ho-Tep wrote on Sun, 21 January 2007 22:32


$ vzctl set 101 --veth_add veth101.0, a_made_up_MAC_address, eth0, a_made_up_MAC_address+1 --save


As I can see you have spaces in this line after commas, please try following command:
$ vzctl set 101 --veth_add veth101.0,a_made_up_MAC_address,eth0,a_made_up_MAC_address+1 --save


Quote:


Also am I right in thinking I need to use a veth device (as opposed to a venet) to run a DHCP server in a VE?


Yes, you need to add veth device to VE to be able to run DHCP server in it.


Andrey Mirkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OpenVz support for Network Checkpointing
Next Topic: Trouble starting/accessing Gentoo VPS
Goto Forum:
  


Current Time: Sun Aug 04 07:14:48 GMT 2024

Total time taken to generate the page: 0.02550 seconds