But, because in my init.d order of services I first start the network service, then the openvswitch service which starts the openvswitch daemons, I think this is the reason why my /etc/sysconfig/network/ifcfg-virbr0 is not working because the openvswitch service is not yet started (when the network starts) and then the virbr0 interface doesn't exist.
Thanks. -----Original Message----- From: Jesse Gross [mailto:[email protected]] Sent: martes, 17 de diciembre de 2013 18:10 To: Cristina Palomo Regidor Cc: [email protected] Subject: Re: [ovs-discuss] how to give an ip to a bridge It's the same as any other network interface, so you should look at the interfaces that are already there or consult the documentation. On Tue, Dec 17, 2013 at 1:57 AM, Cristina Palomo Regidor <[email protected]> wrote: > Thanks, > Do you know how is the script that I should create for SLES in > /etc/sysconfig/network for an openvswitch bridge? > > BR/ > > -----Original Message----- > From: Jesse Gross [mailto:[email protected]] > Sent: lunes, 16 de diciembre de 2013 19:51 > To: Cristina Palomo Regidor > Cc: [email protected] > Subject: Re: [ovs-discuss] how to give an ip to a bridge > > On Mon, Dec 16, 2013 at 7:32 AM, Cristina Palomo Regidor > <[email protected]> wrote: >> Hello, >> >> I have created a bridge with ovs-vsctl add-br virbr0 >> >> Then I have given an ip address to the bridge with: ifconfig virbr0 >> 192.168.0.250 up >> >> But when I do reboot the ip is gone. >> >> Do you know how could I make that the ip is permanent? Is there any >> command in ovs-vsctl? > > The IP address is assigned by Linux tools so you should use the normal > network configuration scripts from your distribution. _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
