Hi,
I'm following the instructions in the openvz wiki http://wiki.openvz.org/Virtual_Ethernet_device to get a nic with a mac addres in order to use a dhcp server in the network.
I have tried these two options at the CT0:
# vzctl set 102 --netif_add eth0,00:12:34:56:78:9B,veth102,00:12:34:56:78:9A --save
Warning: --veth_add option is outdated use --netif_add instead
Configure veth devices: veth101.0
According to /etc/vz/conf/102.conf VE102 has no veth interface configured.
/usr/sbin/vznetcfg exited with error
Saved parameters for CT 102
and this:
# vzctl set 102 --netif_add eth0,00:12:34:56:78:9B,veth102,00:12:34:56:78:9A --save
Configure veth devices: veth102
According to /etc/vz/conf/102.conf VE102 has no veth interface configured.
/usr/sbin/vznetcfg exited with error
Saved parameters for CT 102
It doesn't work. Any ideas? TIA!
I'm following the instructions in the openvz wiki http://wiki.openvz.org/Virtual_Ethernet_device to get a nic with a mac addres in order to use a dhcp server in the network.
I have tried these two options at the CT0:
# vzctl set 102 --netif_add eth0,00:12:34:56:78:9B,veth102,00:12:34:56:78:9A --save
Warning: --veth_add option is outdated use --netif_add instead
Configure veth devices: veth101.0
According to /etc/vz/conf/102.conf VE102 has no veth interface configured.
/usr/sbin/vznetcfg exited with error
Saved parameters for CT 102
and this:
# vzctl set 102 --netif_add eth0,00:12:34:56:78:9B,veth102,00:12:34:56:78:9A --save
Configure veth devices: veth102
According to /etc/vz/conf/102.conf VE102 has no veth interface configured.
/usr/sbin/vznetcfg exited with error
Saved parameters for CT 102
It doesn't work. Any ideas? TIA!