[Users] VZ veth interface name limitations

Björn Lindgren bjorn.lindgren at clearit.se
Tue Apr 26 06:59:32 PDT 2016


OpenVZ it self allows creation of container id with 10 chars. But it doesn't allow the ctid to be used in the interface name.

Is this a known limitation? I seams inconsistent to me to allow CTID of 10 chars but not to be fully supported in the veth support of VZ.

Could this be fixed?

vzctl set 1604261536 --save --netif_add eth0,00:16:04:26:15:36,veth1604261536.0,66:c6:54:1d:cb:af
Bad parameter for --netif_add: eth0,00:16:04:26:15:36,veth1604261536.0,66:c6:54:1d:cb:af

vzctl set 1604261536 --save --netif_add eth0,00:16:04:26:15:36,veth604261536.0,66:c6:54:1d:cb:af
CT configuration saved to /etc/vz/conf/1604261536.conf


# cat /etc/redhat-release
CentOS release 6.7 (Final)

# rpm -qa | grep ^vz
vzstats-0.5.3-1.noarch
vzctl-core-4.9.4-1.x86_64
vzctl-4.9.4-1.x86_64
vzkernel-2.6.32-042stab113.21.x86_64
e2fsprogs-resize2fs-static-1.42.11-1.ovz.x86_64
vzquota-3.1-1.x86_64

Regards,
Björn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20160426/df5662ce/attachment.html>


More information about the Users mailing list