What's more, the steps I followed is from the openvswitch FAQ document in 
http://docs.openvswitch.org/en/latest/faq/issues/

But even follow these steps, every time I need to reconfigure the bridge 
interface such as br0's ip address etc ...
Common Configuration Issues - Open vSwitch 
Documentation<http://docs.openvswitch.org/en/latest/faq/issues/>
A: More than likely, you’ve looped your network. Probably, eth0 and eth1 are 
connected to the same physical Ethernet switch. This yields a scenario where 
OVS receives a broadcast packet on eth0 and sends it out on eth1, then the 
physical switch connected to eth1 sends the packet back on eth0, and so on 
forever.
docs.openvswitch.org






Q: I can’t unload the openvswitch kernel module. Why?

A: The userspace might still hold the reference count. So rmmod openvswitch 
does not work, for example:

$ lsmod | grep openvswitch
openvswitch       155648 4
nf_conncount      24576  1 openvswitch


Use the command below to drop the refcnt:

$ ovs-dpctl del-dp system@ovs-system
$ rmmod openvswitch



发送自 Outlook<http://aka.ms/weboutlook>

________________________________
发件人: [email protected] <[email protected]> 
代表 pei Jikui <[email protected]>
发送时间: 2019年3月20日 15:02
收件人: [email protected]
主题: [ovs-discuss] replace the openvswitch.ko without losing the bridge 
interface's configuration


When I replace the openvswitch.ko with a new modified one, the configuration on 
the bridge such as br0 is lost.  I need to reconfigure its ip address and bring 
it up again manually.

Is there any alternative that we could replace the openvswitch.ko without 
losing the bridge interfaces’ configuration?

The steps I used to replace the openvswitch on the centos.

1)    Compile the openvswitch

make -j `nproc`

make install

2)    Replace the openvswitch.ko

ovs-dpctl del-dp system@ovs-system

rmmod openvswitch

insmod ./datapath/linux/openvswitch.ko

ovs-ctl restart



Thanks.


Jikui
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to