Setting up a veth bridge setup on OpenVZ on Centos 5.2
Decembrie 5th, 2008
Fără comentarii
Openvz offers two options to connect your containers to the network: venet and veth. Read about the differences here
I’m doing this install on a centos 5.2 and ovzkernel 2.6.18.
You need bridge-utils package:
yum install bridge-utils
Adding a veth to a virtual machine is easy enough:
vzctl set 110 --netif_add eth0 --save
The problem is that nothing works actually out of the box, since the kernel doesn’t know what to do with the packages that get out of the virtual ethernet devices thus created (veth110.0 in our case). Citeşte mai departe…