Hong, If you want to disable Open vSwitch (enabling Linux Bridge again), just comment the following line:
pre-up /etc/network/enable-ovs-brcompat.sh Best, Thiago On 1 February 2013 02:06, Hong Wayne <wayne21...@gmail.com> wrote: > Hello Thiago: > > > Thanks for your advising~ > > It's almost the same step like me, but I confused about the line '# To > disable Open vSwitch and return to Linux Bridge module' > > For our steps, I think we are going to disable the Linux Bridge module and > not brcompat module. > > Or I got wrong about that? > > > Best Regards, > Wayne. > > > > 2013/2/1 Martinx - ジェームズ <thiagocmarti...@gmail.com> > >> I have the same problem here and I solve it with this: >> >> /etc/network/interfaces: >> # The primary network interface >> auto br100 >> iface br100 inet static >> # To disable Open vSwitch and return to Linux Bridge module, >> just comment next line: >> pre-up /etc/network/enable-ovs-brcompat.sh >> address 10.32.14.232 >> netmask 255.255.255.0 >> network 10.32.14.0 >> broadcast 10.32.14.255 >> gateway 10.32.14.1 >> # dns-* options are implemented by the resolvconf package, if >> installed >> dns-nameservers 10.32.14.1 >> dns-search domain.com >> bridge_ports eth0 >> bridge_stp off >> bridge_maxwait 0 >> bridge_fd 0 >> >> /etc/network/enable-ovs-brcompat.sh: >> ---- >> #! /bin/sh >> >> rmmod bridge >> /etc/init.d/openvswitch-switch restart >> ---- >> chmod +x /etc/network/enable-ovs-brcompat.sh >> >> >> It is ugly but, works. >> >> Best, >> Thiago >> >> On 30 January 2013 04:17, Hong Wayne <wayne21...@gmail.com> wrote: >> >>> Hello Ben: >>> >>> >>> Thanks for your replying. >>> >>> I look the following information, and I find some solutions: >>> >>> brcompat_mod: exports duplicate symbol br_should_route_hook (owned by >>> bridge) >>> >>> >>> I think the problem is brcompat module not loaded due to bridge module >>> prevent it. >>> >>> And I edit /etc/modprobe.d/blacklist to Add: blacklist bridge >>> >>> But when I delete the bridge-utils package ( apt-get purge bridge-utils >>> ), it also delete libvirt and kvm relative packages... >>> >>> So I take measure to remove bridge module by using rmmod command and >>> restart the OVS, and it works. >>> >>> Thanks again for your helping. >>> >>> >>> Wayne. >>> >>> >>> >>> 2013/1/29 Ben Pfaff <b...@nicira.com> >>> >>>> On Tue, Jan 29, 2013 at 09:08:49PM +0800, Hong Wayne wrote: >>>> > #ovs-vsctl show >>>> > Jan 29 19:43:35|00001|stream_unix|ERR|/tmp/stream-unix.2729.0: >>>> connection >>>> > to /var/run/openvswitch/db.sock failed: No such file or directory >>>> >>>> ovsdb-server isn't running. I don't know why. Perhaps you should check >>>> in the system log, or in /var/log/openvswitch/ovsdb-server.log, for any >>>> unusual messaes. >>>> >>> >>> >>> _______________________________________________ >>> discuss mailing list >>> discuss@openvswitch.org >>> http://openvswitch.org/mailman/listinfo/discuss >>> >>> >> >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss