On Tue, Jan 22, 2013 at 4:14 PM, Benjamin Henrion <[email protected]> wrote: > On Tue, Jan 22, 2013 at 4:06 PM, Benjamin Henrion <[email protected]> wrote: >> Hi, >> >> Is there an automatic method to add veth101.1 to the vzbr0 bridge >> when I restart a CT? >> >> Some people are using the .mount script, but it looks like very hackish: >> >> http://forum.openvz.org/index.php?t=msg&goto=39029& >> >> Any better way to do it? > > More preciselly, I am looking to do the same as the Debian config on Redhat: > > http://wiki.openvz.org/Virtual_Ethernet_device#Independent_Virtual_Ethernet_communication_through_the_bridge > > "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" > > Any equivalent under RH63?
Sorry, the solution was just adding that file: cat /etc/vz/vznet.conf #!/bin/bash EXTERNAL_SCRIPT="/usr/sbin/vznetaddbr" -- Benjamin Henrion <bhenrion at ffii.org> FFII Brussels - +32-484-566109 - +32-2-3500762 "In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators." _______________________________________________ Users mailing list [email protected] https://lists.openvz.org/mailman/listinfo/users
