On Wed, Mar 20, 2019 at 12:35 PM pei Jikui <[email protected]> wrote:

> 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.
>

I think you can use network scripts and restart your network to configure
back the br0's ip address whenever you reload openvswitch.ko


Thanks
Numan


> 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
>
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to