Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Virtual Ethernet device

209 bytes added, 04:51, 19 February 2012
m
Automating the bridge
gateway 192.168.1.254
</pre>
Follow the steps below for making a veth bridge persistent with the included script. That will automatically add each container to the bridge when it is started. Finally, specify vzbr0 as the bridge when adding the network interface to a container, as describe above. No configuration is needed on [[CT0]] for forwarding packets, proxy arp or additional routes. The interface in each [[CT]] can be configured as desired. Everything "just works" according to normal network interface configuration and default routing rules. Note that as discussed in the troubleshooting section below, bridged packets pass through the FORWARD iptables chain. Take care when adding rules to that table that bridged packets are not mistakenly blocked.
=== Making a veth-device persistent ===
43
edits