[ovs-discuss] how to give an ip to a bridge
Cristina Palomo Regidor
cristina.palomo.regidor at ericsson.com
Wed Mar 5 09:56:23 UTC 2014
Thanks for your answer. I have installed openvswitch in SLES from the 1.9.3 source code LTS in openvswitch.org. Compiling the source code.
From: Gurucharan Shetty [mailto:shettyg at nicira.com]
Sent: viernes, 20 de diciembre de 2013 17:28
To: Cristina Palomo Regidor
Cc: Jesse Gross; discuss at openvswitch.org
Subject: Re: [ovs-discuss] how to give an ip to a bridge
On Thu, Dec 19, 2013 at 3:39 AM, Cristina Palomo Regidor <cristina.palomo.regidor at ericsson.com> wrote:
> 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.
I think you are correct. How did you install Open vSwitch for SLES?
Did you install it through an official rpm? We have network integration scripts for RHEL and Fedora. Unless someone has ported that to SLES, it is unlikely to work.
You can read about the RHEL network integration script in the file rhel/README.RHEL present in the Open vSwitch git repo. It is probably possible to port it to SLES with some effort.
> -----Original Message-----
> From: Jesse Gross [mailto:jesse at nicira.com]
> Sent: martes, 17 de diciembre de 2013 18:10
> To: Cristina Palomo Regidor
> Cc: discuss at openvswitch.org
> 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 <cristina.palomo.regidor at ericsson.com> wrote:
>> Do you know how is the script that I should create for SLES in /etc/sysconfig/network for an openvswitch bridge?
>> -----Original Message-----
>> From: Jesse Gross [mailto:jesse at nicira.com]
>> Sent: lunes, 16 de diciembre de 2013 19:51
>> To: Cristina Palomo Regidor
>> Cc: discuss at openvswitch.org
>> Subject: Re: [ovs-discuss] how to give an ip to a bridge
>> On Mon, Dec 16, 2013 at 7:32 AM, Cristina Palomo Regidor <cristina.palomo.regidor at ericsson.com> wrote:
>>> 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
> discuss at openvswitch.org
More information about the discuss