Changes

Jump to: navigation, search

Special:Badtitle/NS1198:Virtual Ethernet device/76/en

964 bytes added, 06:49, 24 September 2016
Importing a new version from external source
auto vzbr0
iface vzbr0 inet static
bridge_ports eth0
bridge_fd 0
address 192.168.1.100
netmask 255.255.255.0
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 by default pass through the FORWARD iptables chain. Take care when adding rules to that table that bridged packets are not mistakenly blocked. This behavior can be disabled, if desired.
1,433
edits

Navigation menu